-
Notifications
You must be signed in to change notification settings - Fork 99
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
[Flang-RT] Make ClangBuilder use LLVM_ENABLE_RUNTIMES=flang-rt #386
base: main
Are you sure you want to change the base?
Conversation
I assume testing this locally is just adding @ceseo for Linux if you verify this on an SVE2 machine with a 2 stage build, that should cover everything else. Windows will be slower, but Omair might know which machines are the fast ones. |
@DavidSpickett That is correct. Without it, FLANG_INCLUDE_RUNTIME default to ON, meaning the old way of building the runtime. With LLVM_ENABLE_RUNTIMES=flang-rt it defaults to OFF getting replaced woth the new way of building the runtime. |
I think @luporl has already done this. I remember him mentioning about this change a few weeks ago. |
I do not have aarch64 desktop hardware, so results are on x86_64. It means I can only run those without aarch-specifiic flags. Could not verify the following for unrelated reasons:
Successfully verified thiese builders (running on Linux, removing Windows-specifics from builder configuration):
|
@ceseo actually, some weeks ago I just mentioned that we would need to add |
This is not yet the case. If you do not add
Can you approve the patch then? |
Hmm, interesting, I hadn't noticed we still had the old way of building Flang runtime. So this PR must land before llvm/llvm-project#124126 to avoid breaking the bots right? And we also need to wait until the buildmaster picks it.
Just to confirm, with this PR, that adds
As this affects many buildbots, and IIRC the buildmaster is updated only once a week, we really want to check that it works as expected, at least on AArch64/Linux, in addition to x86_64 that you have already tested, to avoid having many bots broken for a week. |
This was the intention.
With the planned addition to llvm/llvm-project#124126 of implicitly adding
Correct. Also see my response here: #383 (comment)
I understand, its not urgent so take your time. |
With the option
checkout_flang=True
, ClangBuilder-based builders also compile Flang. Modify ClangBuilder to useLLVM_ENABLE_RUNTIMES=flang-rt
.Split off from #333
Affected builders:
Affected workers:
Admins listed for those workers:
Verified locally on x86_64 (with necessary changes) using the instructions at https://llvm.org/docs/HowToAddABuilder.html#testing-a-builder-config-locally. Once those pass, I will remove the draft status.