Skip to content

Commit cc391ff

Browse files
committed
Only source DLLs from .local/bin
1 parent 0b27d44 commit cc391ff

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

bin/cibw_repair_wheel_command_windows.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ wheeldir=$(dirname $WHEELNAME)
2929
echo $wheeldir
3030

3131
# delvewheel requires DLLs created by mingw64 to be stripped. This strips the
32-
# DLLs for GMP etc that will have been build previously.
33-
strip .local/bin/*.dll .local/lib/*.dll
32+
# DLLs for GMP etc that will have been built in the CIBW_BEFORE_ALL step.
33+
#
34+
# Previously the Arb DLLs would have been placed in .local/lib, but as of
35+
# flint 3.0.0 all DLLs aRe in .local/bin.
36+
strip .local/bin/*.dll
3437

3538
# Make sure to leave the wheel in the same directory
3639
wheeldir=$(dirname $WHEELNAME)
@@ -47,4 +50,4 @@ popd
4750
# .pyd files that are needed for the wheel.
4851
delvewheel repair $WHEELNAME \
4952
-w $WHEELHOUSE \
50-
--add-path .local/bin:.local/lib/
53+
--add-path .local/bin

0 commit comments

Comments
 (0)