[PATCH] D143549: [clang][AIX] Remove test for the default OpenMP runtime
Wang Pengcheng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 8 01:48:51 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5ae99be03772: [clang][AIX] Remove test for the default OpenMP runtime (authored by pcwang-thead).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143549/new/
https://reviews.llvm.org/D143549
Files:
clang/test/Driver/aix-ld.c
Index: clang/test/Driver/aix-ld.c
===================================================================
--- clang/test/Driver/aix-ld.c
+++ clang/test/Driver/aix-ld.c
@@ -1017,14 +1017,33 @@
// CHECK-LD64-SHARED-EXPFULL: "-lm"
// CHECK-LD64-SHARED-EXPFULL: "-lc"
-// Check powerpc-ibm-aix7.1.0.0. -fopenmp to use default OpenMP runtime libomp.
+// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libomp to specify libomp explicitly.
// RUN: %clang %s -### 2>&1 \
// RUN: -resource-dir=%S/Inputs/resource_dir \
// RUN: --target=powerpc-ibm-aix7.1.0.0 \
// RUN: --sysroot %S/Inputs/aix_ppc_tree \
// RUN: --unwindlib=libunwind \
-// RUN: -fopenmp \
+// RUN: -fopenmp=libomp \
// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-OMP %s
+
+// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libiomp5 to specify libgomp explicitly.
+// RUN: %clang %s -### 2>&1 \
+// RUN: -resource-dir=%S/Inputs/resource_dir \
+// RUN: --target=powerpc-ibm-aix7.1.0.0 \
+// RUN: --sysroot %S/Inputs/aix_ppc_tree \
+// RUN: --unwindlib=libunwind \
+// RUN: -fopenmp=libiomp5 \
+// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-IOMP5 %s
+
+// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libgomp to specify libgomp explicitly.
+// RUN: %clang %s -### 2>&1 \
+// RUN: -resource-dir=%S/Inputs/resource_dir \
+// RUN: --target=powerpc-ibm-aix7.1.0.0 \
+// RUN: --sysroot %S/Inputs/aix_ppc_tree \
+// RUN: --unwindlib=libunwind \
+// RUN: -fopenmp=libgomp \
+// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-GOMP %s
+
// CHECK-FOPENMP-NOT: warning:
// CHECK-FOPENMP: "-cc1" "-triple" "powerpc-ibm-aix7.1.0.0"
// CHECK-FOPENMP: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
@@ -1047,33 +1066,6 @@
// CHECK-FOPENMP-GOMP: "-lgomp"
// CHECK-FOPENMP: "-lc"
-// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libomp to specify libomp explicitly.
-// RUN: %clang %s -### 2>&1 \
-// RUN: -resource-dir=%S/Inputs/resource_dir \
-// RUN: --target=powerpc-ibm-aix7.1.0.0 \
-// RUN: --sysroot %S/Inputs/aix_ppc_tree \
-// RUN: --unwindlib=libunwind \
-// RUN: -fopenmp=libomp \
-// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-OMP %s
-
-// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libiomp5 to specify libgomp explicitly.
-// RUN: %clang %s -### 2>&1 \
-// RUN: -resource-dir=%S/Inputs/resource_dir \
-// RUN: --target=powerpc-ibm-aix7.1.0.0 \
-// RUN: --sysroot %S/Inputs/aix_ppc_tree \
-// RUN: --unwindlib=libunwind \
-// RUN: -fopenmp=libiomp5 \
-// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-IOMP5 %s
-
-// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libgomp to specify libgomp explicitly.
-// RUN: %clang %s -### 2>&1 \
-// RUN: -resource-dir=%S/Inputs/resource_dir \
-// RUN: --target=powerpc-ibm-aix7.1.0.0 \
-// RUN: --sysroot %S/Inputs/aix_ppc_tree \
-// RUN: --unwindlib=libunwind \
-// RUN: -fopenmp=libgomp \
-// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-GOMP %s
-
// Check powerpc-ibm-aix7.1.0.0, 32-bit. -fopenmp=libfoo results an error.
// RUN: %clang %s 2>&1 -### \
// RUN: --target=powerpc-ibm-aix7.1.0.0 \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143549.495763.patch
Type: text/x-patch
Size: 3318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230208/9fd664ba/attachment.bin>
More information about the cfe-commits
mailing list