[PATCH] D101960: [openmp] Drop requirement on library path environment variables

Joachim Protze via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 23 12:53:34 PDT 2021


protze.joachim added a comment.

In D101960#2960641 <https://reviews.llvm.org/D101960#2960641>, @JonChesterfield wrote:

> Pasting `env LD_LIBRARY_PATH=` and `env LIBRARY_PATH` into the printed commandline, as opposed to through magic, would solve most of my day to day frustration here. libomp.so and libomptarget.so are in two different directories, LD_LIBRARY_PATH turns out to be colon delimited. LIBRARY_PATH is presently used to find the deviceRTL though I'd like to change that.

The lit config has platform-specific rules to build the environmental variables (including the use of the proper separators). I suggest to used these values to create the printed env expressions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101960



More information about the cfe-commits mailing list