Skip to content

Commit

Permalink
Add ARM dll PATH to Windows ARM CIBW job (nucleic#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksunden authored Jul 14, 2024
1 parent 74f9ee7 commit df19e18
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,13 @@ jobs:
env:
CIBW_BEFORE_BUILD_WINDOWS: >-
pip install delvewheel
# To find the path to add I used this line within the REPAIR_WHEEL_COMMAND below:
# tree "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\" &
#
# Slightly weary of all the magic numbers/build numbers in the path being fragile for the future.
# However, unsure if there is a more stable way to achieve the same end here.
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >-
delvewheel repair -w {dest_dir} {wheel} --add-path C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.38.33135\arm64\Microsoft.VC143.CRT
delvewheel repair -w {dest_dir} {wheel} --add-path "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.40.33807\arm64\Microsoft.VC143.CRT"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
CIBW_ARCHS_WINDOWS: ${{ matrix.archs }}
# It is not yet possible to run ARM64 tests, only cross-compile them.
Expand Down

0 comments on commit df19e18

Please sign in to comment.