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

maciej pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new b7818dbea fix(ci): pin hwloc to v2.12.2 on macOS (#2784)
b7818dbea is described below

commit b7818dbea2f4397fb368ce0d239aa2da27ad18f7
Author: Maciej Modzelewski <[email protected]>
AuthorDate: Fri Feb 20 09:13:08 2026 +0100

    fix(ci): pin hwloc to v2.12.2 on macOS (#2784)
    
    Homebrew's rolling hwloc formula can upgrade beyond the
    version hwlocality expects, breaking macOS CI builds.
    Pin the Homebrew install to a specific hwloc 2.12.2_1
    formula revision to prevent unexpected upgrades.
---
 .github/actions/utils/setup-rust-with-cache/action.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/actions/utils/setup-rust-with-cache/action.yml 
b/.github/actions/utils/setup-rust-with-cache/action.yml
index 12d8e96e0..bf86d6aab 100644
--- a/.github/actions/utils/setup-rust-with-cache/action.yml
+++ b/.github/actions/utils/setup-rust-with-cache/action.yml
@@ -49,7 +49,12 @@ runs:
     - name: Install system dependencies (macOS)
       if: runner.os == 'macOS'
       run: |
-        brew install hwloc
+        # Pin version of hwloc to 2.12.2_1
+        # brew extract doesn't have this version, so we fetch the formula 
directly
+        brew tap-new iggy/local-hwloc
+        curl -fsSL 
https://raw.githubusercontent.com/Homebrew/homebrew-core/bb1e23f8e5eacf4d31acd489f6079c8a53ebd690/Formula/h/hwloc.rb
 \
+          -o "$(brew --repository iggy/local-hwloc)/Formula/hwloc.rb"
+        brew install iggy/local-hwloc/hwloc
       shell: bash
 
     - name: Setup Rust toolchain

Reply via email to