Skip to content

Commit 4ccfbf7

Browse files
committed
Download compilaer
1 parent da9015a commit 4ccfbf7

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/release-binaries-all.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ jobs:
8888
# We use ubuntu-22.04 rather than the latest version to make the built
8989
# binaries more portable (eg functional aginast older glibc).
9090
runs-on:
91-
- ubuntu-22.04
92-
- ubuntu-22.04-arm
9391
- macos-14
9492

9593
uses: ./.github/workflows/release-binaries.yml

.github/workflows/release-binaries.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,18 @@ jobs:
202202
fi
203203
echo "build-prefix=$build_prefix" >> $GITHUB_OUTPUT
204204
205+
- name: Download optimized compiler
206+
shell: bash
207+
run: |
208+
curl -O -L https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/LLVM-20.1.8-macOS-ARM64.tar.xz
209+
tar -xJf LLVM-20.1.8-macOS-ARM64.tar.xz
210+
205211
- name: Configure
206212
id: build
207213
shell: bash
214+
env:
215+
CC: ${{ github.workspace }}/llvm-project/LLVM-20.1.8-macOS-ARM64/bin/clang
216+
CXX: ${{ github.workspace }}/llvm-project/LLVM-20.1.8-macOS-ARM64/bin/clang++
208217
run: |
209218
# There were some issues on the ARM64 MacOS runners with trying to build x86 object,
210219
# so we need to set some extra cmake flags to disable this.

0 commit comments

Comments
 (0)