Skip to content

Commit

Permalink
Use delvewheel to repair wheels on Windows, add MSVCRT DLLs (pybamm…
Browse files Browse the repository at this point in the history
…-team#4105)

* Repair wheels on Windows

* Install delvewheel
  • Loading branch information
agriyakhetarpal authored and js1tr3 committed Aug 12, 2024
1 parent a82ec43 commit 3d3572b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ jobs:
CMAKE_GENERATOR_PLATFORM=x64
CMAKE_BUILD_PARALLEL_LEVEL=${{ steps.get_num_cores.outputs.count }}
CIBW_ARCHS: AMD64
CIBW_BEFORE_BUILD: python -m pip install setuptools wheel # skip CasADi and CMake
CIBW_BEFORE_BUILD: python -m pip install setuptools wheel delvewheel # skip CasADi and CMake
CIBW_REPAIR_WHEEL_COMMAND: delvewheel repair -w {dest_dir} {wheel}
CIBW_TEST_COMMAND: python -c "import pybamm; pybamm.IDAKLUSolver()"

- name: Upload Windows wheels
Expand Down

0 comments on commit 3d3572b

Please sign in to comment.