mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Add micropython-dev
This commit is contained in:
parent
3292200786
commit
fd1fb13016
2 changed files with 16 additions and 0 deletions
|
@ -938,6 +938,20 @@ build_package_ironpython_builder() {
|
||||||
( cd "Stage/Release/IronPython-"* && build_package_ironpython )
|
( 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() {
|
pypy_architecture() {
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
"Darwin" ) echo "osx64" ;;
|
"Darwin" ) echo "osx64" ;;
|
||||||
|
|
2
plugins/python-build/share/python-build/micropython-dev
Normal file
2
plugins/python-build/share/python-build/micropython-dev
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#require_gcc
|
||||||
|
install_git micropython-dev https://github.com/micropython/micropython master micropython
|
Loading…
Reference in a new issue