Enable Flang-RT for all Flang builders. #333
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Modify all build configurations that build Flang to also build Flang-RT. Flang-RT is the runtime component of Flang that is refactored into its own runtime project in llvm/llvm-project#110217.
The following classes of builder are affected:
Builders with
LLVM_ENABLE_PROJECTS=flang
and runningcheck-flang
: AddingLLVM_ENABLE_RUNTIMES=flang-rt
andcheck-flang-rt
. These builders would continue to be green after [Flang] LLVM_ENABLE_RUNTIMES=flang-rt llvm-project#110217 even without this PR, just testing less.Clang builders with
checkout_flang=True
: Automatically addflang-rt
todepends_on_projects
which also addsLLVM_ENABLE_PROJECTS
withenable_runtimes="auto".
These builders would continue to be green after [Flang] LLVM_ENABLE_RUNTIMES=flang-rt llvm-project#110217 even without this PR, just testing less.Clang builders with
checkout_flang=True
andrunTestSuite=True
: Running the the test-suite with Flang requires Flang-RT, so these builders would start failing with [Flang] LLVM_ENABLE_RUNTIMES=flang-rt llvm-project#110217 without this PR.linaro-flang-aarch64-out-of-tree: Has its own build factory that would require larger changes to also check/run Flang-RT. Should stay green even after [Flang] LLVM_ENABLE_RUNTIMES=flang-rt llvm-project#110217.
flang-runtime-cuda-gcc: Only compiles but does not run check. Used to be a
flang/runtime
out-of-tree build. Runtime-only builds of Flang-RT needs the path toflang
. I do not know where/whether this can be found on the workers so changing it to a bootstrap build. More important to keep the buildbots green.flang-runtime-cuda-clang: Staged build of first compiling LLVM+Clang, then Flang out-of-tree. With this PR also building Flang in-tree and Flang-RT as runtime-only build. Building both Flang and Flang-RT out-of-tree would require another stage, but "linaro-flang-aarch64-out-of-tree" is already testing the Flang out-of-tree build.