Skip to content

Commit 81b4d99

Browse files
[CI] Use static hwloc on RHEL
to work around the issue, there's too old version of hwloc available.
1 parent 7416aa0 commit 81b4d99

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/reusable_multi_numa.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,17 @@ jobs:
4646
-DUMF_DEVELOPER_MODE=ON
4747
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
4848
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=${{ matrix.os == 'rhel-9.1' && 'OFF' || 'ON' }}
49+
-DUMF_LINK_HWLOC_STATICALLY=${{ matrix.os == 'ubuntu-22.04' && 'OFF' || 'ON' }}
4950
-DUMF_TESTS_FAIL_ON_SKIP=ON
5051
${{ matrix.build_type == 'Debug' && matrix.os == 'ubuntu-22.04' && '-DUMF_USE_COVERAGE=ON' || '' }}
5152
5253
- name: Build UMF
5354
run: cmake --build ${{github.workspace}}/build -j $(nproc)
5455

5556
- name: Run tests
56-
if: matrix.os != 'rhel-9.1'
5757
working-directory: ${{github.workspace}}/build
5858
run: ctest --output-on-failure --test-dir test
5959

60-
# On RHEL, hwloc version is just a little too low.
61-
# Skip some tests until we upgrade hwloc and update CMake to properly handle local hwloc installation.
62-
# TODO: fix issue #560
63-
- name: Run tests (on RHEL)
64-
if: matrix.os == 'rhel-9.1'
65-
working-directory: ${{github.workspace}}/build
66-
run: |
67-
ctest --output-on-failure --test-dir test -E "umf-provider_os_memory_multiple_numa_nodes"
68-
./test/umf_test-provider_os_memory_multiple_numa_nodes \
69-
--gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave"
70-
7160
- name: Check coverage
7261
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'ubuntu-22.04' }}
7362
working-directory: ${{env.BUILD_DIR}}

0 commit comments

Comments
 (0)