Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-llvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build LLVM
strategy:
matrix:
os: [ubuntu-20.04, macos-14]
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
Expand Down
11 changes: 8 additions & 3 deletions build-llvm-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
elif [ "$ARCH" == "arm64" ] || [ "$ARCH" == "aarch64" ]; then
TARGET_PLATFORM=AArch64
else
echo "Unsupported architecture: $ARCH"
exit 1
fi

cd "$SCRIPT_DIR"
Expand Down
Loading