Skip to content

Support AOCC Fortran compiler 'aof' - #11

Open
ejose02 wants to merge 1 commit into
autotools-mirror:masterfrom
ejose02:aof-fortran-compiler-support
Open

Support AOCC Fortran compiler 'aof'#11
ejose02 wants to merge 1 commit into
autotools-mirror:masterfrom
ejose02:aof-fortran-compiler-support

Conversation

@ejose02

@ejose02 ejose02 commented Aug 12, 2026

Copy link
Copy Markdown

Add aof* to the Flang compiler recognition in libtool.m4 so AOCC's Fortran driver is handled like upstream flang. AOCC 6.0 introduces aof (LLVM Flang-based); because the driver name does not match flang*, explicit recognition is needed to fix autotools shared-library builds with FC=aof

AOCC 6.0 is planned to introduce a new Fortran compiler, aof, based on llvm-flang. This compiler is expected to be packaged alongside the existing classic Flang compiler, which will continue to serve as the default Fortran compiler. The new toolchain is planned to have aof (Fortran compiler), aoc (soft link to clang) and aoc++ (soft link to clang++).
https://www.amd.com/en/developer/aocc.html

Add aof* to the Flang Fortran compiler recognition in libtool.m4 so AOCC's Fortran driver is handled like upstream flang.
@ejose02

ejose02 commented Aug 12, 2026

Copy link
Copy Markdown
Author

@ileanadumitrescu95 , can you please review this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant