[F18] Which compilers configurations f18 have being tested/built?

Hello you all,

In github, we have a task/issue raised to Align F18 supported build compilers to LLVM’s[1], which is to adjust the supported compilers statement in F18 Readme.

I have created a simple spreadsheet where I have added possible configurations to build F18 and LLVM with GCC, Clang and libstdc++ and libc++.

I added the ones I believe are possible, but if there are more, please add.

I started to full in the spreadsheet with the configurations that we have built here at Arm. But would be nice if others could share this info in the file attached with us all, so we can update the Readme file properly.

Does anyone have any experience building with the other configurations so we can turn the yellow cells to green or red?

Thank you,


[1] https://github.com/flang-compiler/f18/issues/986

F18_Support.xls (35 KB)

Hi Carol

Have you been applying the cmake patch from https://github.com/flang-compiler/f18/pull/1045 for these experiments or building using the existing Cmake infrastructure?

I assume that your status here is for Arm AArch64 platforms only? Is anyone able vouch for or investigate this across other platforms like Power, x86_64?

I also assume this was for Linux? Can anyone vouch for mac builds?

@Steve Scalpone, @McCormick, Pat, @Tarique Islam, @Rao, Shivarama – I think you or your teams may have experiences of some of these configurations?



I have build successfully across aarch64 (latest RHEL w/ gcc9.x and clang 9.x), x86_64 (CentOS 7, Ubuntu (18.04), gcc9.x, and clang 9.x), and MacOS (10.15.3) and Xcode (11.3.1).


Hey Rich!

I had not thought about the cmake changes. But to be fair, I believe it would NOT cause different results.

Maybe others have a different answer. I am not a big expert on cmakes.

When I worked with it(driver and lit tests), it was adding LLVM libraries to the compiler.

About the machine servers configuration: I am building the compiler only on AArch64 and Linux OS, because they are the ones we have access.


I was able to build on Power (RHEL with clang).

Tarique Islam
XL Fortran Compiler Development
IBM Toronto Software Lab

graycol.gif"McCormick, Pat" —2020-03-18 01:50:41 PM—I have build successfully across aarch64 (latest RHEL w/ gcc9.x and clang 9.x), x86_64 (CentOS 7, Ub

[AMD Official Use Only - Internal Distribution Only]


I am able to build f18 (using f18-llvm-project repo) for the following combinations

  • x86_64 Ubuntu with gcc-7.5
  • x86_64 Ubuntu with clang-8.

I also checked with sources from https://github.com/flang-compiler/f18/pull/1045 and the build works for above combinations.




I’ve got builders running with:

  • macOs, Mojave, Apple LLVM version 10.0.1 (clang-1001.0.46.4)

  • centos, x86_64, gcc versions 7.3, 7.4, 8.1, 8.2, 8.3, 9.1, 9.2, 9.3

  • rhel, ppc64le, gcc versions 7.3, 7.4, 8.1, 8.2, 8.3, 9.1, 9.2, 9.3

I expect to have ubuntu, aarch64, gcc version 9.1 and 9.2 back up and running in a few hours.

Right now, vanilla llvm master branch fails to compile for me with gcc 7.1 or 7.2. I’m not sure of the root cause, but cmake is running with -DCMAKE_CXX_STANDARD=17.