Skip to content

[CI] Reclaim more disk space on macOS arm64 runner#23762

Merged
kuhar merged 2 commits intoiree-org:mainfrom
qedawkins:fix-macos-disk-space
Mar 13, 2026
Merged

[CI] Reclaim more disk space on macOS arm64 runner#23762
kuhar merged 2 commits intoiree-org:mainfrom
qedawkins:fix-macos-disk-space

Conversation

@qedawkins
Copy link
Contributor

@qedawkins qedawkins commented Mar 12, 2026

  • The macos-14 GitHub-hosted runner has ~320Gi total disk with ~265Gi pre-used by system tools
  • Previously only the Android SDK (~13Gi) was removed, leaving ~51Gi free — insufficient for building IREE
  • Add removal of iOS simulators (~13Gi), .NET SDK (~3Gi), Haskell/GHC (~3Gi), hostedtoolcache (~2Gi), and unused Xcode versions (~10Gi+ each)
  • Preserves the currently selected Xcode version

🤖 Generated with Claude Code

The macos-14 GitHub-hosted runner has ~320Gi total disk with ~265Gi
pre-used by system tools. Only removing the Android SDK (~13Gi) left
insufficient free space for building IREE. Remove additional unused
SDKs and tools: iOS simulators, .NET SDK, Haskell/GHC, hostedtoolcache,
and old Xcode versions.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Copy link
Member

@kuhar kuhar left a comment

Choose a reason for hiding this comment

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

Can you add the ci-extra tailer to your pr and force push to confirm it actually works?

@qedawkins
Copy link
Contributor Author

image

Is this not the CI run this is changing though? Does ci-extra cover something else using the same .yml?

@kuhar
Copy link
Member

kuhar commented Mar 12, 2026

I'm blind, nm

@qedawkins
Copy link
Contributor Author

Nooo it failed, but the failure looks real and only shows up after this change, so I figure we should land this.

Copy link
Member

@kuhar kuhar left a comment

Choose a reason for hiding this comment

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

ok, let’s land. Also remove the test plan from the description, it’s some ai template nonsense

@kuhar
Copy link
Member

kuhar commented Mar 13, 2026

wait, I think I know why: some of the apple dev tools are needed for compiling metal shaders

Copy link
Member

@kuhar kuhar left a comment

Choose a reason for hiding this comment

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

I think you inadvertently deleted the metal compiler

@qedawkins
Copy link
Contributor Author

oh that is possible

Resolve the Xcode.app symlink before comparing, since
/Applications/Xcode.app is a symlink to a versioned Xcode_*.app
directory. Without resolving, the active Xcode (and its metal
toolchain) was being deleted.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@qedawkins qedawkins requested a review from kuhar March 13, 2026 05:16
@qedawkins
Copy link
Contributor Author

Looks like it passed after the last fix

@kuhar kuhar merged commit 86c28b2 into iree-org:main Mar 13, 2026
56 checks passed
@qedawkins qedawkins deleted the fix-macos-disk-space branch March 13, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants