Skip to content

Commit 190ba74

Browse files
committed
Add support for aarch64 musl
1 parent 7d8bb5e commit 190ba74

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

ci-targets.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,24 @@ linux:
322322
- lto
323323
run: true
324324

325+
aarch64-unknown-linux-musl:
326+
arch: aarch64
327+
libc: musl
328+
python_versions:
329+
- "3.9"
330+
- "3.10"
331+
- "3.11"
332+
- "3.12"
333+
- "3.13"
334+
build_options:
335+
- debug+static
336+
- noopt+static
337+
- lto+static
338+
- debug
339+
- noopt
340+
- lto
341+
run: true
342+
325343
windows:
326344
i686-pc-windows-msvc:
327345
arch: x86

cpython-unix/targets.yml

+48
Original file line numberDiff line numberDiff line change
@@ -1150,3 +1150,51 @@ x86_64_v4-unknown-linux-musl:
11501150
- xz
11511151
- zlib
11521152
openssl_target: linux-x86_64
1153+
1154+
aarch64-unknown-linux-musl:
1155+
host_platforms:
1156+
- linux64
1157+
pythons_supported:
1158+
- '3.9'
1159+
- '3.10'
1160+
- '3.11'
1161+
- '3.12'
1162+
- '3.13'
1163+
- '3.14'
1164+
needs_toolchain: true
1165+
# TODO: Actually populate these compilers?
1166+
docker_image_suffix: .cross
1167+
host_cc: /usr/bin/x86_64-linux-musl-gcc
1168+
host_cxx: /usr/bin/x86_64-linux-musl-g++
1169+
target_cc: /usr/bin/aarch64-linux-musl-gcc
1170+
target_cxx: /usr/bin/aarch64-linux-musl-g++
1171+
target_cc: musl-clang
1172+
target_cxx: clang++ # TODO: Explore a musl-clang++ shim?
1173+
target_cflags:
1174+
- '-fvisibility=hidden'
1175+
needs:
1176+
- autoconf
1177+
- bdb
1178+
- binutils
1179+
- bzip2
1180+
- expat
1181+
- libedit
1182+
- libffi-3.3
1183+
- libX11
1184+
- libXau
1185+
- libxcb
1186+
- m4
1187+
- mpdecimal
1188+
- musl
1189+
- ncurses
1190+
- openssl-3.0
1191+
- patchelf
1192+
- sqlite
1193+
- tcl
1194+
- tk
1195+
- tix
1196+
- uuid
1197+
- xorgproto
1198+
- xz
1199+
- zlib
1200+
openssl_target: linux-aarch64

0 commit comments

Comments
 (0)