Skip to content

Commit e39e455

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/reusable_basic.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,9 @@ jobs:
453453
strategy:
454454
matrix:
455455
os: ['macos-13', 'macos-14']
456+
include:
457+
- os: macos-14
458+
static_hwloc: '-DUMF_LINK_HWLOC_STATICALLY=ON'
456459
env:
457460
BUILD_TYPE : "Release"
458461
runs-on: ${{matrix.os}}
@@ -471,8 +474,12 @@ jobs:
471474
echo "$PATH" >> $GITHUB_PATH
472475
python3 -m pip install -r third_party/requirements.txt
473476
477+
- name: Install dependencies
478+
run: brew install jemalloc tbb automake libtool
479+
474480
- name: Install hwloc
475-
run: brew install hwloc tbb automake
481+
if: ${{ !matrix.static_hwloc }}
482+
run: brew install hwloc
476483

477484
- name: Get UMF version
478485
run: |
@@ -492,6 +499,7 @@ jobs:
492499
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
493500
-DUMF_BUILD_SHARED_LIBRARY=ON
494501
-DUMF_TESTS_FAIL_ON_SKIP=ON
502+
${{matrix.static_hwloc}}
495503
496504
- name: Build UMF
497505
run: cmake --build ${{env.BUILD_DIR}} -j $(sysctl -n hw.logicalcpu)

0 commit comments

Comments
 (0)