Skip to content

Test on Intel macOS in CI - #157

Merged
shinaoka merged 1 commit into
mainfrom
ci/test-x86_64-macos
Sep 25, 2026
Merged

shinaoka merged 1 commit into
mainfrom
ci/test-x86_64-macos

Conversation

@shinaoka

Copy link
Copy Markdown
Member

Summary

  • Add a Julia 1 job on macos-15-intel (x86_64) to CI.yml and PkgAdd.yml.
  • Update the CI matrix description in REPOSITORY_RULES.md. That file says contradictions must be fixed in the same PR.

Why

#138: using SparseIR failed on x86_64 macOS with UndefVarError: `libsparseir` not defined in `libsparseir_jll` , because libsparseir_jll had no x86_64-apple-darwin build.

  • [libsparseir] Add x86_64 macOS build JuliaPackaging/Yggdrasil#14543 added that build. libsparseir_jll 0.8.4+1 now ships 7 platforms, including x86_64-apple-darwin.
  • SparseIR.jl needs no code change: its compat (libsparseir_jll = "0.8, 0.9") already admits 0.8.4+1.
  • Until now CI only ran on Linux x64 and macOS arm64, so nothing guarded Intel macOS.

Notes

  • Runner: macos-15-intel is the remaining x86_64 macOS runner on GitHub Actions; GitHub supports it until August 2027.
  • Workflows covered:
  • No OpenBLAS step: PkgAdd.yml installs OpenBLAS only for ubuntu-latest and macOS-latest, so the step is skipped on the Intel job. The JLL path does not need it.
  • One job per workflow: only Julia 1 is added. lts is not mirrored, to keep macOS minutes down.
  • Not changed: CI_with_latest_rust_backend.yml. It builds the Rust backend with cargo, which is a separate question.

Closes #138

🤖 Generated with Claude Code

`using SparseIR` failed on x86_64 macOS because libsparseir_jll had no
x86_64-apple-darwin build (#138). libsparseir_jll 0.8.4+1, built after
JuliaPackaging/Yggdrasil#14543, now ships one.

Add a Julia 1 job on macos-15-intel, the remaining x86_64 macOS runner, to
CI.yml (tests against the checked-in Manifest) and PkgAdd.yml (fresh
Pkg.add, the path #138 was reported on), so Intel macOS stays covered.
Update the matrix description in REPOSITORY_RULES.md to match.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@shinaoka
shinaoka merged commit 1c0c4f5 into main Sep 25, 2026
17 checks passed
@shinaoka
shinaoka deleted the ci/test-x86_64-macos branch September 25, 2026 06:11
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.

macOS x86_64: using SparseIR fails because libsparseir_jll has no libsparseir product

1 participant