Skip to content

Switch from build_runtime_*.sh to inlined CMake commands. - #18164

Merged
ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:infra-build-runtime-scripts
Aug 8, 2024
Merged

ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:infra-build-runtime-scripts

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

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.sh and build_tools/cmake/build_runtime_tracing.sh

  • Fixed 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.c that slipped through. When we landed Enable LTO optimization by default for runtime releases. #16811, it used old CMake variables in the build_tools/cmake/build_runtime_small.sh script. Oops!

  • Renamed jobs so they all begin with runtime

    name before name after
    build_test_runtime runtime
    small_runtime runtime_small
    tracing runtime_tracing

    Seeing 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.

@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing cleanup 🧹 labels Aug 8, 2024
Comment thread .github/workflows/ci.yml
Comment on lines -255 to -257
./build_tools/github_actions/docker_run.sh \
--env "TRACING_PROVIDER=tracy" \
gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, and these workflows no longer need Docker ^^

@ScottTodd

Copy link
Copy Markdown
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.

@ScottTodd
ScottTodd merged commit a7e5788 into iree-org:main Aug 8, 2024
@ScottTodd
ScottTodd deleted the infra-build-runtime-scripts branch August 8, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup 🧹 infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants