From 392843617acbce5baf6ca7c7fff8dbac58bf853f Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Fri, 5 Jun 2020 15:31:11 -0400 Subject: [PATCH] Attempt to fix hip-include-path.hip --- clang/test/Driver/hip-include-path.hip | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clang/test/Driver/hip-include-path.hip b/clang/test/Driver/hip-include-path.hip index 12d6aa2..8c0d317 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 -- 2.7.4