[clang] e68ffa3 - [Driver] Make test work on targets that have no OpenMP library configured
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 3 01:06:19 PDT 2023
Author: Benjamin Kramer
Date: 2023-08-03T09:59:49+02:00
New Revision: e68ffa373f7f3e61de4e030d126f9968679cdfdc
URL: https://github.com/llvm/llvm-project/commit/e68ffa373f7f3e61de4e030d126f9968679cdfdc
DIFF: https://github.com/llvm/llvm-project/commit/e68ffa373f7f3e61de4e030d126f9968679cdfdc.diff
LOG: [Driver] Make test work on targets that have no OpenMP library configured
Added:
Modified:
clang/test/Driver/openmp-offload-infer.c
Removed:
################################################################################
diff --git a/clang/test/Driver/openmp-offload-infer.c b/clang/test/Driver/openmp-offload-infer.c
index d7c37716cd3029..9a949f52e2e97d 100644
--- a/clang/test/Driver/openmp-offload-infer.c
+++ b/clang/test/Driver/openmp-offload-infer.c
@@ -39,7 +39,7 @@
// CHECK-ARCH-BINDINGS: "x86_64-unknown-linux-gnu" - "clang", inputs: ["[[HOST_BC]]", "[[BINARY]]"], output: "[[HOST_OBJ:.*]]"
// CHECK-ARCH-BINDINGS: "x86_64-unknown-linux-gnu" - "Offload::Linker", inputs: ["[[HOST_OBJ]]"], output: "a.out"
-// RUN: not %clang -### --target=x86_64-unknown-linux-gnu -ccc-print-bindings -fopenmp \
+// RUN: not %clang -### --target=x86_64-unknown-linux-gnu -ccc-print-bindings -fopenmp=libomp \
// RUN: --offload-arch=sm_70 --offload-arch=gfx908 --offload-arch=skylake \
// RUN: -nogpulib %s 2>&1 | FileCheck %s --check-prefix=CHECK-FAILED
More information about the cfe-commits
mailing list