From 0d1decbc0757273e35721bc9161fc8754d40ca5f Mon Sep 17 00:00:00 2001 From: paugier Date: Thu, 4 Apr 2024 00:17:37 +0200 Subject: [PATCH 1/2] wheels-windows with clang-cl --- .github/workflows/wheels.yml | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 4c1b66d..1d68a8d 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -13,31 +13,51 @@ jobs: include: - os: ubuntu architecture: x86_64 - # really long (2 hours), see next job wheel-ubuntu-aarch64 + # really long (2 hours), see job wheel-ubuntu-aarch64 # - os: ubuntu # architecture: aarch64 - os: macos architecture: x86_64 - os: macos architecture: arm64 - - os: windows - architecture: AMD64 steps: - uses: actions/checkout@v4 - - uses: docker/setup-qemu-action@v2 + - uses: actions/setup-python@v5 with: - platforms: arm64 - if: runner.os == 'Linux' && matrix.architecture == 'aarch64' + python-version: 3.x + - name: Build wheels + uses: pypa/cibuildwheel@v2.16.5 + env: + CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux* + CIBW_ARCHS: ${{ matrix.architecture }} + - uses: actions/upload-artifact@v4 + with: + name: wheel-${{ matrix.os }}-${{ matrix.architecture }} + path: wheelhouse/*.whl + wheels-windows: + runs-on: ${{ matrix.os }}-latest + strategy: + fail-fast: false + matrix: + include: + - os: windows + architecture: AMD64 + steps: + - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: 3.x - - name: Build wheels uses: pypa/cibuildwheel@v2.16.5 env: CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux* CIBW_ARCHS: ${{ matrix.architecture }} + # increase pip debugging output + # CIBW_BUILD_VERBOSITY: 2 + # define CC, CXX so meson will use clang-cl instead of MSVC + CC: clang-cl + CXX: clang-cl - uses: actions/upload-artifact@v4 with: name: wheel-${{ matrix.os }}-${{ matrix.architecture }} @@ -104,6 +124,7 @@ jobs: startsWith(github.ref, 'refs/tags/') needs: - wheels + - wheels-windows - wheel-ubuntu-aarch64 - sdist - check-sdist From c5ad60bddf8834ed9b6bbcb125d2ab62280f61d8 Mon Sep 17 00:00:00 2001 From: paugier Date: Thu, 4 Apr 2024 00:18:07 +0200 Subject: [PATCH 2/2] v. 0.4.0.post1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dc32919..05b1b8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = 'mesonpy' [project] name = "fluidfft" -version = "0.4.0.post0" +version = "0.4.0.post1" description = "Efficient and easy Fast Fourier Transform (FFT) for Python." authors = [ {name = "Pierre Augier", email = "pierre.augier@legi.cnrs.fr"},