-
Notifications
You must be signed in to change notification settings - Fork 104
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_ENABLE_RUNTIMES=flang-rt for flang-runtime-cuda-* #393
LLVM_ENABLE_RUNTIMES=flang-rt for flang-runtime-cuda-* #393
Conversation
c424475
to
0097624
Compare
Thank you, Michael! For |
Yes, but it uses ccache so re-builds usually don't take the maximum time.
LLVM's Buildbot is configured without absolute timeout. There are much slower workers in labs.llvm.org, taking up 16 hours to build. If the as-builder-7 is becoming too slow1, I can combine flang-runtime-cuda-gcc and flang-runtime-cuda-clang so Flang is built only once. For Polly builders, I tricked it to use the same ccache cache for all builders. Footnotes
|
Thanks for the explanation, Michael! It looks good to me, but I am not the one to approve it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The production buildbot master apparently has not yet been restarted since llvm/llvm-zorg#393 landed. This reverts commit 96d1bae.
The production buildbot master apparently has not yet been restarted since llvm/llvm-zorg#393 landed. This reverts commit 96d1bae.
@gkistanova Landing llvm/llvm-project#124126 depends on this configuration update becoming active. Could you restart https://lab.llvm.org/buildbot ? Last restart was Feb 12. |
@gkistanova After the buildbot master restart, as-builder-7 behaves strangely. Could you have a look? |
I do not think anything is wrong with the worker. We are still investigating, but it seems the failures are related to recent changes to flang-rt. |
It is reporting connection failures and progress timeouts ("command timed out: 1200 seconds without output running") during the |
I tried to figure out the source of that situation and only I found that the Here is the build timings for the gcc build (16 threads): The most time consuming files are I have updated the builder configurations to use less threads and only one concurrent build - #424 It should help for now, but I hope we will be able to get back at least two concurrent builds on the worker later. |
Compiling flang taking an unusual amount of memory is a known issue and will not change without getting away from the template-centric architecture. llvm/llvm-project#127364 introduced a way to limit the number of flang compile jobs only, but note that those will also not fall under the LLVM_PARALLEL_COMPILE_JOBS limit anymore. |
Oh, I see. Ok, I'll play with |
Add
depends_on_projects=['flang-rt']
to the flang-runtime-cuda-gcc and flang-runtime-cuda-clang builders. This prepares the removal of the "projects" build of the flang runtime in llvm/llvm-project#124126.Split off from #333
Affected builders:
This previously only built the runtime using the top-level CMakeLists.txt in
flang/runtime/CMakeLists.txt
. This is going to be replaced with the "standalone runtimes build", with the top-levelruntimes/CMakeLists.txt
. This still needs Flang to successed, hence replacing with a bootstrap-build where theFLANG_RT_*
options are internally forwarded to the runtimes build.This is a manual bootstrapping build which first compiles Clang, then the runtime out-of-tree. This is replaced with a standalone runtimes build as described above. Because it needs Flang, also adding Flang to the enabled projects of the stage1 build.
Neither build runs the
check-*
targets, probably due to the lack of actual CUDA hardware which running the runtime unittests require.Affected workers:
Admins listed for those workers: