Tests for RPATH sanity
Context
There was some recent confusing RPATH usage involving libtool where RPATH was unnecessarily added. In some cases that's fine, in others it can create issues. We should have automated test for builds to make sure RPATH situation doesn't go worse again (even if we can't fix all the issues)
Description
-
Tool to collect RPATH used in all libraries -
Tool to verify no RPATH. The tool must support whitelisting (which RPATH is allowed for which library) and initial whitelist should include all libraries that currently have RPATH. The tool must output both failures and items skipped because of whitelist
Acceptance Criteria
Monitoring and reporting of RPATH issues in normal CI