Skip to content

Commit d8ebb63

Browse files
FIX hot fix for musl
1 parent babbef3 commit d8ebb63

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/llvm-x86_64-unknown-linux-musl.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Installing dependencies
2929
run: |
3030
sudo apt-get update
31-
sudo apt-get install -y build-essential cmake ninja-build python3 wget libz-dev binutils xz-utils gcc g++
31+
sudo apt-get install -y build-essential cmake ninja-build python3 wget libz-dev binutils xz-utils gcc g++ lld
3232
3333
sudo apt-get remove -y llvm-16* clang-16* || true
3434
sudo rm -rf /usr/lib/llvm-16
@@ -52,6 +52,7 @@ jobs:
5252
-DCMAKE_BUILD_TYPE=Release \
5353
-DLLVM_ENABLE_PROJECTS="llvm" \
5454
-DLLVM_TARGETS_TO_BUILD="X86" \
55+
-DLLVM_USE_LINKER=lld \
5556
-DLLVM_BUILD_TESTS=OFF \
5657
-DLLVM_INCLUDE_TESTS=OFF \
5758
-DLLVM_INCLUDE_EXAMPLES=OFF \
@@ -108,7 +109,9 @@ jobs:
108109
109110
- name: Preparing distribution files
110111
run: |
111-
mkdir -p tempDir/{lib,bin,include}
112+
mkdir -p tempDir/lib
113+
mkdir -p tempDir/bin
114+
mkdir -p tempDir/include
112115
113116
cp -r llvm-build/dist/lib/* tempDir/lib/
114117
cp -r llvm-build/dist/bin/* tempDir/bin/

0 commit comments

Comments
 (0)