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

Compiling Flang for LLVM 11 #958

Open
dnoan opened this issue Dec 7, 2020 · 5 comments
Open

Compiling Flang for LLVM 11 #958

dnoan opened this issue Dec 7, 2020 · 5 comments
Labels

Comments

@dnoan
Copy link

dnoan commented Dec 7, 2020

I am trying to build Flang on the new Apple M1 architecture, however it doesn't work since LLVM 10 doesn't support Apple Silicon. I see that classic-flang-llvm-project has an LLVM 11 tag and I am trying to build Flang for it (LLVM 11 does support Apple Silicon), however it doesn't work. Any suggestions on how to get Flang work with LLVM 11 (or LLVM 10 on Apple Silicon)?

@bryanpkc
Copy link
Collaborator

The current supported branch in classic-flang-llvm-project is release_100 (LLVM 10). Supporting another release on top of LLVM 9 and LLVM 10 requires stakeholders to invest more resources on an on-going basis, and we haven't made that decision yet. We can discuss this at the next Classic Flang call.

@kiranchandramohan
Copy link
Collaborator

@dnoan in case you have missed this, classic-flang-llvm-project now has a release_11x branch for supporting llvm 11.

@dnoan
Copy link
Author

dnoan commented Feb 27, 2021

@kiranchandramohan, thanks! This is great news.

@watersb
Copy link

watersb commented Mar 15, 2021

A "Release Candidate" flang-classic 12:

https://lists.llvm.org/pipermail/flang-dev/2021-March/000655.html

I am totally new to this project and do not know the status of this RC. But my Apple M1 is encouraged.

@kiranchandramohan
Copy link
Collaborator

If you have patches for M1 we will be happy to accept. There is an x86 macOS PR (#592)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants