[flang-commits] [clang] [flang] [Flang][Flang-Driver]Fix to add atomic control options in non-fc1 mode (PR #154638)
Daniel Chen via flang-commits
flang-commits at lists.llvm.org
Fri Aug 29 12:24:10 PDT 2025
DanielCChen wrote:
@anchuraj
The addition of the offload testing in `atomic-control-options.f90` broke our AIX build.
Our AIX build has default LLVM_TARGETS_TO_BUILD which registered all targets so we can have extended test coverage.
The reason of the failure is that the offload option trigger the call to `addClangTargetOptions`. On AIX, we passed down a few `-f` options that for Clang only. So the Flang driver complains
```
error: unknown argument: '-fxl-pragma-pack'
error: unknown argument: '-fno-sized-deallocation'
error: unknown argument: '-fno-err-pragma-mc-func-aix'
```
Would it be possible to split this test case into two; one for the host and one for the offload?
The offload one can be disabled for AIX, so we can still testing to host one to prevent any regressions.
https://github.com/llvm/llvm-project/pull/154638
More information about the flang-commits
mailing list