bmaketestsimd 645 B

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. cd ..
  3. dir=`pwd`
  4. export CC=gcc
  5. export CXX=g++
  6. export LANG=C
  7. export CXXFLAGS="-pedantic -ggdb3 -O5 -pipe -Wstrict-aliasing=2 \
  8. -Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
  9. -ffast-math -funswitch-loops -flto -fwhole-program \
  10. -funsafe-loop-optimizations \
  11. -march=native -fsched-pressure
  12. -std=gnu++2a -Wformat=1 \
  13. -fno-var-tracking -Wno-attributes"
  14. source ./tools/ci/flags/gcc8.sh
  15. autoreconf -i
  16. ./configure --prefix=$dir/run \
  17. --datadir=$dir/run/share/games \
  18. --bindir=$dir/run/bin \
  19. --mandir=$dir/run/share/man \
  20. --enable-unittests
  21. cd po
  22. make -j16 update-gmo 2>../build/make1.log
  23. cd ..
  24. make -j16 check 2>build/make2.log