optim.opts 610 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

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