Signal floating-point-overflow from bignum-to-float.
[sbcl.git] / crossbuild-runner / build-all.sh
blob905d2919ce319d089fe299e8e45b84f69b46db8a
1 #!/bin/sh
3 set -e
4 # This script just checks that it's possible to build and run
5 # the cross-compiler for all backends using a predetermined
6 # 'local-target-features' for each.
7 # There is no dependence on the C runtime,
8 # since we don't assume the presence of either a C cross-compiler
9 # or a host machine on which to run its native compiler.
11 for arch in alpha arm arm64 hppa mips ppc sparc x86 x86-64
13 echo TESTING $arch
14 ltf=local-target-features.lisp-expr
15 echo '(lambda (features) (union features (list :crossbuild-test ' > $ltf
16 cat crossbuild-runner/backends/$arch/local-target-features >> $ltf
17 echo ')))' >> $ltf
19 cp -fv crossbuild-runner/backends/$arch/stuff-groveled-from-headers.lisp \
20 output/stuff-groveled-from-headers.lisp
21 sh make-host-1.sh
22 sh make-host-2.sh
23 done