瀏覽代碼

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

Loading…
取消
儲存