blob: d71b577a803a45c45952688d47557ddd56063581 [file] [log] [blame]
Artem Belevich98607b62015-09-23 21:49:39 +00001// REQUIRES: clang-driver
2// REQUIRES: x86-registered-target
3//
4// RUN: %clang -v --target=i386-unknown-linux \
5// RUN: --sysroot=/tmp/no-cuda-there 2>&1 | FileCheck %s -check-prefix NOCUDA
6// RUN: %clang -v --target=i386-unknown-linux \
7// RUN: --sysroot=%S/Inputs/CUDA 2>&1 | FileCheck %s
8// RUN: %clang -v --target=i386-unknown-linux \
9// RUN: --cuda-path=%S/Inputs/CUDA/usr/local/cuda 2>&1 | FileCheck %s
10
11// CHECK: Found CUDA installation: {{.*}}/Inputs/CUDA/usr/local/cuda
12// NOCUDA-NOT: Found CUDA installation: