From 2d942838ee77ad64444aea455151c2a882b0a06b Mon Sep 17 00:00:00 2001 From: swayaminsync Date: Sun, 7 Sep 2025 12:49:19 +0530 Subject: [PATCH 1/4] testing ccache on linux --- .github/workflows/build_wheels.yml | 400 +++++++++++++++-------------- .github/workflows/ci.yml | 166 ++++++------ 2 files changed, 294 insertions(+), 272 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 37cb843..7393e85 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -30,6 +30,16 @@ jobs: - name: Install cibuildwheel run: pip install cibuildwheel==3.1.4 + - name: Install ccache + run: sudo apt-get install -y ccache + + - name: Cache ccache + uses: actions/cache@v4 + with: + path: ~/.ccache + key: ${{ runner.os }}-ccache-${{ hashFiles('meson.build', 'subprojects/**') }} + restore-keys: ${{ runner.os }}-ccache- + - name: Build wheels env: CIBW_BUILD: "cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64 cp313t-manylinux_x86_64 cp314-manylinux_x86_64 cp314t-manylinux_x86_64" @@ -39,8 +49,17 @@ jobs: CIBW_BEFORE_ALL: | yum update -y yum install -y cmake gcc gcc-c++ make git pkgconfig + yum install -y epel-release + yum install -y ccache cmake gcc gcc-c++ make git pkgconfig + export CCACHE_DIR=/host/home/runner/.ccache + mkdir -p $CCACHE_DIR + ccache -M 1G + ccache -o compression=true CIBW_ENVIRONMENT: > + CC="ccache gcc" + CXX="ccache g++" LDFLAGS="-fopenmp" + CCACHE_DIR=/host/home/runner/.ccache CIBW_REPAIR_WHEEL_COMMAND: | auditwheel repair -w {dest_dir} --plat manylinux_2_28_x86_64 {wheel} CIBW_TEST_COMMAND: | @@ -55,197 +74,200 @@ jobs: python -m cibuildwheel --output-dir wheelhouse working-directory: ./quaddtype - - uses: actions/upload-artifact@v4 - with: - path: ./quaddtype/wheelhouse/*.whl - name: wheels-linux - - build_wheels_macos: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-13, macos-14] - - steps: - - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: ">=3.11.0" - - - name: Install dependencies - run: | - packages="cmake libomp git" - echo "Remove preinstalled dependencies" - for pkg in $packages; do - brew uninstall --ignore-dependencies $pkg 2>/dev/null || true - done - brew cleanup - brew install $packages - - - name: Installing Python dependencies - run: | - pip install -U pip - pip install cibuildwheel==3.1.4 - pip install pytest-run-parallel - - - name: Build wheels - env: - CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-* cp313t-* cp314t-*" - CIBW_ENABLE: cpython-prerelease cpython-freethreading - CIBW_ARCHS_MACOS: ${{ matrix.os == 'macos-13' && 'x86_64' || 'arm64' }} - CIBW_BUILD_VERBOSITY: "3" - CIBW_ENVIRONMENT: > - MACOSX_DEPLOYMENT_TARGET="${{ matrix.os == 'macos-13' && '13.0' || '14.0' }}" - CIBW_REPAIR_WHEEL_COMMAND: > - delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} - CIBW_TEST_COMMAND: | - pip install {package}[test] - if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then - pytest --parallel-threads=10 --iterations=10 {project}/tests - else - pytest -s {project}/tests - fi - CIBW_TEST_EXTRAS: "test" - run: | - python -m cibuildwheel --output-dir wheelhouse - working-directory: ./quaddtype - - - uses: actions/upload-artifact@v4 - with: - path: ./quaddtype/wheelhouse/*.whl - name: wheels-${{ matrix.os }} - - # disabling QBLAS optimization for windows due to incompatibility with MSVC - build_wheels_windows: - name: Build wheels on Windows - runs-on: windows-latest - strategy: - matrix: - architecture: [x64] - - steps: - - uses: actions/checkout@v3 - - - name: Setup MSVC - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: ${{ matrix.architecture }} - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: ">=3.11.0" - architecture: ${{ matrix.architecture }} - - - name: Install CMake - uses: lukka/get-cmake@latest - - - name: Install build dependencies - shell: bash -l {0} - run: | - pip install -U pip - pip install cibuildwheel==3.1.4 ninja meson meson-python numpy delvewheel pytest - - - name: Build wheels - env: - CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-* cp313t-* cp314t-*" - CIBW_ENABLE: cpython-prerelease cpython-freethreading - CIBW_SKIP: "pp* cp36-* cp37-* cp38-* cp39-*" - CIBW_ARCHS_WINDOWS: ${{ matrix.architecture == 'x86' && 'x86' || 'AMD64' }} - CIBW_BUILD_VERBOSITY: "3" - DISTUTILS_USE_SDK: "1" - MSSdk: "1" - CIBW_BEFORE_BUILD: | - pip install meson meson-python ninja numpy - CIBW_ENVIRONMENT: > - CFLAGS="/DDISABLE_QUADBLAS $CFLAGS" - CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS" - CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin' - CIBW_TEST_COMMAND: | - pip install {package}[test] - if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then - pytest --parallel-threads=10 --iterations=10 {project}/tests - else - pytest -s {project}/tests - fi - CIBW_TEST_EXTRAS: test - CIBW_TEST_FAIL_FAST: 1 - shell: pwsh - run: | - python -m cibuildwheel --output-dir wheelhouse - if (-not (Test-Path wheelhouse/*.whl)) { throw "Wheel was not created" } - working-directory: ./quaddtype + - name: Show ccache stats + run: ccache -s - uses: actions/upload-artifact@v4 with: path: ./quaddtype/wheelhouse/*.whl - name: wheels-windows-${{ matrix.architecture }} - - build_sdist: - name: Build SDist - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: ">=3.11.0" - - - name: Install system dependencies - run: | - sudo apt-get update -y - sudo apt-get install -y cmake gcc g++ make git pkg-config - - - name: Install build dependencies - run: | - python -m pip install --upgrade pip - python -m pip install build pytest - - - name: Build SDist & test sdist - env: - LDFLAGS: "-fopenmp" - run: | - python -m build --sdist --outdir dist/ - pip install dist/*.tar.gz -v - pytest -s tests - working-directory: ./quaddtype - - - name: Upload SDist artifact - uses: actions/upload-artifact@v4 - with: - name: sdist - path: ./quaddtype/dist/*.tar.gz - - publish_to_pypi: - name: Publish to PyPI - needs: - [ - build_wheels_linux, - build_wheels_macos, - build_wheels_windows, - build_sdist, - ] - runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/quaddtype-v') - - environment: - name: quadtype_release - url: https://pypi.org/p/numpy-quaddtype - - permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing - - steps: - - name: Download all workflow run artifacts - uses: actions/download-artifact@v4 - with: - pattern: "*" - path: dist - merge-multiple: true + name: wheels-linux - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + # build_wheels_macos: + # name: Build wheels on ${{ matrix.os }} + # runs-on: ${{ matrix.os }} + # strategy: + # matrix: + # os: [macos-13, macos-14] + + # steps: + # - uses: actions/checkout@v3 + + # - name: Set up Python + # uses: actions/setup-python@v4 + # with: + # python-version: ">=3.11.0" + + # - name: Install dependencies + # run: | + # packages="cmake libomp git" + # echo "Remove preinstalled dependencies" + # for pkg in $packages; do + # brew uninstall --ignore-dependencies $pkg 2>/dev/null || true + # done + # brew cleanup + # brew install $packages + + # - name: Installing Python dependencies + # run: | + # pip install -U pip + # pip install cibuildwheel==3.1.4 + # pip install pytest-run-parallel + + # - name: Build wheels + # env: + # CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-* cp313t-* cp314t-*" + # CIBW_ENABLE: cpython-prerelease cpython-freethreading + # CIBW_ARCHS_MACOS: ${{ matrix.os == 'macos-13' && 'x86_64' || 'arm64' }} + # CIBW_BUILD_VERBOSITY: "3" + # CIBW_ENVIRONMENT: > + # MACOSX_DEPLOYMENT_TARGET="${{ matrix.os == 'macos-13' && '13.0' || '14.0' }}" + # CIBW_REPAIR_WHEEL_COMMAND: > + # delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} + # CIBW_TEST_COMMAND: | + # pip install {package}[test] + # if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then + # pytest --parallel-threads=10 --iterations=10 {project}/tests + # else + # pytest -s {project}/tests + # fi + # CIBW_TEST_EXTRAS: "test" + # run: | + # python -m cibuildwheel --output-dir wheelhouse + # working-directory: ./quaddtype + + # - uses: actions/upload-artifact@v4 + # with: + # path: ./quaddtype/wheelhouse/*.whl + # name: wheels-${{ matrix.os }} + + # # disabling QBLAS optimization for windows due to incompatibility with MSVC + # build_wheels_windows: + # name: Build wheels on Windows + # runs-on: windows-latest + # strategy: + # matrix: + # architecture: [x64] + + # steps: + # - uses: actions/checkout@v3 + + # - name: Setup MSVC + # uses: ilammy/msvc-dev-cmd@v1 + # with: + # arch: ${{ matrix.architecture }} + + # - name: Set up Python + # uses: actions/setup-python@v4 + # with: + # python-version: ">=3.11.0" + # architecture: ${{ matrix.architecture }} + + # - name: Install CMake + # uses: lukka/get-cmake@latest + + # - name: Install build dependencies + # shell: bash -l {0} + # run: | + # pip install -U pip + # pip install cibuildwheel==3.1.4 ninja meson meson-python numpy delvewheel pytest + + # - name: Build wheels + # env: + # CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-* cp313t-* cp314t-*" + # CIBW_ENABLE: cpython-prerelease cpython-freethreading + # CIBW_SKIP: "pp* cp36-* cp37-* cp38-* cp39-*" + # CIBW_ARCHS_WINDOWS: ${{ matrix.architecture == 'x86' && 'x86' || 'AMD64' }} + # CIBW_BUILD_VERBOSITY: "3" + # DISTUTILS_USE_SDK: "1" + # MSSdk: "1" + # CIBW_BEFORE_BUILD: | + # pip install meson meson-python ninja numpy + # CIBW_ENVIRONMENT: > + # CFLAGS="/DDISABLE_QUADBLAS $CFLAGS" + # CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS" + # CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin' + # CIBW_TEST_COMMAND: | + # pip install {package}[test] + # if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then + # pytest --parallel-threads=10 --iterations=10 {project}/tests + # else + # pytest -s {project}/tests + # fi + # CIBW_TEST_EXTRAS: test + # CIBW_TEST_FAIL_FAST: 1 + # shell: pwsh + # run: | + # python -m cibuildwheel --output-dir wheelhouse + # if (-not (Test-Path wheelhouse/*.whl)) { throw "Wheel was not created" } + # working-directory: ./quaddtype + + # - uses: actions/upload-artifact@v4 + # with: + # path: ./quaddtype/wheelhouse/*.whl + # name: wheels-windows-${{ matrix.architecture }} + + # build_sdist: + # name: Build SDist + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + + # - name: Set up Python + # uses: actions/setup-python@v4 + # with: + # python-version: ">=3.11.0" + + # - name: Install system dependencies + # run: | + # sudo apt-get update -y + # sudo apt-get install -y cmake gcc g++ make git pkg-config + + # - name: Install build dependencies + # run: | + # python -m pip install --upgrade pip + # python -m pip install build pytest + + # - name: Build SDist & test sdist + # env: + # LDFLAGS: "-fopenmp" + # run: | + # python -m build --sdist --outdir dist/ + # pip install dist/*.tar.gz -v + # pytest -s tests + # working-directory: ./quaddtype + + # - name: Upload SDist artifact + # uses: actions/upload-artifact@v4 + # with: + # name: sdist + # path: ./quaddtype/dist/*.tar.gz + + # publish_to_pypi: + # name: Publish to PyPI + # needs: + # [ + # build_wheels_linux, + # build_wheels_macos, + # build_wheels_windows, + # build_sdist, + # ] + # runs-on: ubuntu-latest + # if: startsWith(github.ref, 'refs/tags/quaddtype-v') + + # environment: + # name: quadtype_release + # url: https://pypi.org/p/numpy-quaddtype + + # permissions: + # id-token: write # IMPORTANT: mandatory for trusted publishing + + # steps: + # - name: Download all workflow run artifacts + # uses: actions/download-artifact@v4 + # with: + # pattern: "*" + # path: dist + # merge-multiple: true + + # - name: Publish to PyPI + # uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55c3f2d..34ad8c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,88 +1,88 @@ -name: Numpy User DTypes CI +# name: Numpy User DTypes CI -on: - push: - branches: - - main - pull_request: - workflow_dispatch: +# on: +# push: +# branches: +# - main +# pull_request: +# workflow_dispatch: -jobs: - test: - runs-on: ubuntu-latest +# jobs: +# test: +# runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Setup Python - uses: actions/setup-python@v3 - with: - python-version: "3.10" - - name: Install build and test dependencies - run: | - python -m pip install -U pip build pytest unyt wheel meson ninja meson-python patchelf pandas numpy - - name: Install asciidtype - working-directory: asciidtype - run: | - CFLAGS="-Werror" python -m pip install . --no-build-isolation - - name: Run asciidtype tests - working-directory: asciidtype - run: | - pytest -vvv --color=yes - - name: Install metadatadtype - working-directory: metadatadtype - run: | - python -m build --no-isolation --wheel -Cbuilddir=build - find ./dist/*.whl | xargs python -m pip install - - name: Run metadatadtype tests - working-directory: metadatadtype - run: | - pytest -vvv --color=yes - - name: install mpfdtype - working-directory: mpfdtype - run: | - sudo apt install libmpfr-dev -y - CFLAGS="-Werror" python -m pip install . --no-build-isolation - - name: Run mpfdtype tests - working-directory: mpfdtype - run: | - pytest -vvv --color=yes - - name: Install unytdtype - working-directory: unytdtype - run: | - python -m build --no-isolation --wheel -Cbuilddir=build - find ./dist/*.whl | xargs python -m pip install - - name: Run unytdtype tests - working-directory: unytdtype - run: | - pytest -vvv --color=yes - - name: Install quaddtype dependencies - run: | - sudo apt-get update - sudo apt-get install -y libmpfr-dev libssl-dev libfftw3-dev +# steps: +# - uses: actions/checkout@v3 +# - name: Setup Python +# uses: actions/setup-python@v3 +# with: +# python-version: "3.10" +# - name: Install build and test dependencies +# run: | +# python -m pip install -U pip build pytest unyt wheel meson ninja meson-python patchelf pandas numpy +# - name: Install asciidtype +# working-directory: asciidtype +# run: | +# CFLAGS="-Werror" python -m pip install . --no-build-isolation +# - name: Run asciidtype tests +# working-directory: asciidtype +# run: | +# pytest -vvv --color=yes +# - name: Install metadatadtype +# working-directory: metadatadtype +# run: | +# python -m build --no-isolation --wheel -Cbuilddir=build +# find ./dist/*.whl | xargs python -m pip install +# - name: Run metadatadtype tests +# working-directory: metadatadtype +# run: | +# pytest -vvv --color=yes +# - name: install mpfdtype +# working-directory: mpfdtype +# run: | +# sudo apt install libmpfr-dev -y +# CFLAGS="-Werror" python -m pip install . --no-build-isolation +# - name: Run mpfdtype tests +# working-directory: mpfdtype +# run: | +# pytest -vvv --color=yes +# - name: Install unytdtype +# working-directory: unytdtype +# run: | +# python -m build --no-isolation --wheel -Cbuilddir=build +# find ./dist/*.whl | xargs python -m pip install +# - name: Run unytdtype tests +# working-directory: unytdtype +# run: | +# pytest -vvv --color=yes +# - name: Install quaddtype dependencies +# run: | +# sudo apt-get update +# sudo apt-get install -y libmpfr-dev libssl-dev libfftw3-dev - - name: Install quaddtype - working-directory: quaddtype - run: | - export LDFLAGS="-fopenmp" - python -m pip install . -v +# - name: Install quaddtype +# working-directory: quaddtype +# run: | +# export LDFLAGS="-fopenmp" +# python -m pip install . -v - - name: Run quaddtype tests - working-directory: quaddtype - run: | - pytest -vvv --color=yes - - name: Install stringdtype - working-directory: stringdtype - run: | - if [ -d "build/" ] - then - rm -r build - fi - meson setup build - python -m build --no-isolation --wheel -Cbuilddir=build --config-setting='compile-args=-v' -Csetup-args="-Dbuildtype=debug" - find ./dist/*.whl | xargs python -m pip install - - name: Run stringdtype tests - working-directory: stringdtype - run: | - pytest -s -vvv --color=yes - pip uninstall -y pandas - pytest -s -vvv --color=yes +# - name: Run quaddtype tests +# working-directory: quaddtype +# run: | +# pytest -vvv --color=yes +# - name: Install stringdtype +# working-directory: stringdtype +# run: | +# if [ -d "build/" ] +# then +# rm -r build +# fi +# meson setup build +# python -m build --no-isolation --wheel -Cbuilddir=build --config-setting='compile-args=-v' -Csetup-args="-Dbuildtype=debug" +# find ./dist/*.whl | xargs python -m pip install +# - name: Run stringdtype tests +# working-directory: stringdtype +# run: | +# pytest -s -vvv --color=yes +# pip uninstall -y pandas +# pytest -s -vvv --color=yes From 39ab30a89a17dfce1b9a9ec1d78b0df3a243cbaf Mon Sep 17 00:00:00 2001 From: swayaminsync Date: Sun, 7 Sep 2025 13:26:15 +0530 Subject: [PATCH 2/4] testing ccache on linux --- .github/workflows/build_wheels.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7393e85..c944897 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -20,7 +20,7 @@ jobs: name: Build wheels on Linux runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 @@ -37,7 +37,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.ccache - key: ${{ runner.os }}-ccache-${{ hashFiles('meson.build', 'subprojects/**') }} + key: ${{ runner.os }}-ccache-${{ hashFiles('quaddtype/meson.build', 'quaddtype/subprojects/**', 'quaddtype/numpy_quaddtype/src/**', 'quaddtype/pyproject.toml') }} restore-keys: ${{ runner.os }}-ccache- - name: Build wheels @@ -47,8 +47,6 @@ jobs: CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 CIBW_BUILD_VERBOSITY: "3" CIBW_BEFORE_ALL: | - yum update -y - yum install -y cmake gcc gcc-c++ make git pkgconfig yum install -y epel-release yum install -y ccache cmake gcc gcc-c++ make git pkgconfig export CCACHE_DIR=/host/home/runner/.ccache From 64581e3c01b729213e6d8d6c8bfe26ed3ed9d675 Mon Sep 17 00:00:00 2001 From: swayaminsync Date: Sun, 7 Sep 2025 13:52:39 +0530 Subject: [PATCH 3/4] testing ccache on linux --- .github/workflows/build_wheels.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index c944897..7f8fd40 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -53,6 +53,8 @@ jobs: mkdir -p $CCACHE_DIR ccache -M 1G ccache -o compression=true + ccache -z + ccache -s CIBW_ENVIRONMENT: > CC="ccache gcc" CXX="ccache g++" From 152162b5838fb2eb905ebe7472581942d81ce669 Mon Sep 17 00:00:00 2001 From: swayaminsync Date: Mon, 8 Sep 2025 23:56:40 +0530 Subject: [PATCH 4/4] testing ccache action --- .github/workflows/build_wheels.yml | 35 +++++++++--------------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7f8fd40..e764edf 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -20,7 +20,14 @@ jobs: name: Build wheels on Linux runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 + + - name: ccaches + uses: hendrikmuhs/ccache-action@v1.2 + with: + create-symlink: true + key: ${{ github.job }}-ubuntu-latest + verbose: 2 - name: Set up Python uses: actions/setup-python@v4 @@ -30,16 +37,6 @@ jobs: - name: Install cibuildwheel run: pip install cibuildwheel==3.1.4 - - name: Install ccache - run: sudo apt-get install -y ccache - - - name: Cache ccache - uses: actions/cache@v4 - with: - path: ~/.ccache - key: ${{ runner.os }}-ccache-${{ hashFiles('quaddtype/meson.build', 'quaddtype/subprojects/**', 'quaddtype/numpy_quaddtype/src/**', 'quaddtype/pyproject.toml') }} - restore-keys: ${{ runner.os }}-ccache- - - name: Build wheels env: CIBW_BUILD: "cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64 cp313t-manylinux_x86_64 cp314-manylinux_x86_64 cp314t-manylinux_x86_64" @@ -47,19 +44,10 @@ jobs: CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 CIBW_BUILD_VERBOSITY: "3" CIBW_BEFORE_ALL: | - yum install -y epel-release - yum install -y ccache cmake gcc gcc-c++ make git pkgconfig - export CCACHE_DIR=/host/home/runner/.ccache - mkdir -p $CCACHE_DIR - ccache -M 1G - ccache -o compression=true - ccache -z - ccache -s + yum update -y + yum install -y cmake gcc gcc-c++ make git pkgconfig CIBW_ENVIRONMENT: > - CC="ccache gcc" - CXX="ccache g++" LDFLAGS="-fopenmp" - CCACHE_DIR=/host/home/runner/.ccache CIBW_REPAIR_WHEEL_COMMAND: | auditwheel repair -w {dest_dir} --plat manylinux_2_28_x86_64 {wheel} CIBW_TEST_COMMAND: | @@ -74,9 +62,6 @@ jobs: python -m cibuildwheel --output-dir wheelhouse working-directory: ./quaddtype - - name: Show ccache stats - run: ccache -s - - uses: actions/upload-artifact@v4 with: path: ./quaddtype/wheelhouse/*.whl