[PATCH] D143306: [Driver] Default to -fno-openmp-implicit-rpath

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 22 15:43:36 PST 2023


JonChesterfield added a comment.

If fedora has a specific set of paths it rejects in DT_RUNPATH

- and libomptarget is on one of those by default
- and user executables find it there
- and we can detect we're building on fedora

then we can disable the rpath for fedora installs to system root, while keeping openmp binaries working when the toolchain is installed elsewhere.

Are those constraints satisfiable?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143306/new/

https://reviews.llvm.org/D143306



More information about the cfe-commits mailing list