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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user