We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9329d2 commit 34961c3Copy full SHA for 34961c3
norm_common
@@ -20,7 +20,7 @@ hash $SHASUM_BIN 2>/dev/null || SHASUM_BIN=sha1sum
20
## since we use -march=native, i7 binaries won't run on core2 -- add arch to machine id
21
GCCARCH=`(gcc -march=native -Q --help=target || true) 2>&1 | grep -- '^ *-march=' | awk '{ print $2 }' || true`
22
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}'`
+ GCCARCH=`clang -v -xc /dev/null -O3 -march=native -o- -E 2>&1 | grep -o 'target-cpu \w*'|awk '{print $2}' || true`
24
fi
25
26
## get machine id for later
0 commit comments