[Openmp-commits] [PATCH] D95293: [OpenMP] Fixed test environment of `check-libomptarget-nvptx`
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sun Jan 24 10:18:46 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcfd978d5d3c8: [OpenMP] Fixed test environment of `check-libomptarget-nvptx` (authored by tianshilei1992).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95293/new/
https://reviews.llvm.org/D95293
Files:
openmp/libomptarget/deviceRTLs/nvptx/test/lit.cfg
Index: openmp/libomptarget/deviceRTLs/nvptx/test/lit.cfg
===================================================================
--- openmp/libomptarget/deviceRTLs/nvptx/test/lit.cfg
+++ openmp/libomptarget/deviceRTLs/nvptx/test/lit.cfg
@@ -32,8 +32,7 @@
# compiler flags
config.test_flags = " -I " + config.omp_header_directory + \
- " -L " + config.library_dir + \
- " --libomptarget-nvptx-path=" + config.library_dir;
+ " -L " + config.library_dir
if config.omp_host_rtl_directory:
config.test_flags = config.test_flags + \
@@ -42,6 +41,7 @@
config.test_flags = config.test_flags + " " + config.test_extra_flags
# Setup environment to find dynamic library at runtime.
+prepend_library_path('LIBRARY_PATH', config.library_dir, ":")
prepend_library_path('LD_LIBRARY_PATH', config.library_dir, ":")
prepend_library_path('LD_LIBRARY_PATH', config.omp_host_rtl_directory, ":")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95293.318848.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210124/caf27f1a/attachment.bin>
More information about the Openmp-commits
mailing list