Repository navigation
Switch from build_runtime_*.sh to inlined CMake commands. - #18164
Merged
Merged
Conversation
benvanik
approved these changes
Aug 8, 2024
ScottTodd
enabled auto-merge (squash)
August 8, 2024 22:09
ScottTodd
commented
Aug 8, 2024
Comment on lines
-255
to
-257
| ./build_tools/github_actions/docker_run.sh \ | ||
| --env "TRACING_PROVIDER=tracy" \ | ||
| gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ |
Member
Author
There was a problem hiding this comment.
Oh yeah, and these workflows no longer need Docker ^^
Member
Author
|
Lol, all the jobs I didn't modify just had their self-hosted runners drop while trying to clone submodules. Going to blame GitHub for that. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Similar to #18162, this reduces the reliance on scripts in
build_tools/cmake/by inlining the CMake commands used for these build configurations.Summary of changes:
Deleted
build_tools/cmake/build_runtime_small.shandbuild_tools/cmake/build_runtime_tracing.shFixed size-optimized ("small") options used in the "small runtime" job and resolved an unused variable warning/error in
runtime/src/iree/hal/drivers/hip/dynamic_symbols.cthat slipped through. When we landed Enable LTO optimization by default for runtime releases. #16811, it used old CMake variables in thebuild_tools/cmake/build_runtime_small.shscript. Oops!Renamed jobs so they all begin with
runtimebuild_test_runtimeruntimesmall_runtimeruntime_smalltracingruntime_tracingSeeing these runtime jobs next to each other, we could expand the build matrix even further ("all platforms" x "all configurations"). Leaving that for the future. Now it's easier to see what the jobs have in common and how they differ.