[clang] 2f8675a - [Driver] Fix a CUDA test (#94258)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 3 10:09:31 PDT 2024
Author: Paul T Robinson
Date: 2024-06-03T13:09:27-04:00
New Revision: 2f8675a0266263d01d124cb11defdc6c902b651c
URL: https://github.com/llvm/llvm-project/commit/2f8675a0266263d01d124cb11defdc6c902b651c
DIFF: https://github.com/llvm/llvm-project/commit/2f8675a0266263d01d124cb11defdc6c902b651c.diff
LOG: [Driver] Fix a CUDA test (#94258)
See #94000 for a report of a downstream failure, this fixes it.
Added:
Modified:
clang/test/Driver/offloading-interoperability.c
Removed:
################################################################################
diff --git a/clang/test/Driver/offloading-interoperability.c b/clang/test/Driver/offloading-interoperability.c
index 67e5ea26ede4d..f4d980e5fa5ce 100644
--- a/clang/test/Driver/offloading-interoperability.c
+++ b/clang/test/Driver/offloading-interoperability.c
@@ -1,7 +1,7 @@
//
// Verify that CUDA device commands do not get OpenMP flags.
//
-// RUN: %clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -nocudainc -nocudalib -fopenmp=libomp %s 2>&1 \
+// RUN: %clang -### -x cuda --target=powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -nocudainc -nocudalib --no-cuda-version-check -fopenmp=libomp %s 2>&1 \
// RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE
//
// NO-OPENMP-FLAGS-FOR-CUDA-DEVICE: "-cc1" "-triple" "nvptx64-nvidia-cuda"
More information about the cfe-commits
mailing list