Bläddra i källkod

Merge pull request #920 from scop/micropython

Add micropython-dev
pull/818/merge
Yamashita, Yuu 7 år sedan
committed by GitHub
förälder
incheckning
acbd736eb3
2 ändrade filer med 16 tillägg och 0 borttagningar
  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 Visa fil

@ -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 Visa fil

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

Laddar…
Avbryt
Spara