Skip to content

Commit f87f11e

Browse files
Patch AArch64 detection and enable Python 3.12 in Linux AArch64 nightly wheels build (#4164)
Patch nightly AArch64 Linux wheels build.
1 parent c06e481 commit f87f11e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build_wheels_linux_aarch64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with-cpu: enable
3131
with-cuda: disable
3232
# Note: if free-threaded python is required add py3.13t here
33-
python-versions: '["3.10"]'
33+
python-versions: '["3.10", "3.12"]'
3434

3535
build:
3636
needs: generate-matrix

packaging/env_var_script_linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ if [[ ${CU_VERSION:-} == "cu124" ]]; then
2020
fi
2121

2222
# Enable C++ kernels + kleidiai in aarch64 build
23-
if [[ "$(uname -m)" =~ "^(aarch64|arm64)$" ]]; then
23+
MACHINE_HW="$(uname -m)"
24+
if [[ "${MACHINE_HW}" == "aarch64" || "${MACHINE_HW}" == "arm64" ]]; then
2425
echo "Enabling aarch64-specific build"
2526
export USE_CPP=1
2627
export USE_CPU_KERNELS=1

0 commit comments

Comments
 (0)