Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ jobs:
echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d '.' -f 1-2)" >> $GITHUB_ENV
# This does not work inside CIBW_BEFORE_ALL_MACOS; Without it, the wheel repair fails.

- name: Windows - Set up pkg-config and CMake
if: runner.os == 'windows'
shell: bash
run: |
choco install cmake --version=3.31.5 --allow-downgrade -y --no-progress
choco install -y --no-progress --stoponfirstfailure pkgconfiglite
echo "PKG_CONFIG_PATH=C:/mingw64/lib/pkgconfig" >> $GITHUB_ENV

- name: Build wheels
uses: pypa/cibuildwheel@v4.3.1
env:
Expand All @@ -51,18 +43,10 @@ jobs:
CIBW_BUILD_FRONTEND: build
CIBW_BUILD_VERBOSITY: 3
CIBW_TEST_REQUIRES: pytest scipy
CIBW_TEST_COMMAND: |
pytest {project}/tests
CIBW_TEST_COMMAND: pytest {project}/tests
CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux_2_28_x86_64
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_2
CIBW_BEFORE_ALL_LINUX: |
bash {project}/cibw-scripts/before_all_linux.sh {project}
# CIBW_ENVIRONMENT_WINDOWS: >
# MESON_ARGS="-Dodrpack95:blas_option=refblas"
CIBW_BEFORE_ALL_WINDOWS: |
bash {project}/cibw-scripts/before_all_windows.sh
CIBW_BEFORE_BUILD_WINDOWS: |
pip install delvewheel
CIBW_BEFORE_BUILD_WINDOWS: pip install delvewheel
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: |
bash ./cibw-scripts/repair_wheel_command_windows.sh {wheel} {dest_dir}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

- name: Install Ubuntu-build dependencies
run: |
sudo apt-get update
sudo apt-get install -y libopenblas-dev
# sudo apt-get update
# sudo apt-get install -y libopenblas-dev
gfortran --version
gcc --version

Expand Down
13 changes: 0 additions & 13 deletions cibw-scripts/before_all_linux.sh

This file was deleted.

29 changes: 0 additions & 29 deletions cibw-scripts/before_all_windows.sh

This file was deleted.

3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ project(
default_options: [
'buildtype=release',
'b_ndebug=if-release',
'cpp_std=c++17'
'cpp_std=c++17',
'odrpack95:blas_option=refblas'
],
)

Expand Down
Loading