diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-06-01 19:19:58 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-06-04 22:35:39 +1000 |
| commit | e8c92240e25f75a754f3b12f6a25edd6b8771bb7 (patch) | |
| tree | 8e87a3d89edcec4a3c440aa9189c8e180c58a920 /tools | |
| parent | e4c0e2b73d0e8842160c86a39706d872ec226b6c (diff) | |
tools/ci.sh: Remove natmod build restrictions for Xtensa.
This commit lets the CI pipeline build all natmods for the Xtensa
target, now that ROM symbols can be used in the linking process.
The restriction was put in place due to build failures on certain
natmods for Xtensa, as ROM symbols would not be used, causing undefined
symbol errors at build time.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/ci.sh | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/tools/ci.sh b/tools/ci.sh index d12b4bcd3..7de21e43b 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -524,23 +524,12 @@ function ci_native_mpy_modules_build { else arch=$1 fi - for natmod in features1 features3 features4 heapq re + for natmod in deflate features1 features3 features4 framebuf heapq random re do make -C examples/natmod/$natmod clean make -C examples/natmod/$natmod ARCH=$arch done - # deflate, framebuf, and random currently cannot build on xtensa due to - # some symbols that have been removed from the compiler's runtime, in - # favour of being provided from ROM. - if [ $arch != "xtensa" ]; then - for natmod in deflate framebuf random - do - make -C examples/natmod/$natmod clean - make -C examples/natmod/$natmod ARCH=$arch - done - fi - # features2 requires soft-float on armv7m, rv32imc, and xtensa. On armv6m # the compiler generates absolute relocations in the object file # referencing soft-float functions, which is not supported at the moment. @@ -551,10 +540,8 @@ function ci_native_mpy_modules_build { make -C examples/natmod/features2 ARCH=$arch fi - # btree requires thread local storage support on rv32imc, whilst on xtensa - # it relies on symbols that are provided from ROM but not exposed to - # natmods at the moment. - if [ $arch != "rv32imc" ] && [ $arch != "xtensa" ]; then + # btree requires thread local storage support on rv32imc. + if [ $arch != "rv32imc" ]; then make -C examples/natmod/btree clean make -C examples/natmod/btree ARCH=$arch fi |
