We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1042e6b commit 267fd08Copy full SHA for 267fd08
.github/workflows/build-llvm.yaml
@@ -13,7 +13,7 @@ jobs:
13
name: Build LLVM
14
strategy:
15
matrix:
16
- os: [ubuntu-20.04, macos-14]
+ os: [ubuntu-24.04, ubuntu-24.04-arm, macos-14]
17
runs-on: ${{ matrix.os }}
18
steps:
19
- name: checkout
build-llvm-libs.sh
@@ -13,10 +13,15 @@ fi
CC=clang
CXX=clang++
-TARGET_PLATFORM=X86
-if [ "$(uname)" == "Darwin" ]; then
- # On Mac we only support the new apple silicon architecture.
+ARCH=$(uname -m)
+
+if [ "$ARCH" == "x86_64" ]; then
+ TARGET_PLATFORM=X86
20
+elif [ "$ARCH" == "arm64" ] || [ "$ARCH" == "aarch64" ]; then
21
TARGET_PLATFORM=AArch64
22
+else
23
+ echo "Unsupported architecture: $ARCH"
24
+ exit 1
25
fi
26
27
cd "$SCRIPT_DIR"
0 commit comments