[Dune] changing to cmake
Arya Fallahi
arya.fallahi at gmail.com
Wed Jan 7 18:10:20 CET 2015
Dear Dune,
I am having some hard time with changing to cmake. I thought maybe you can
help me like always.
I need to force the compiler to use g++ from a certain installation. More
accurately, not g++ but g++-4.7. How can I do that in opts file when using
cmake. I thought of writing the following file, but it did not work:
CONFIGURE_FLAGS="--enable-parallel"
CMAKE_PREFIX_PATH="\
$HOME/extlib/alugrid-1.5;\
$HOME/extlib/metis-5.0;\
"
GXX_OPTS="-O3 -g0"
CMAKE_CXX_COMPILER=g++-4.7
CMAKE_FLAGS=" \
CXXFLAGS=\"$GXX_OPTS\" \
MPICC=$HOME/extlib/openmpi-1.6/bin/mpicc \
"
The problem is that the compiler always uses the root g++ installation.
Thanks in advance for your help,
Arya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150107/a4a46514/attachment.htm>
More information about the Dune
mailing list