diff options
| author | Damien George <damien@micropython.org> | 2025-05-28 14:28:02 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-06-10 13:43:03 +1000 |
| commit | 17951cee87d63bcc001fdaf1e669a74e6da4af29 (patch) | |
| tree | b1b28f53dde5c3ee1e52b6a5b81aa3934ead904f /tools | |
| parent | 718ff4fdd58efd3e853599b489640877070d17be (diff) | |
py/dynruntime.mk: Enable single-precision float by default on armv6/7m.
Soft float now works on these ARM targets thanks to the parent commit.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/ci.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/ci.sh b/tools/ci.sh index aafd6cc57..a5cd326c1 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -561,13 +561,11 @@ function ci_native_mpy_modules_build { make -C examples/natmod/$natmod ARCH=$arch done - # 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. + # features2 requires soft-float on rv32imc and xtensa. make -C examples/natmod/features2 ARCH=$arch clean - if [ $arch = "rv32imc" ] || [ $arch = "armv7m" ] || [ $arch = "xtensa" ]; then + if [ $arch = "rv32imc" ] || [ $arch = "xtensa" ]; then make -C examples/natmod/features2 ARCH=$arch MICROPY_FLOAT_IMPL=float - elif [ $arch != "armv6m" ]; then + else make -C examples/natmod/features2 ARCH=$arch fi |
