diff options
author | Xing Xue <xingxue@outlook.com> | 2024-04-10 16:06:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-10 16:06:31 -0400 |
commit | b3792ae42a4adda5cb51d53f3d6a4b9b025b11fd (patch) | |
tree | bf45019bd7917de7237f4f57f73b1dd8e60a546e /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | a6d1366b736cad85b3bb9fbdda340e07488d6cde (diff) | |
download | llvm-b3792ae42a4adda5cb51d53f3d6a4b9b025b11fd.zip llvm-b3792ae42a4adda5cb51d53f3d6a4b9b025b11fd.tar.gz llvm-b3792ae42a4adda5cb51d53f3d6a4b9b025b11fd.tar.bz2 |
[OpenMP][AIX] Fix test config for AIX (#88272)
This patch fixes the test config so that it works for
`tasking/omp50_taskdep_depobj.c` which uses different flags to test with
compiler's `omp.h`.
* set test environment variable `OBJECT_MODE` to `64` if it is set
explicitly to `64` in the AIX environment. `OBJECT_MODE` is default to
`32` and is recognized by AIX compilers and toolchain. In this way, we
don't need to set `-m64` for all compiler flags for 64-bit mode
* add option `-Wl,-bmaxdata` to 32-bit `test_openmp_flags` used by
`tasking/omp50_taskdep_depobj.c`
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions