Skip to content

Some RPATH fixes for lib64-based systems

Lars Bilke requested to merge bilke/ogs:rpath-fixes into master
  • 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 into lib (added lib to the RPATH as well)
  • OGS_INSTALL_DEPENDENCIES now defaults to ON. This options checks executables for their dependencies and copies them to the install tree (if the install-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 as OGS_INSTALL_DEPENDENCIES should be enough to properly install dependencies.

Closes https://gitlab.opengeosys.org/ufz-bgr/hpc/docs/-/issues/28.

Edited by Lars Bilke

Merge request reports