Author: rnk
Date: Thu Jun 29 15:31:16 2017
New Revision: 306751
URL: http://llvm.org/viewvc/llvm-project?rev=306751&view=rev
Log:
Fix openmp-offload.c test on Windows
Modified:
cfe/trunk/test/Driver/openmp-offload.c
Modified: cfe/trunk/test/Driver/openmp-offload.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/openmp-offload.c?rev=306751&r1=306750&r2=306751&view=diff
==============================================================================
--- cfe/trunk/test/Driver/openmp-offload.c (original)
+++ cfe/trunk/test/Driver/openmp-offload.c Thu Jun 29 15:31:16 2017
@@ -593,7 +593,7 @@
/// ###########################################################################
/// 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"
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits