bmakespeed 648 B

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