From bcbeedbe0c0d5e8d4e0475eea9b2b1553118c7c1 Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Tue, 21 Jan 2025 13:42:42 +0100 Subject: [PATCH 1/4] Try linux arm wheels --- .github/workflows/pypi_deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pypi_deploy.yml b/.github/workflows/pypi_deploy.yml index 55982925..a3402485 100644 --- a/.github/workflows/pypi_deploy.yml +++ b/.github/workflows/pypi_deploy.yml @@ -42,6 +42,7 @@ jobs: matrix: os: - ubuntu-latest + - ubuntu-24.04-arm - macos-13 # intel - macos-14 # apple silicon steps: @@ -71,6 +72,7 @@ jobs: matrix: os: - ubuntu-latest + - ubuntu-24.04-arm - macos-13 # intel - macos-14 # apple silicon steps: From c2f2e8f03d0ae5b481952e6a3630042c9df0cd2e Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Tue, 21 Jan 2025 13:55:49 +0100 Subject: [PATCH 2/4] Update pypi_deploy.yml --- .github/workflows/pypi_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi_deploy.yml b/.github/workflows/pypi_deploy.yml index a3402485..f8d2a255 100644 --- a/.github/workflows/pypi_deploy.yml +++ b/.github/workflows/pypi_deploy.yml @@ -52,7 +52,7 @@ jobs: env: CIBW_SKIP: pp* *musllinux* cp36-* cp37-* CIBW_BEFORE_BUILD_LINUX: yum -y install boost-devel - CIBW_ARCHS_LINUX: "x86_64" + CIBW_ARCHS_LINUX: fromJSON('["x86_64", "aarch64"]')[matrix.os == 'ubuntu-24.04-arm'] # poor man ternary https://github.com/orgs/community/discussions/25725#discussioncomment-3248924 CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 CIBW_BEFORE_BUILD_MACOS: brew install boost # should be ok as we only use headers MACOSX_DEPLOYMENT_TARGET: 10.15 From e7d678b02f03554dffed7b459e0ecd09acb78bb6 Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Tue, 21 Jan 2025 13:58:11 +0100 Subject: [PATCH 3/4] Update pypi_deploy.yml --- .github/workflows/pypi_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi_deploy.yml b/.github/workflows/pypi_deploy.yml index f8d2a255..462a282d 100644 --- a/.github/workflows/pypi_deploy.yml +++ b/.github/workflows/pypi_deploy.yml @@ -52,7 +52,7 @@ jobs: env: CIBW_SKIP: pp* *musllinux* cp36-* cp37-* CIBW_BEFORE_BUILD_LINUX: yum -y install boost-devel - CIBW_ARCHS_LINUX: fromJSON('["x86_64", "aarch64"]')[matrix.os == 'ubuntu-24.04-arm'] # poor man ternary https://github.com/orgs/community/discussions/25725#discussioncomment-3248924 + CIBW_ARCHS_LINUX: ${{ fromJSON('["x86_64", "aarch64"]')[matrix.os == 'ubuntu-24.04-arm'] }} # poor man ternary https://github.com/orgs/community/discussions/25725#discussioncomment-3248924 CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 CIBW_BEFORE_BUILD_MACOS: brew install boost # should be ok as we only use headers MACOSX_DEPLOYMENT_TARGET: 10.15 From e8f43d3d5f93db7e44612e8ff91edf0f35a18fab Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Tue, 21 Jan 2025 20:40:26 +0100 Subject: [PATCH 4/4] Update pypi_deploy.yml --- .github/workflows/pypi_deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypi_deploy.yml b/.github/workflows/pypi_deploy.yml index 462a282d..effb22d9 100644 --- a/.github/workflows/pypi_deploy.yml +++ b/.github/workflows/pypi_deploy.yml @@ -54,6 +54,7 @@ jobs: CIBW_BEFORE_BUILD_LINUX: yum -y install boost-devel CIBW_ARCHS_LINUX: ${{ fromJSON('["x86_64", "aarch64"]')[matrix.os == 'ubuntu-24.04-arm'] }} # poor man ternary https://github.com/orgs/community/discussions/25725#discussioncomment-3248924 CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28 CIBW_BEFORE_BUILD_MACOS: brew install boost # should be ok as we only use headers MACOSX_DEPLOYMENT_TARGET: 10.15 with: