diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index d5fe84b6f6..f972911e15 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -396,10 +396,11 @@ jobs: CXXCOMPILER: clang++-18 NODE_PACKAGE_TESTS_ONLY: ON - - name: linux-arm64-release + - name: linux-arm64-release-bindings + build_bindings: true continue-on-error: false node: 24 - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-26.04-arm BUILD_TYPE: Release CCOMPILER: clang-18 CXXCOMPILER: clang++-18 diff --git a/pyproject.toml b/pyproject.toml index 15fe07ecff..c0258c1261 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,9 +90,17 @@ LD_LIBRARY_PATH=/usr/local/lib64:${LD_LIBRARY_PATH} \ CCACHE_DIR=/ccache \ CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux-release"\ """ + before-build = "ccache -s && ccache -M 500M" repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}" +# Override the triplet for aarch64 — the base environment hard-codes +# x64-linux-release which only works on x86_64. The override appends a +# second CMAKE_ARGS whose value shadows the base one. +[[tool.cibuildwheel.overrides]] +select = "*-manylinux_aarch64" +environment = 'CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=arm64-linux-release"' + [tool.cibuildwheel.macos] # Build deps come from vcpkg (same pattern as Windows). VCPKG_ROOT is # exported on the runner by lukka/run-vcpkg in the workflow and inherited