Skip to content

Commit 7eeb2a9

Browse files
committed
Workaround failing MacOS CI builds
Building of UMF sometimes fails on MacOS, because of multi-job compilation of jemalloc built from sources: install: mkdir /Users/runner/work/unified-memory-framework/unified-memory-framework/build/_deps/jemalloc_targ-build/share: File exists Add one-job compilation to workaround this error. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent fc1cbed commit 7eeb2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ jobs:
496496
${{matrix.static_hwloc}}
497497
498498
- name: Build UMF
499-
run: cmake --build ${{env.BUILD_DIR}} -j $(sysctl -n hw.logicalcpu)
499+
run: cmake --build ${{env.BUILD_DIR}} -j $(sysctl -n hw.logicalcpu) || ( rm -rf ${{env.BUILD_DIR}}/_deps/jemalloc_targ-build && cmake --build ${{env.BUILD_DIR}} -j 1 )
500500

501501
- name: Test UMF installation and uninstallation
502502
run: >

0 commit comments

Comments
 (0)