Skip to content

Commit 3fac5f8

Browse files
Merge pull request #1164 from PatKamin/llvm-linker
Add lld linker CI job
2 parents d2ddb6e + 90a2a91 commit 3fac5f8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/reusable_basic.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,17 @@ jobs:
7474
install_tbb: 'ON'
7575
disable_hwloc: 'OFF'
7676
link_hwloc_statically: 'OFF'
77+
# test lld linker
78+
- os: 'ubuntu-24.04'
79+
build_type: Release
80+
compiler: {c: icx, cxx: icpx}
81+
shared_library: 'ON'
82+
level_zero_provider: 'ON'
83+
cuda_provider: 'ON'
84+
install_tbb: 'ON'
85+
disable_hwloc: 'OFF'
86+
link_hwloc_statically: 'OFF'
87+
llvm_linker: '-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld" -DCMAKE_MODULE_LINKER_FLAGS="-fuse-ld=lld" -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=lld"'
7788
# test without installing TBB
7889
- os: 'ubuntu-22.04'
7990
build_type: Release
@@ -160,6 +171,7 @@ jobs:
160171
-DUMF_DISABLE_HWLOC=${{matrix.disable_hwloc}}
161172
-DUMF_LINK_HWLOC_STATICALLY=${{matrix.link_hwloc_statically}}
162173
${{ matrix.build_type == 'Debug' && matrix.compiler.c == 'gcc' && '-DUMF_USE_COVERAGE=ON' || '' }}
174+
${{ matrix.llvm_linker || '' }}
163175
164176
- name: Build UMF
165177
run: |

0 commit comments

Comments
 (0)