This is an automated email from the ASF dual-hosted git repository.

maciej pushed a commit to branch fix-hwloc-version-on-macos
in repository https://gitbox.apache.org/repos/asf/iggy.git

commit cf298e5201a1ba85126ba8b55f2df012aa2151a4
Author: Maciej Modzelewski <[email protected]>
AuthorDate: Thu Feb 19 21:26:36 2026 +0100

    fix(ci): pin hwloc to v2.12.1 on macOS
    
    Homebrew's rolling hwloc formula can upgrade beyond the
    version hwlocality expects, breaking macOS CI builds.
    Pin the Homebrew install to [email protected] and enable the
    matching hwloc-2_12_1 feature gate in hwlocality.
---
 .github/actions/utils/setup-rust-with-cache/action.yml | 2 +-
 core/server/Cargo.toml                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/actions/utils/setup-rust-with-cache/action.yml 
b/.github/actions/utils/setup-rust-with-cache/action.yml
index 12d8e96e0..6c7647ace 100644
--- a/.github/actions/utils/setup-rust-with-cache/action.yml
+++ b/.github/actions/utils/setup-rust-with-cache/action.yml
@@ -49,7 +49,7 @@ runs:
     - name: Install system dependencies (macOS)
       if: runner.os == 'macOS'
       run: |
-        brew install hwloc
+        brew install [email protected]
       shell: bash
 
     - name: Setup Rust toolchain
diff --git a/core/server/Cargo.toml b/core/server/Cargo.toml
index 057ae6281..532d959e0 100644
--- a/core/server/Cargo.toml
+++ b/core/server/Cargo.toml
@@ -109,7 +109,7 @@ ulid = { workspace = true }
 uuid = { workspace = true }
 
 [target.'cfg(not(target_env = "musl"))'.dependencies]
-hwlocality = { workspace = true }
+hwlocality = { workspace = true, features = ["hwloc-2_12_1"] }
 
 [target.'cfg(target_env = "musl")'.dependencies]
 hwlocality = { workspace = true, features = ["vendored"] }

Reply via email to