MeshKernel icon indicating copy to clipboard operation
MeshKernel copied to clipboard

Most of the steps to get a static Linux build working.

Open evetion opened this issue 4 years ago • 0 comments

In scripts/compile_deps.sh there's a commented out section which compiles meshkernel, with a vim build/CMakeCache.txt.

In there I manually had to set: OpenMP_CXX_FLAGS:STRING=-fopenmp -> OpenMP_CXX_FLAGS:STRING=-fopenmp -static OpenMP_C_FLAGS:STRING=-fopenmp -> OpenMP_C_FLAGS:STRING=-fopenmp -static OpenMP_gomp_LIBRARY:FILEPATH=/some/path/libgomp.so -> OpenMP_gomp_LIBRARY:FILEPATH=/some/path/libgomp.a

Profiling/coverage information is still in the Linux builds, should be nicely removed on a Release build.

evetion avatar Jul 27 '21 16:07 evetion