aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorShilei Tian <tianshilei1992@gmail.com>2021-01-06 17:05:54 -0500
committerShilei Tian <tianshilei1992@gmail.com>2021-01-06 17:06:16 -0500
commite2a623094f6bc1b01f9661043b3df908ca1bd037 (patch)
tree4013a790e0d542d272b6f150447d883418b4f6a1 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent2a29ce303451375bbf1de7c971296553ef5d9beb (diff)
downloadllvm-e2a623094f6bc1b01f9661043b3df908ca1bd037.zip
llvm-e2a623094f6bc1b01f9661043b3df908ca1bd037.tar.gz
llvm-e2a623094f6bc1b01f9661043b3df908ca1bd037.tar.bz2
[OpenMP] Fixed the test environment when building along with LLVM
Currently all built libraries in OpenMP are anywhere if building along with LLVM. It is not an issue if we don't execute any test. However, almost all tests for `libomptarget` fails because in the lit configuration, we only set `<build_dir>/libomptarget` to `LD_LIBRARY_PATH` and `LIBRARY_PATH`. Since those libraries are everywhere, `clang` can no longer find `libomptarget.so` or those deviceRTLs anymore. In this patch, we set a unified path for all built libraries, no matter whether it is built along with LLVM or not. In this way, our lit configuration can work propoerly. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D93736
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions