Some RPATH fixes for lib64-based systems
- Proper RPATH both for the build tree as well as the install tree
- A fix for
lib64
-based systems (e.g. OpenSUSE) where some third-party libs (e.g. PETSc, HDF5) still install intolib
(addedlib
to the RPATH as well) -
OGS_INSTALL_DEPENDENCIES
now defaults toON
. This options checks executables for their dependencies and copies them to the install tree (if theinstall
-target is build). - When TFEL is build locally (e.g. when not found or
OGS_BUILD_TFEL=ON
) a patched version which allows for static libraries is used. This makes it easier to relocate an OGS build. I will try to get this into tfel main repo... Also there is no test of this configuration in CI, I verified manually.
TODO:
-
Remove option OGS_INSTALL_EXTERNAL_DEPENDENCIES
asOGS_INSTALL_DEPENDENCIES
should be enough to properly install dependencies.
Closes https://gitlab.opengeosys.org/ufz-bgr/hpc/docs/-/issues/28.