[Openmp-commits] [openmp] 0cdaadf - [libomptarget][flang] Explicitly pass the OpenMP device libraries to tests (#76796)

via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 3 23:45:37 PST 2024


Author: Dominik Adamski
Date: 2024-01-04T08:45:34+01:00
New Revision: 0cdaadf15aaa6609f93e3508417b47baa3891996

URL: https://github.com/llvm/llvm-project/commit/0cdaadf15aaa6609f93e3508417b47baa3891996
DIFF: https://github.com/llvm/llvm-project/commit/0cdaadf15aaa6609f93e3508417b47baa3891996.diff

LOG: [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.

Added: 
    

Modified: 
    openmp/libomptarget/test/lit.cfg

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg
index 19c5e5c4572227..9078561e3198e6 100644
--- a/openmp/libomptarget/test/lit.cfg
+++ b/openmp/libomptarget/test/lit.cfg
@@ -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 + \


        


More information about the Openmp-commits mailing list