[Openmp-commits] [openmp] dcbb196 - [OpenMP][FIX] Use unique library name to avoid clashes with other tests
Johannes Doerfert via Openmp-commits
openmp-commits at lists.llvm.org
Wed Dec 6 14:51:45 PST 2023
Author: Johannes Doerfert
Date: 2023-12-06T14:50:28-08:00
New Revision: dcbb1968a8215e79bfc2bdc48a88d2596b7f5995
URL: https://github.com/llvm/llvm-project/commit/dcbb1968a8215e79bfc2bdc48a88d2596b7f5995
DIFF: https://github.com/llvm/llvm-project/commit/dcbb1968a8215e79bfc2bdc48a88d2596b7f5995.diff
LOG: [OpenMP][FIX] Use unique library name to avoid clashes with other tests
We probably should use a temporary name, but having stable names helps
debugging.
Added:
Modified:
openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c
Removed:
################################################################################
diff --git a/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c b/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c
index a98a84ccceaab..ffb4bc90d4e4f 100644
--- a/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c
+++ b/openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c
@@ -1,6 +1,6 @@
// clang-format off
-// RUN: %clang-generic -fPIC -shared %S/../Inputs/declare_indirect_func.c -o %T/liba.so -fopenmp-version=51
-// RUN: %libomptarget-compile-generic -rpath %T -L %T -l a -o %t -fopenmp-version=51
+// RUN: %clang-generic -fPIC -shared %S/../Inputs/declare_indirect_func.c -o %T/libslfm.so -fopenmp-version=51
+// RUN: %libomptarget-compile-generic -rpath %T -L %T -l slfm -o %t -fopenmp-version=51
// RUN: env LIBOMPTARGET_INFO=32 %t 2>&1 | %fcheck-generic
// clang-format on
More information about the Openmp-commits
mailing list