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

[llvm] fix issue #11916 #11956

Merged
merged 2 commits into from
Jun 23, 2020
Merged

[llvm] fix issue #11916 #11956

merged 2 commits into from
Jun 23, 2020

Conversation

yurybura
Copy link
Contributor

Fixes #11916

@JackBoosY JackBoosY self-assigned this Jun 15, 2020
@JackBoosY JackBoosY added the category:port-bug The issue is with a library, which is something the port should already support label Jun 15, 2020
@JackBoosY JackBoosY self-requested a review June 15, 2020 23:59
@LilyWangL LilyWangL requested review from LilyWangL and removed request for JackBoosY June 16, 2020 06:02
@LilyWangL LilyWangL assigned LilyWangL and unassigned JackBoosY Jun 16, 2020
@LilyWangL LilyWangL mentioned this pull request Jun 16, 2020
@LilyWangL LilyWangL added the info:reviewed Pull Request changes follow basic guidelines label Jun 22, 2020
@vicroms vicroms merged commit 8714f0d into microsoft:master Jun 23, 2020
@vicroms
Copy link
Member

vicroms commented Jun 23, 2020

Thanks for the PR!

@yurybura yurybura deleted the fix11916 branch June 28, 2020 12:24
@MVoz
Copy link
Contributor

MVoz commented Aug 12, 2020

@yurybura

add -DLLVM_ENABLE_PROJECTS=flang

Installing LLVM Flang Fortran compiler

Since 2015, NVIDIA has supported Flang: a Fortran compiler frontend to LLVM. The first Flang was based on the PGI compiler, with proprietary optimizations removed. However, the C-based decade-plus of cruft led Flang developers and management to a ground-up rewrite in C++17. This new Flang f18 targets modern Fortran 2008 / 2018 syntax and is implemented in C++17 internally. Flang became part of LLVM 11 in April 2020.

NOTE: Flang is growing in features and may not be sufficiently feature-complete for modern Fortran until later LLVM 11.x releases.
Select Flang in the build system as usual by environment variable:
FC=flang
Build Flang
If you it necessary to build Flang, follow the LLVM build procedure with flag -DLLVM_ENABLE_PROJECTS=flang
Some Common options:
    -DLLVM_ENABLE_PROJECTS='...' — semicolon-separated list of the LLVM subprojects you’d like to additionally build. Can include any of: clang, clang-tools-extra, libcxx, libcxxabi, libunwind, lldb, compiler-rt, lld, polly, or debuginfo-tests.
    For example, to build LLVM, Clang, libcxx, and libcxxabi, use -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[llvm] build failure
5 participants