Skip to content

Commit 2e768db

Browse files
committed
Test static hwloc linking on macos
1 parent 286a6d8 commit 2e768db

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
@@ -468,8 +468,12 @@ jobs:
468468
echo "$PATH" >> $GITHUB_PATH
469469
python3 -m pip install -r third_party/requirements.txt
470470
471+
- name: Install dependencies
472+
run: brew install jemalloc tbb automake
473+
471474
- name: Install hwloc
472-
run: brew install hwloc jemalloc tbb
475+
if: matrix.os == 'macos-14'
476+
run: brew install hwloc
473477

474478
- name: Configure build
475479
run: >
@@ -484,6 +488,7 @@ jobs:
484488
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
485489
-DUMF_BUILD_SHARED_LIBRARY=ON
486490
-DUMF_TESTS_FAIL_ON_SKIP=ON
491+
${{ matrix.os != 'macos-14' && '-DUMF_LINK_HWLOC_STATICALLY=ON' || '' }}
487492
488493
- name: Build UMF
489494
run: cmake --build ${{env.BUILD_DIR}} -j $(sysctl -n hw.logicalcpu)

0 commit comments

Comments
 (0)