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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to