-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[flang-rt] Update test_flang
in CI to use flang-rt
as one of the projects.
#135260
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
base: main
Are you sure you want to change the base?
Conversation
test_flang
in CI to use flang-rt as one of the projects.
test_flang
in CI to use flang-rt as one of the projects.test_flang
in CI to use flang-rt
as one of the projects.
✅ With the latest revision this PR passed the Python code formatter. |
The PR may have dependency on PR #134362 as it will need the driver change to get the full path to |
So adding |
Thanks for the comment! For building The intention of this PR is to prevent building As the |
That's not how the premerge build system is setup. The list of projects computed here gets sent directly to What's the compiler support story like for |
I see. If I have I see the premerge scripts only use I start to think the proper fix probably should be that we stop building |
That sounds about right. We need to rework the runtimes build for premerge anyways which has been on my TODO list for a while and something I hope to get too soon. What are the compiler requirements for flang-rt? From what I can tell it is entirely c++ currently. Does it need ToT clang/flang? |
There is some description of how to build it. https://github.com/llvm/llvm-project/tree/main/flang-rt I copied some here. It doesn't need bootstrap C/C++ compilers, but it needs the Fortran compiler flang built from the same commit.
There is a Fortran intrinsic module in flang-rt that requires Fortran compiler. So for the part of the script that specifies |
Maybe. I need to figure out a good way to enable good compilation caching when possible while keeping things simple.
We would not use the standalone build. We would be using the runtimes build either way. If we did the build separately we would just be using the runtimes build:
That should probably be a configuration |
Yes. However, in order to build Instead of doing the above, we could modify
For both This configuration is what the buildbots are using too. The difference is the addition of |
The CI
test_flang
seems not being updated sinceflang-rt
is separated from theflang
build.This PR is to update
test_flang
to putflang-rt
as one of the projects when testing flang, so it uses bootstrap build instead of part of the flang build, which we are moving away from. It is also consistent with the buildbots.I am not familiar with the CI configuration, so this PR serves as an initiation for the update.