From 5096a38f3cb543f45ae751bf93577c30f55fc615 Mon Sep 17 00:00:00 2001 From: Dominik Adamski Date: Wed, 3 Jan 2024 02:49:46 -0600 Subject: [PATCH] [libomptarget][flang] Explicitly pass the OpenMP device libraries to tests 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. --- openmp/libomptarget/test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg index 19c5e5c457222..9078561e3198e 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 + \