From 4ed872b0290875d15490664e8f94305e5e6963a6 Mon Sep 17 00:00:00 2001 From: Samuel Antao Date: Tue, 16 Aug 2016 14:31:39 +0000 Subject: [PATCH] Add empty --gcc-toolchain empty to cuda-detect test. Unless we overload the default gcc toolchain with an empty string the system root used in the tests will be ignored if the user builds clang with a custom gcc toolchain. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278806 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/cuda-detect.cu | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Driver/cuda-detect.cu b/test/Driver/cuda-detect.cu index c4c177287a..7bbda1b4a7 100644 --- a/test/Driver/cuda-detect.cu +++ b/test/Driver/cuda-detect.cu @@ -75,6 +75,7 @@ // Verify that C++ include paths are passed for both host and device frontends. // RUN: %clang -### -no-canonical-prefixes -target x86_64-linux-gnu %s \ // RUN: --stdlib=libstdc++ --sysroot=%S/Inputs/ubuntu_14.04_multiarch_tree2 2>&1 \ +// RUN: --gcc-toolchain="" \ // RUN: | FileCheck %s --check-prefix CHECK-CXXINCLUDE // CHECK: Found CUDA installation: {{.*}}/Inputs/CUDA/usr/local/cuda -- 2.40.0