Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align F18 supported build compilers to LLVM's #986

Closed
RichBarton-Arm opened this issue Feb 17, 2020 · 4 comments
Closed

Align F18 supported build compilers to LLVM's #986

RichBarton-Arm opened this issue Feb 17, 2020 · 4 comments

Comments

@RichBarton-Arm
Copy link
Contributor

In order to become a part of the LLVM project we need to match the supported platforms and build compilers. There are some caveats to this:

Here is what LLVM say about host platform and compiler support:

LLVM is very demanding of the host C++ compiler, and as such tends to expose bugs in the compiler. We also attempt to follow improvements and developments in the C++ language and library reasonably closely. As such, we require a modern host C++ toolchain, both compiler and standard library, in order to build LLVM.

LLVM is written using the subset of C++ documented in coding standards. To enforce this language version, we check the most popular host toolchains for specific minimum versions in our build systems:

Clang 3.5
Apple Clang 6.0
GCC 5.1
Visual Studio 2017

Anything older than these toolchains may work, but will require forcing the build system with a special option and is not really a supported host platform. Also note that older versions of these compilers have often crashed or miscompiled LLVM.

For less widely used host toolchains such as ICC or xlC, be aware that a very recent version may be required to support all of the C++ features used in LLVM.
https://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library

Note also that there is a list of caveats for certain combinations of build compiler and standard C++ libraries, so we do have that option if we have particular problems.

To do:

@RichBarton-Arm
Copy link
Contributor Author

From the flang community call on 19/02, we need to ensure that we can build F18 with the LLVM 10 RC before submitting to the monorepo.

@RichBarton-Arm
Copy link
Contributor Author

Update in call on 09th March: @sscalpone has tested GCC 7.2+ on Power and x86 with no issues.
Now waiting for #969 to land before continuing on Clang versions.

@DavidTruby
Copy link
Collaborator

I believe this is done, as reflected on the project board. @RichBarton-Arm can you close this?

@RichBarton-Arm
Copy link
Contributor Author

Agree that this is complete.

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

No branches or pull requests

2 participants