Skip to content

Commit 48560e2

Browse files
committed
[Libomptarget] Fix the NVPTX Libomptarget test
Summary: This was broken, we weren't adding these for the NVPTX tests.
1 parent 9030e7d commit 48560e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ else: # Unices
114114
config.test_flags += " -Wl,-rpath," + config.llvm_lib_directory
115115
if config.cuda_libdir:
116116
config.test_flags += " -Wl,-rpath," + config.cuda_libdir
117-
if config.libomptarget_current_target.startswith('amdgcn'):
117+
if config.libomptarget_current_target.startswith('nvptx'):
118118
config.test_flags += " --libomptarget-nvptx-bc-path=" + config.library_dir
119119
if config.libomptarget_current_target.endswith('-LTO'):
120120
config.test_flags += " -foffload-lto"

0 commit comments

Comments
 (0)