소스 검색

Merge pull request #920 from scop/micropython

Add micropython-dev
pull/818/merge
Yamashita, Yuu 9 년 전
committed by GitHub
부모
커밋
acbd736eb3
2개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. +14
    -0
      plugins/python-build/bin/python-build
  2. +2
    -0
      plugins/python-build/share/python-build/micropython-dev

+ 14
- 0
plugins/python-build/bin/python-build 파일 보기

@ -938,6 +938,20 @@ build_package_ironpython_builder() {
( cd "Stage/Release/IronPython-"* && build_package_ironpython )
}
build_package_micropython() {
if [ "${MAKEOPTS+defined}" ]; then
MAKE_OPTS="$MAKEOPTS"
elif [ -z "${MAKE_OPTS+defined}" ]; then
MAKE_OPTS="-j $(num_cpu_cores)"
fi
{ cd unix
"$MAKE" $MAKE_OPTS axtls
"$MAKE" $MAKE_OPTS
"$MAKE" install $MAKE_INSTALL_OPTS PREFIX="${PREFIX_PATH}"
( cd "${PREFIX_PATH}/bin" && ln -fs micropython python )
}>&4 2>&1
}
pypy_architecture() {
case "$(uname -s)" in
"Darwin" ) echo "osx64" ;;

+ 2
- 0
plugins/python-build/share/python-build/micropython-dev 파일 보기

@ -0,0 +1,2 @@
#require_gcc
install_git micropython-dev https://github.com/micropython/micropython master micropython

불러오는 중...
취소
저장