Skip to content

Commit

Permalink
fix fetching submodules (cp build process change) (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Jun 20, 2023
1 parent 73dbbf7 commit 38a4976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-cp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ readlinkf_posix() {
}
NPROC=$(python3 -c 'import multiprocessing; print(multiprocessing.cpu_count())')
HERE="$(dirname -- "$(readlinkf_posix -- "${0}")" )"
[ -e circuitpython/py/py.mk ] || (git clone --branch main https://github.com/adafruit/circuitpython && cd circuitpython && make fetch-submodules && git submodule update --init lib/uzlib tools)
[ -e circuitpython/py/py.mk ] || (git clone --branch main https://github.com/adafruit/circuitpython && cd circuitpython && make fetch-all-submodules && git submodule update --init lib/uzlib tools)
rm -rf circuitpython/extmod/ulab; ln -s "$HERE" circuitpython/extmod/ulab
dims=${1-2}
make -C circuitpython/mpy-cross -j$NPROC
Expand Down

0 comments on commit 38a4976

Please sign in to comment.