]> granicus.if.org Git - clang/commitdiff
Fix openmp-offload.c test on Windows
authorReid Kleckner <rnk@google.com>
Thu, 29 Jun 2017 22:31:16 +0000 (22:31 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 29 Jun 2017 22:31:16 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306751 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/openmp-offload.c

index 7a0d62073b6bbba9cb6b62b2776534656bc4b90c..8b7929ff358699f97a59cc88c930a99e41f1953a 100644 (file)
 /// ###########################################################################
 
 /// Check -fopenmp-is-device is passed when compiling for the device.
-// RUN:   %clang -### -fopenmp=libomp -fopenmp-targets=powerpc64le-ibm-linux-gnu %s 2>&1 \
+// RUN:   %clang -### -target powerpc64le-linux -fopenmp=libomp -fopenmp-targets=powerpc64le-ibm-linux-gnu %s 2>&1 \
 // RUN:   | FileCheck -check-prefix=CHK-FOPENMP-IS-DEVICE %s
 
-// CHK-FOPENMP-IS-DEVICE: clang{{.*}} "-aux-triple" "powerpc64le-unknown-linux-gnu" {{.*}}.c" "-fopenmp-is-device" "-fopenmp-host-ir-file-path"
+// CHK-FOPENMP-IS-DEVICE: clang{{.*}} "-aux-triple" "powerpc64le--linux" {{.*}}.c" "-fopenmp-is-device" "-fopenmp-host-ir-file-path"