Skip to content

Commit 4fabf50

Browse files
committed
Build for aarch64 linux hosts
1 parent 5271fa4 commit 4fabf50

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.github/workflows/bazel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
host:
1616
- name: x86_64-unknown-linux-gnu
1717
runs-on: ubuntu-24.04
18+
- name: aarch64-unknown-linux-gnu
19+
runs-on: ubuntu-24.04-arm
1820
- name: x86_64-apple-macos
1921
runs-on: macos-13
2022
- name: arm64-apple-macos

.github/workflows/bazel_impl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818
jobs:
1919

2020
test-bazel-rules:
21+
# TODO remove once toolchain is released
22+
if: ${{ inputs.use-built-toolchain || inputs.host != 'aarch64-unknown-linux-gnu' }}
2123

2224
name: test ${{ inputs.target }} target on ${{ inputs.host }} host
2325
runs-on: ${{ inputs.runs-on }}

.github/workflows/build-toolchain.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: armv7-unknown-linux-gnueabihf
2121
os: ubuntu-24.04
2222
- name: aarch64-unknown-linux-gnu
23-
os: ubuntu-24.04
23+
os: ubuntu-24.04-arm
2424
name: gcc ${{ matrix.target.name }}
2525
runs-on: ${{ matrix.target.os }}
2626
env:
@@ -71,7 +71,7 @@ jobs:
7171
- name: armv7-unknown-linux-gnueabihf
7272
os: ubuntu-24.04
7373
- name: aarch64-unknown-linux-gnu
74-
os: ubuntu-24.04
74+
os: ubuntu-24.04-arm
7575
name: sysroot ${{ matrix.target.name }}
7676
runs-on: ${{ matrix.target.os }}
7777
steps:
@@ -106,6 +106,9 @@ jobs:
106106
- name: x86_64-unknown-linux-gnu
107107
os: ubuntu-24.04
108108
type: linux
109+
- name: aarch64-unknown-linux-gnu
110+
os: ubuntu-24.04-arm
111+
type: linux
109112
- name: x86_64-apple-macos
110113
os: macos-13
111114
type: macos

bazel/detail/assets/assets.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"url": "https://github.com/CACI-International/cpp-toolchain/releases/download/toolchain-2025.03.03/llvm-x86_64-unknown-linux-gnu.tar.xz",
1515
"integrity": "sha256-K8g0ZNcHXU/NEfxrL3376w1b7GCeSlO7XK+R2/C0HHw="
1616
},
17+
{
18+
"name": "llvm-aarch64-unknown-linux-gnu",
19+
"url": "https://github.com/CACI-International/cpp-toolchain/releases/download/toolchain-2025.03.03/llvm-x86_64-unknown-linux-gnu.tar.xz",
20+
"integrity": "sha256-K8g0ZNcHXU/NEfxrL3376w1b7GCeSlO7XK+R2/C0HHw="
21+
},
1722
{
1823
"name": "sysroot-aarch64-unknown-linux-gnu",
1924
"url": "https://github.com/CACI-International/cpp-toolchain/releases/download/toolchain-2025.03.03/sysroot-aarch64-unknown-linux-gnu.tar.xz",

0 commit comments

Comments
 (0)