On 06/08/2015 06:04 PM, Roland Kaufmann wrote:
On 8th June 2015 at 20:45, wireless wrote:
Would anyone have any OPM experience or guidance with using ninja on
OPM?

My experience is that this basically works; use --enable-ninja with the
configure script, or -G Ninja directly with CMake. I use Ninja myself.

On 8th June 2015 at 20:29, Bård Skaflestad wrote:
module opm-upscaling [...] has explicit bindings to Fortran libraries
(notably LAPACK and the BLAS).

The last time I checked Ninja did not support Fortran and was not
able to define a working build.ninja file for opm-upscaling.

Even with -DUSE_UNDERSCORING=ON (or --enable-underscoring, which by the
way is implied by --enable-ninja)?

I have not tried to combine build trees for modules created from the
 > Ninja generator with trees created from the Makefile generator.

There shouldn't be any problems with this; the .cmake/.pc files
generated are the same.




Hey, Thanks for all the input and encouragement on using Ninja. I'm going to experiment with Ninja on OPM builds. Any other resource suggestions are most welcome [1,2].

I've also been using a nifty tool for tracking (adhoc) build files:
checkinstall [3].


James

[1] http://www.aosabook.org/en/posa/ninja.html

[2]  http://martine.github.com/ninja/manual.html

[3] http://asic-linux.com.mx/~izto/checkinstall/

_______________________________________________
Opm mailing list
Opm@opm-project.org
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to