Skip to content

Commit 6a4fa24

Browse files
committed
gcc
1 parent 551dca7 commit 6a4fa24

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

make2/build_jamalgam.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ if [ -z "${compiler##*gcc*}" ] || [ -z "${CC##*gcc*}" ]; then
154154
# gcc
155155
common="$OPENMP -std=gnu17 -fPIC $OPTLEVEL -falign-functions=4 -fvisibility=hidden -fno-strict-aliasing -fwrapv -fno-stack-protector -flax-vector-conversions -ffp-contract=off \
156156
-Werror -Wextra -Wno-unknown-warning-option \
157+
-fsignaling-nans -fpeel-loops \
157158
-Wno-attributes \
158159
-Wno-cast-function-type \
159160
-Wno-clobbered \

make2/build_libj.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ if [ -z "${compiler##*gcc*}" ] || [ -z "${CC##*gcc*}" ]; then
154154
# gcc
155155
common="$OPENMP -fPIC $OPTLEVEL -falign-functions=4 -fvisibility=hidden -fno-strict-aliasing -fwrapv -fno-stack-protector -flax-vector-conversions -ffp-contract=off \
156156
-Werror -Wextra -Wno-unknown-warning-option \
157-
-fsignaling-nans \
157+
-fsignaling-nans -fpeel-loops \
158158
-Wno-attributes \
159159
-Wno-cast-function-type \
160160
-Wno-clobbered \

script/buildga.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ if [ "$1" = "wasm" ]; then
191191
export _DEBUG=0
192192
cd make2
193193
./clean.sh
194-
USE_WASM=1 jplatform=wasm j64x=j32 ./build_jamalgam.sh
195-
./clean.sh
196194
USE_WASM=1 jplatform=wasm j64x=j32 ./build_libj.sh
195+
./clean.sh
196+
USE_WASM=1 jplatform=wasm j64x=j32 ./build_jamalgam.sh
197197
cd ..
198198
cp bin/$dest/j32/* j32
199199
find j32 -type d -exec chmod 755 {} \;

script/testga.ijs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
(9!:14'') 1!:2 [2
22

3+
exformat_j_=: eformat_j_ f.
4+
35
load'pacman'
46
'update'jpkg''
57
'upgrade'jpkg'dev/eformat dev/lu'
@@ -80,9 +82,11 @@ NB. this failed on windows arm64
8082
echo '(|/~ -: |/~@:x:) (imin+i. 20),(imax-i.20),((<.-:imin)+i: 20),((<.-:imax)+i: 20),i: 20'
8183
echo (|/~ -: |/~@:x:) (imin+i. 20),(imax-i.20),((<.-:imin)+i: 20),((<.-:imax)+i: 20),i: 20
8284

83-
NB. this sometimes failed on linux
85+
NB. this sometimes failed on linux O2
86+
4!:55<'eformat_j_'
8487
echo '(1x&(]F::(++:))) [58#0'
85-
echo (1x&(]F::(++:))) [58#0
88+
empty (1x&(]F::(++:))) [58#0
89+
eformat_j_=: exformat_j_ f.
8690

8791
4!:55 ;:'x y'
8892
4!:55 ;:'x y'

0 commit comments

Comments
 (0)