From 7af72b9c095b55d348cdae8f4ca7a93bb167ad13 Mon Sep 17 00:00:00 2001 From: Bruno Manuel Santos Saraiva Date: Wed, 9 Jul 2025 10:27:27 +0100 Subject: [PATCH 1/2] further changes to gha --- .github/workflows/build_test_deploy_all_wheels.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_test_deploy_all_wheels.yml b/.github/workflows/build_test_deploy_all_wheels.yml index 7c386535..91efb1a0 100644 --- a/.github/workflows/build_test_deploy_all_wheels.yml +++ b/.github/workflows/build_test_deploy_all_wheels.yml @@ -28,7 +28,11 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: 3.9 # Works as bootstrap for cibuildwheel + python-version: | + 3.9 + 3.10 + 3.11 + 3.12 - name: Install cibuildwheel and nox run: | @@ -53,7 +57,6 @@ jobs: CL_INC_DIR=/usr/include CL_LIB_DIR=/usr/lib/x86_64-linux-gnu CL_LIBNAME=OpenCL - CIBW_BEFORE_ALL_LINUX: 'yum install -y opencl-headers' - name: Test wheels (only on macOS ARM64) if: matrix.os == 'macOS-ARM' From b897a5363069b6adf01fbda6630d4102a82b996e Mon Sep 17 00:00:00 2001 From: Bruno Manuel Santos Saraiva Date: Wed, 9 Jul 2025 10:28:38 +0100 Subject: [PATCH 2/2] explicitly adding opencl libs --- .github/workflows/build_test_deploy_all_wheels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_test_deploy_all_wheels.yml b/.github/workflows/build_test_deploy_all_wheels.yml index 91efb1a0..bf2dd950 100644 --- a/.github/workflows/build_test_deploy_all_wheels.yml +++ b/.github/workflows/build_test_deploy_all_wheels.yml @@ -54,9 +54,12 @@ jobs: CIBW_ENVIRONMENT: > PIP_ONLY_BINARY=pillow PIP_NO_BUILD_ISOLATION=1 + CFLAGS="-I/usr/include" + LDFLAGS="-L/usr/lib/x86_64-linux-gnu" CL_INC_DIR=/usr/include CL_LIB_DIR=/usr/lib/x86_64-linux-gnu CL_LIBNAME=OpenCL + CIBW_ENVIRONMENT_PASS_LINUX: CL_INC_DIR,CL_LIB_DIR,CL_LIBNAME,CFLAGS,LDFLAGS - name: Test wheels (only on macOS ARM64) if: matrix.os == 'macOS-ARM'