bmakemem 688 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/bash
  2. mkdir tmp
  3. cd ..
  4. dir=`pwd`
  5. export CCACHE_DIR="${dir}/build/ccache/bmakemem"
  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-memdebug=yes \
  22. --enable-tcmalloc=no \
  23. --enable-googleprofiler=no \
  24. --enable-werror
  25. cd po
  26. make -j16 update-gmo 2>../../make1.log
  27. cd ..
  28. make -j16 2>../make2.log