Skip to content
Snippets Groups Projects
Commit 73da3238 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

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
No related branches found
No related tags found
No related merge requests found
# 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\" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment