mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
[libomptarget][flang] Explicitly pass the OpenMP device libraries to tests (#76796)
This pull request is a follow-up of patch: https://github.com/llvm/llvm-project/pull/68225 and it explicitly specifies OpenMP device libraries for Fortran OpenMP tests.
This commit is contained in:
@@ -247,7 +247,7 @@ for libomptarget_target in config.libomptarget_all_targets:
|
||||
"%clang-" + libomptarget_target + add_libraries(" %s -o %t")))
|
||||
config.substitutions.append(("%libomptarget-compile-fortran-" + \
|
||||
libomptarget_target, \
|
||||
"%flang-" + libomptarget_target + " %s -o %t"))
|
||||
"%flang-" + libomptarget_target + add_libraries(" %s -o %t")))
|
||||
config.substitutions.append(("%libomptarget-compileoptxx-run-and-check-" + \
|
||||
libomptarget_target, \
|
||||
"%libomptarget-compileoptxx-and-run-" + libomptarget_target + \
|
||||
|
||||
Reference in New Issue
Block a user