optim.opts 690 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
GXX_WARNING_OPTS=" \
    -Wall \
    -Wmissing-include-dirs \
    -Wcast-align \
    -Wno-sign-compare \
    -Wno-packed-bitfield-compat \
    -Wno-unused-parameter"
# additional -W flags for g++ which will lead to many warnings in
# other dune modules
#    -Wextra \
#    -Wfloat-equal \
#    -Wstrict-overflow \

GXX_OPTS=" \
    -fno-strict-aliasing \
    -fstrict-overflow \
    -O3 \
    -march=native \
    -DNDEBUG=1"
20

21 22 23
# do not write a file .dune.resume to the home directory
RESUME_FILE=/dev/null

24
# configure flags 
25 26
CONFIGURE_FLAGS=" \
  CXXFLAGS=\"$GXX_WARNING_OPTS $GXX_OPTS\" \
27
  --disable-dunedevel \
28
  --disable-documentation \
29
  --disable-parallel \
30 31
  --disable-mpiruntest"