From 1f50c51d9c34587b55598257d38fc89aa4bf692b Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:01:12 +1100 Subject: [PATCH 01/10] BLD: system compiler --- .github/workflows/wheels.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 242ed6e..1d179fb 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -51,17 +51,17 @@ jobs: # should also be able to do multi-archs on a single entry, e.g. # [windows-2025, win*, "AMD64 x86"]. However, those two require a different compiler setup # so easier to separate out here. - - [ubuntu-24.04, manylinux, x86_64, "", ""] - - [ubuntu-24.04, musllinux, x86_64, "", ""] - - [ubuntu-24.04-arm, manylinux, aarch64, "", ""] - - [ubuntu-24.04-arm, musllinux, aarch64, "", ""] +# - [ubuntu-24.04, manylinux, x86_64, "", ""] +# - [ubuntu-24.04, musllinux, x86_64, "", ""] +# - [ubuntu-24.04-arm, manylinux, aarch64, "", ""] +# - [ubuntu-24.04-arm, musllinux, aarch64, "", ""] - [macos-13, macosx, x86_64, openblas, "10.14"] - [macos-15-intel, macosx, x86_64, accelerate, "14.0"] - [macos-14, macosx, arm64, openblas, "12.3"] - [macos-14, macosx, arm64, accelerate, "14.0"] - - [windows-2025, win, AMD64, "", ""] - - [windows-11-arm, win, ARM64, "", ""] - python: [["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"], ["cp314", "cp314"], ["cp314t", "cp314"]] +# - [windows-2025, win, AMD64, "", ""] +# - [windows-11-arm, win, ARM64, "", ""] + python: [["cp311", "3.11"]]#, ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"], ["cp314", "cp314"], ["cp314t", "cp314"]] # python[0] is used to specify the python versions made by cibuildwheel steps: @@ -171,6 +171,10 @@ jobs: conda init conda create -q -y -n build compilers echo "conda activate build" >> $HOME/.bash_profile + + # make sure OS clang is picked up first, not conda-forge clang + echo "PATH=/usr/bin:$PATH" >> $HOME/.bash_profile + cat $HOME/.bash_profile CIBW_ENV="CIBW_ENVIRONMENT_MACOS=PKG_CONFIG_PATH=$PWD/.openblas \ From 3fa4f5b0ae8b50a26733881e0022c8b023e09681 Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:01:36 +1100 Subject: [PATCH 02/10] BLD: system compiler --- .github/workflows/wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1d179fb..3cd7d82 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -189,6 +189,7 @@ jobs: - name: Build Wheels shell: bash -el {0} run: | + echo $PATH pip install cibuildwheel export CIBW_BUILD=${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}* export CIBW_ARCHS=${{ matrix.buildplat[2] }} From 8b7df8518caa6ebb7201d5fab8d47079433ed23e Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:03:59 +1100 Subject: [PATCH 03/10] BLD: system compiler --- .github/workflows/wheels.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 3cd7d82..b37133b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -51,16 +51,16 @@ jobs: # should also be able to do multi-archs on a single entry, e.g. # [windows-2025, win*, "AMD64 x86"]. However, those two require a different compiler setup # so easier to separate out here. -# - [ubuntu-24.04, manylinux, x86_64, "", ""] -# - [ubuntu-24.04, musllinux, x86_64, "", ""] -# - [ubuntu-24.04-arm, manylinux, aarch64, "", ""] + # - [ubuntu-24.04, manylinux, x86_64, "", ""] + # - [ubuntu-24.04, musllinux, x86_64, "", ""] + # - [ubuntu-24.04-arm, manylinux, aarch64, "", ""] # - [ubuntu-24.04-arm, musllinux, aarch64, "", ""] - [macos-13, macosx, x86_64, openblas, "10.14"] - [macos-15-intel, macosx, x86_64, accelerate, "14.0"] - [macos-14, macosx, arm64, openblas, "12.3"] - [macos-14, macosx, arm64, accelerate, "14.0"] -# - [windows-2025, win, AMD64, "", ""] -# - [windows-11-arm, win, ARM64, "", ""] + # - [windows-2025, win, AMD64, "", ""] + # - [windows-11-arm, win, ARM64, "", ""] python: [["cp311", "3.11"]]#, ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"], ["cp314", "cp314"], ["cp314t", "cp314"]] # python[0] is used to specify the python versions made by cibuildwheel From 41e8ddb25e8ee820d8afcdfd3257333c1b9b4c82 Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:04:39 +1100 Subject: [PATCH 04/10] BLD: system compiler --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b37133b..7fc4753 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -54,7 +54,7 @@ jobs: # - [ubuntu-24.04, manylinux, x86_64, "", ""] # - [ubuntu-24.04, musllinux, x86_64, "", ""] # - [ubuntu-24.04-arm, manylinux, aarch64, "", ""] -# - [ubuntu-24.04-arm, musllinux, aarch64, "", ""] + # - [ubuntu-24.04-arm, musllinux, aarch64, "", ""] - [macos-13, macosx, x86_64, openblas, "10.14"] - [macos-15-intel, macosx, x86_64, accelerate, "14.0"] - [macos-14, macosx, arm64, openblas, "12.3"] From 569585eb58055c15b6beebec5acdd73f9be865db Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:15:13 +1100 Subject: [PATCH 05/10] BLD: system compiler --- .github/workflows/wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 7fc4753..97dcb55 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -155,6 +155,7 @@ jobs: # Builds with Accelerate only target macOS>=14.0 CIBW_ENV="CIBW_ENVIRONMENT_MACOS=MACOSX_DEPLOYMENT_TARGET=14.0 INSTALL_OPENBLAS=false" else + which clang # use conda-forge compilers the difficult targets INSTALL_DIR=/Users/runner/miniforge3 From f4bbf023935ec5feb66e86c7d36857e2e1732ebd Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:22:32 +1100 Subject: [PATCH 06/10] BLD: system compiler --- .github/workflows/wheels.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 97dcb55..b7f4665 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -190,7 +190,9 @@ jobs: - name: Build Wheels shell: bash -el {0} run: | + which clang echo $PATH + printenv pip install cibuildwheel export CIBW_BUILD=${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}* export CIBW_ARCHS=${{ matrix.buildplat[2] }} From b3d5853850cc9c5b8e91cd524fdecd433404f19f Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:42:31 +1100 Subject: [PATCH 07/10] BLD: system compiler --- .github/workflows/wheels.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b7f4665..39993bf 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -173,9 +173,6 @@ jobs: conda create -q -y -n build compilers echo "conda activate build" >> $HOME/.bash_profile - # make sure OS clang is picked up first, not conda-forge clang - echo "PATH=/usr/bin:$PATH" >> $HOME/.bash_profile - cat $HOME/.bash_profile CIBW_ENV="CIBW_ENVIRONMENT_MACOS=PKG_CONFIG_PATH=$PWD/.openblas \ @@ -190,9 +187,7 @@ jobs: - name: Build Wheels shell: bash -el {0} run: | - which clang - echo $PATH - printenv + export PATH=/usr/bin:$PATH pip install cibuildwheel export CIBW_BUILD=${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}* export CIBW_ARCHS=${{ matrix.buildplat[2] }} From 50f4803b138aea8beb3fc3c86ee922b83efbd61c Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:48:14 +1100 Subject: [PATCH 08/10] BLD: system compiler --- .github/workflows/wheels.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 39993bf..dd96f9e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -171,7 +171,9 @@ jobs: source "${INSTALL_DIR}/etc/profile.d/conda.sh" conda init conda create -q -y -n build compilers - echo "conda activate build" >> $HOME/.bash_profile + echo 'conda activate build' >> $HOME/.bash_profile + # make sure OS clang is picked up first, not conda-forge clang + echo 'PATH=/usr/bin:$PATH' >> $HOME/.bash_profile cat $HOME/.bash_profile @@ -187,7 +189,6 @@ jobs: - name: Build Wheels shell: bash -el {0} run: | - export PATH=/usr/bin:$PATH pip install cibuildwheel export CIBW_BUILD=${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}* export CIBW_ARCHS=${{ matrix.buildplat[2] }} From fca29e78083d05c849acd401011df99ce8ae8ebc Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 18:55:15 +1100 Subject: [PATCH 09/10] BLD: system compiler --- .github/workflows/wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index dd96f9e..53bbba1 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -189,6 +189,7 @@ jobs: - name: Build Wheels shell: bash -el {0} run: | + printenv pip install cibuildwheel export CIBW_BUILD=${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}* export CIBW_ARCHS=${{ matrix.buildplat[2] }} From 6d2c081bc9d0cd9df8a24bd6bfe4eb63f230ec55 Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 27 Oct 2025 19:25:55 +1100 Subject: [PATCH 10/10] BLD: system compiler --- .github/workflows/wheels.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 53bbba1..dd96f9e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -189,7 +189,6 @@ jobs: - name: Build Wheels shell: bash -el {0} run: | - printenv pip install cibuildwheel export CIBW_BUILD=${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}* export CIBW_ARCHS=${{ matrix.buildplat[2] }}