bmakestl 708 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/bin/bash
  2. mkdir tmp
  3. cd ..
  4. dir=`pwd`
  5. export CCACHE_DIR="${dir}/build/ccache/bmake"
  6. export CC="ccache gcc"
  7. export CXX="ccache g++"
  8. export LANG=C
  9. export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \
  10. -D_FORTIFY_SOURCE=2 \
  11. -std=gnu++2a \
  12. -fno-var-tracking -Wno-attributes"
  13. source ./tools/ci/flags/gcc8.sh
  14. export CXXFLAGS="$CXXFLAGS -Wno-null-dereference"
  15. autoreconf -i
  16. cd build/tmp
  17. ../../configure --prefix=$dir/run \
  18. --datadir=$dir/run/share/games \
  19. --bindir=$dir/run/bin \
  20. --mandir=$dir/run/share/man \
  21. --enable-stldebug=yes \
  22. --enable-memdebug=no \
  23. --enable-tcmalloc=no \
  24. --enable-googleprofiler=no \
  25. --enable-werror
  26. cd po
  27. make -j16 update-gmo 2>../../make1.log
  28. cd ..
  29. make -j16 2>../make2.log