Skip to content

Commit 34961c3

Browse files
committed
norm testall -- fix silent failure
1 parent b9329d2 commit 34961c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

norm_common

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ hash $SHASUM_BIN 2>/dev/null || SHASUM_BIN=sha1sum
2020
## since we use -march=native, i7 binaries won't run on core2 -- add arch to machine id
2121
GCCARCH=`(gcc -march=native -Q --help=target || true) 2>&1 | grep -- '^ *-march=' | awk '{ print $2 }' || true`
2222
if [[ $GCCARCH == "" ]]; then
23-
GCCARCH=`clang -v -xc /dev/null -O3 -march=native -o- -E 2>&1 | grep -o 'target-cpu \w*'|awk '{print $2}'`
23+
GCCARCH=`clang -v -xc /dev/null -O3 -march=native -o- -E 2>&1 | grep -o 'target-cpu \w*'|awk '{print $2}' || true`
2424
fi
2525

2626
## get machine id for later

0 commit comments

Comments
 (0)