[clang] 3928436 - Attempt to fix hip-include-path.hip
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 5 12:34:09 PDT 2020
Author: Yaxun (Sam) Liu
Date: 2020-06-05T15:31:53-04:00
New Revision: 392843617acbce5baf6ca7c7fff8dbac58bf853f
URL: https://github.com/llvm/llvm-project/commit/392843617acbce5baf6ca7c7fff8dbac58bf853f
DIFF: https://github.com/llvm/llvm-project/commit/392843617acbce5baf6ca7c7fff8dbac58bf853f.diff
LOG: Attempt to fix hip-include-path.hip
Added:
Modified:
clang/test/Driver/hip-include-path.hip
Removed:
################################################################################
diff --git a/clang/test/Driver/hip-include-path.hip b/clang/test/Driver/hip-include-path.hip
index 12d6aa2a5216..8c0d317936b5 100644
--- a/clang/test/Driver/hip-include-path.hip
+++ b/clang/test/Driver/hip-include-path.hip
@@ -1,6 +1,8 @@
// REQUIRES: clang-driver
// REQUIRES: x86-registered-target
// REQUIRES: amdgpu-registered-target
+// REQUIRES: libgcc
+// UNSUPPORTED: system-windows
// RUN: %clang -c -v -target x86_64-unknown-linux-gnu --cuda-gpu-arch=gfx900 \
// RUN: -std=c++11 --rocm-path=%S/Inputs/rocm -nogpulib %s 2>&1 \
@@ -14,7 +16,7 @@
// RUN: -std=c++11 --rocm-path=%S/Inputs/rocm -nogpuinc -nogpulib %s 2>&1 \
// RUN: | FileCheck -check-prefixes=COMMON,WRAP,NOHIP %s
-// COMMON-LABEL: clang{{.*}} -cc1 -triple amdgcn-amd-amdhsa
+// COMMON: "{{[^"]*}}clang{{[^"]*}}"
// WRAP: clang/{{.*}}/include/cuda_wrappers
// NOWRAP-NOT: clang/{{.*}}/include/cuda_wrappers
// HIP: {{.*}}Inputs/rocm/include
@@ -22,7 +24,7 @@
// skip check of standard C++ include path
// COMMON: clang/{{.*}}/include
-// COMMON-LABEL: clang{{.*}} -cc1 -triple x86_64
+// COMMON: "{{[^"]*}}clang{{[^"]*}}"
// WRAP: clang/{{.*}}/include/cuda_wrappers
// NOWRAP-NOT: clang/{{.*}}/include/cuda_wrappers
// HIP: {{.*}}Inputs/rocm/include
More information about the cfe-commits
mailing list