reduce amount of cloned stuff
This commit is contained in:
parent
eac578603d
commit
f383766add
2 changed files with 4 additions and 5 deletions
|
|
@ -37,7 +37,7 @@ readlinkf_posix() {
|
|||
}
|
||||
NPROC=$(python -c 'import multiprocessing; print(multiprocessing.cpu_count())')
|
||||
HERE="$(dirname -- "$(readlinkf_posix -- "${0}")" )"
|
||||
[ -e circuitpython/py/py.mk ] || (git clone --depth 100 --branch 6.0.x https://github.com/adafruit/circuitpython && cd circuitpython && git submodule update --init)
|
||||
[ -e circuitpython/py/py.mk ] || (git clone --no-recurse-submodules --depth 100 --branch 6.0.x https://github.com/adafruit/circuitpython && cd circuitpython && git submodule update --init lib/axtls lib/uzlib tools)
|
||||
rm -rf circuitpython/extmod/ulab; ln -s "$HERE" circuitpython/extmod/ulab
|
||||
make -C circuitpython/mpy-cross -j$NPROC
|
||||
make -C circuitpython/ports/unix -j$NPROC axtls
|
||||
|
|
|
|||
7
build.sh
7
build.sh
|
|
@ -37,11 +37,10 @@ readlinkf_posix() {
|
|||
NPROC=`python3 -c 'import multiprocessing; print(multiprocessing.cpu_count())'`
|
||||
set -e
|
||||
HERE="$(dirname -- "$(readlinkf_posix -- "${0}")" )"
|
||||
[ -e micropython/py/py.mk ] || git clone https://github.com/micropython/micropython
|
||||
[ -e micropython/lib/libffi/autogen.sh ] || (cd micropython && git submodule update --init lib/libffi )
|
||||
#git clone https://github.com/micropython/micropython
|
||||
[ -e micropython/py/py.mk ] || git clone --no-recurse-submodules https://github.com/micropython/micropython
|
||||
[ -e micropython/lib/axtls/README ] || (cd micropython && git submodule update --init lib/axtls )
|
||||
make -C micropython/mpy-cross -j${NPROC}
|
||||
make -C micropython/ports/unix -j${NPROC} deplibs
|
||||
make -C micropython/ports/unix -j${NPROC} axtls
|
||||
make -C micropython/ports/unix -j${NPROC} USER_C_MODULES="${HERE}" DEBUG=1 STRIP=: MICROPY_PY_FFI=0 MICROPY_PY_BTREE=0
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue