|
1017 | 1017 | // CHECK-LD64-SHARED-EXPFULL: "-lm"
|
1018 | 1018 | // CHECK-LD64-SHARED-EXPFULL: "-lc"
|
1019 | 1019 |
|
1020 |
| -// Check powerpc-ibm-aix7.1.0.0. -fopenmp to use default OpenMP runtime libomp. |
| 1020 | +// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libomp to specify libomp explicitly. |
1021 | 1021 | // RUN: %clang %s -### 2>&1 \
|
1022 | 1022 | // RUN: -resource-dir=%S/Inputs/resource_dir \
|
1023 | 1023 | // RUN: --target=powerpc-ibm-aix7.1.0.0 \
|
1024 | 1024 | // RUN: --sysroot %S/Inputs/aix_ppc_tree \
|
1025 | 1025 | // RUN: --unwindlib=libunwind \
|
1026 |
| -// RUN: -fopenmp \ |
| 1026 | +// RUN: -fopenmp=libomp \ |
1027 | 1027 | // RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-OMP %s
|
| 1028 | + |
| 1029 | +// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libiomp5 to specify libgomp explicitly. |
| 1030 | +// RUN: %clang %s -### 2>&1 \ |
| 1031 | +// RUN: -resource-dir=%S/Inputs/resource_dir \ |
| 1032 | +// RUN: --target=powerpc-ibm-aix7.1.0.0 \ |
| 1033 | +// RUN: --sysroot %S/Inputs/aix_ppc_tree \ |
| 1034 | +// RUN: --unwindlib=libunwind \ |
| 1035 | +// RUN: -fopenmp=libiomp5 \ |
| 1036 | +// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-IOMP5 %s |
| 1037 | + |
| 1038 | +// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libgomp to specify libgomp explicitly. |
| 1039 | +// RUN: %clang %s -### 2>&1 \ |
| 1040 | +// RUN: -resource-dir=%S/Inputs/resource_dir \ |
| 1041 | +// RUN: --target=powerpc-ibm-aix7.1.0.0 \ |
| 1042 | +// RUN: --sysroot %S/Inputs/aix_ppc_tree \ |
| 1043 | +// RUN: --unwindlib=libunwind \ |
| 1044 | +// RUN: -fopenmp=libgomp \ |
| 1045 | +// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-GOMP %s |
| 1046 | + |
1028 | 1047 | // CHECK-FOPENMP-NOT: warning:
|
1029 | 1048 | // CHECK-FOPENMP: "-cc1" "-triple" "powerpc-ibm-aix7.1.0.0"
|
1030 | 1049 | // CHECK-FOPENMP: "-resource-dir" "[[RESOURCE_DIR:[^"]+]]"
|
|
1047 | 1066 | // CHECK-FOPENMP-GOMP: "-lgomp"
|
1048 | 1067 | // CHECK-FOPENMP: "-lc"
|
1049 | 1068 |
|
1050 |
| -// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libomp to specify libomp explicitly. |
1051 |
| -// RUN: %clang %s -### 2>&1 \ |
1052 |
| -// RUN: -resource-dir=%S/Inputs/resource_dir \ |
1053 |
| -// RUN: --target=powerpc-ibm-aix7.1.0.0 \ |
1054 |
| -// RUN: --sysroot %S/Inputs/aix_ppc_tree \ |
1055 |
| -// RUN: --unwindlib=libunwind \ |
1056 |
| -// RUN: -fopenmp=libomp \ |
1057 |
| -// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-OMP %s |
1058 |
| - |
1059 |
| -// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libiomp5 to specify libgomp explicitly. |
1060 |
| -// RUN: %clang %s -### 2>&1 \ |
1061 |
| -// RUN: -resource-dir=%S/Inputs/resource_dir \ |
1062 |
| -// RUN: --target=powerpc-ibm-aix7.1.0.0 \ |
1063 |
| -// RUN: --sysroot %S/Inputs/aix_ppc_tree \ |
1064 |
| -// RUN: --unwindlib=libunwind \ |
1065 |
| -// RUN: -fopenmp=libiomp5 \ |
1066 |
| -// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-IOMP5 %s |
1067 |
| - |
1068 |
| -// Check powerpc-ibm-aix7.1.0.0. -fopenmp=libgomp to specify libgomp explicitly. |
1069 |
| -// RUN: %clang %s -### 2>&1 \ |
1070 |
| -// RUN: -resource-dir=%S/Inputs/resource_dir \ |
1071 |
| -// RUN: --target=powerpc-ibm-aix7.1.0.0 \ |
1072 |
| -// RUN: --sysroot %S/Inputs/aix_ppc_tree \ |
1073 |
| -// RUN: --unwindlib=libunwind \ |
1074 |
| -// RUN: -fopenmp=libgomp \ |
1075 |
| -// RUN: | FileCheck --check-prefixes=CHECK-FOPENMP,CHECK-FOPENMP-GOMP %s |
1076 |
| - |
1077 | 1069 | // Check powerpc-ibm-aix7.1.0.0, 32-bit. -fopenmp=libfoo results an error.
|
1078 | 1070 | // RUN: %clang %s 2>&1 -### \
|
1079 | 1071 | // RUN: --target=powerpc-ibm-aix7.1.0.0 \
|
|
0 commit comments