Skip to content

Remove -A as a standard compiler option for PGI compiler

Marty McFadden requested to merge mcfadden8/cmake:fix-pgi-builds into master

The -A option causes the PGI compier to report errors that most other compilers are not reporting as such. There have been some bug reports submitted to PGI for some of the errors produced.

We currently have no way of turning off the -A option when using cmake since it seems that it is treated as standard default.

I would like to suggest that cmake either provides a means to disable the -A option or simply no longer use it as a default which is what this PR implements.

Merge request reports