[Dune] including boost in cake based build system ?

Markus Blatt markus at dr-blatt.de
Thu Apr 17 12:10:58 CEST 2014


Hi,
On Thu, Apr 17, 2014 at 11:51:16AM +0200, Benedikt Oswald wrote:
> Dear Dune
> 
> it may be a trivial question, but how & where would I specify the path to Boost
> when using the cmake based file system in Dune ?
> 
> I fact, I use an opts file like:
> 
> ========================
> 
> CMAKE_FLAGS="--enable-experimental-grid-extensions --enable-shared --enable-static -DCMAKE_CXX_FLAGS=\"-O2\" -DCMAKE_PREFIX_PATH=\"$HOME/extlib/boost/1.55.0/gcc/4.8.1;$HOME/extlib/alugrid/1.52/openmpi/1.6.5/gcc/4.8.1;$HOME/extlib/metis/5.1.0/gcc/4.8.1;$HOME/extlib/parmetis/4.0.3/openmpi/1.6.5/gcc/4.8.1\" " 
>

If boost is a non-standard place, then you can use
-DBOOST_ROOT=/path/to/boost/install in the CMAKE_Flags to specify the
installation path. We might have missed translating --with-boost to
CMake syntax, I guess. Did you use --with-boost when using automake?

Markus

-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140417/e00da9b3/attachment.sig>


More information about the Dune mailing list