[clang] 9d10fbb - Fix test clang/test/Driver/cl-offload.cu
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 19 18:49:37 PDT 2023
Author: Yaxun (Sam) Liu
Date: 2023-10-19T21:48:05-04:00
New Revision: 9d10fbbb299eae4a63f1028274e2ffe92bf8e75a
URL: https://github.com/llvm/llvm-project/commit/9d10fbbb299eae4a63f1028274e2ffe92bf8e75a
DIFF: https://github.com/llvm/llvm-project/commit/9d10fbbb299eae4a63f1028274e2ffe92bf8e75a.diff
LOG: Fix test clang/test/Driver/cl-offload.cu
Exclude it from Darwin since /Users will be treated as a MSVC option.
http://45.33.8.238/macm1/71368/step_7.txt
Added:
Modified:
clang/test/Driver/cl-offload.cu
Removed:
################################################################################
diff --git a/clang/test/Driver/cl-offload.cu b/clang/test/Driver/cl-offload.cu
index c3bc5a2c08275e0..ec1d8ba54954a44 100644
--- a/clang/test/Driver/cl-offload.cu
+++ b/clang/test/Driver/cl-offload.cu
@@ -1,3 +1,7 @@
+// REQUIRES: !system-darwin
+
+// The test cannot be run on Darwin because /Users will be treated as a MSVC option.
+
// RUN: %clang_cl -### -target x86_64-pc-windows-msvc --offload-arch=sm_35 -fgpu-rdc \
// RUN: --cuda-path=%S/Inputs/CUDA/usr/local/cuda \
// RUN: /Wall -x cuda %s 2>&1 \
More information about the cfe-commits
mailing list