Skip to content

Commit 958aceb

Browse files
committed
Test static hwloc linking on macos
1 parent 76e4f12 commit 958aceb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/reusable_basic.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,12 @@ jobs:
471471
echo "$PATH" >> $GITHUB_PATH
472472
python3 -m pip install -r third_party/requirements.txt
473473
474+
- name: Install dependencies
475+
run: brew install jemalloc tbb automake
476+
474477
- name: Install hwloc
475-
run: brew install hwloc tbb automake
478+
if: matrix.os == 'macos-14'
479+
run: brew install hwloc
476480

477481
- name: Get UMF version
478482
run: |
@@ -492,6 +496,7 @@ jobs:
492496
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
493497
-DUMF_BUILD_SHARED_LIBRARY=ON
494498
-DUMF_TESTS_FAIL_ON_SKIP=ON
499+
${{ matrix.os != 'macos-14' && '-DUMF_LINK_HWLOC_STATICALLY=ON' || '' }}
495500
496501
- name: Build UMF
497502
run: cmake --build ${{env.BUILD_DIR}} -j $(sysctl -n hw.logicalcpu)

0 commit comments

Comments
 (0)