Skip to content

Commit 0cdaadf

Browse files
[libomptarget][flang] Explicitly pass the OpenMP device libraries to tests (#76796)
This pull request is a follow-up of patch: #68225 and it explicitly specifies OpenMP device libraries for Fortran OpenMP tests.
1 parent 176c341 commit 0cdaadf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/test/lit.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ for libomptarget_target in config.libomptarget_all_targets:
247247
"%clang-" + libomptarget_target + add_libraries(" %s -o %t")))
248248
config.substitutions.append(("%libomptarget-compile-fortran-" + \
249249
libomptarget_target, \
250-
"%flang-" + libomptarget_target + " %s -o %t"))
250+
"%flang-" + libomptarget_target + add_libraries(" %s -o %t")))
251251
config.substitutions.append(("%libomptarget-compileoptxx-run-and-check-" + \
252252
libomptarget_target, \
253253
"%libomptarget-compileoptxx-and-run-" + libomptarget_target + \

0 commit comments

Comments
 (0)