Commit 73da3238 authored by Andreas Lauser's avatar Andreas Lauser

option files: improve way to find the directory where dumux is contained

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5019 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent fb2585b7
# path to the dumux includes
DUMUXDIR=$(find $OLDPWD -name "dune.module" | grep -h dumux | sed "s/dune.module//")
DUMUXDIR=$(find $OLDPWD -name "dune.module" | xargs grep -El '[[:space:]]*Module:[[:space:]]*dumux[[:space:]]*$' | sed "s/dune.module//")
# configure flags
CONFIGURE_FLAGS="CXXFLAGS=\"-I$DUMUXDIR -Wall -Wno-sign-compare -fno-strict-aliasing -g\" \
......
# path to the dumux includes
DUMUXDIR=$(find $OLDPWD -name "dune.module" | grep -h dumux | sed "s/dune.module//")
DUMUXDIR=$(find $OLDPWD -name "dune.module" | xargs grep -El '[[:space:]]*Module:[[:space:]]*dumux[[:space:]]*$' | sed "s/dune.module//")
# configure flags
CONFIGURE_FLAGS="CXXFLAGS=\"-I$DUMUXDIR -Wall -Wno-sign-compare -fno-strict-aliasing -O3 -march=native -DNDEBUG\" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment