From: Joseph Huber Date: Thu, 2 Feb 2023 15:45:19 +0000 (-0600) Subject: [Libomptarget] Fix the NVPTX Libomptarget test X-Git-Tag: upstream/17.0.6~18807 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48560e264c4010b64f226169487921ffed989d30;p=platform%2Fupstream%2Fllvm.git [Libomptarget] Fix the NVPTX Libomptarget test Summary: This was broken, we weren't adding these for the NVPTX tests. --- diff --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg index a76f582..08cd23c 100644 --- a/openmp/libomptarget/test/lit.cfg +++ b/openmp/libomptarget/test/lit.cfg @@ -114,7 +114,7 @@ else: # Unices config.test_flags += " -Wl,-rpath," + config.llvm_lib_directory if config.cuda_libdir: config.test_flags += " -Wl,-rpath," + config.cuda_libdir - if config.libomptarget_current_target.startswith('amdgcn'): + if config.libomptarget_current_target.startswith('nvptx'): config.test_flags += " --libomptarget-nvptx-bc-path=" + config.library_dir if config.libomptarget_current_target.endswith('-LTO'): config.test_flags += " -foffload-lto"