Skip to content

Commit 575503c

Browse files
committed
Try copying hack
1 parent 028ad13 commit 575503c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ci/scripts/python_build.bat

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ set CMAKE_UNITY_BUILD=ON
6565
mkdir %CPP_BUILD_DIR%
6666
pushd %CPP_BUILD_DIR%
6767

68-
@REM by default, CMake installs .lib import libs to lib and .dll libs to bin
69-
@REM delvewheel requires these to be side-by-side to properly vendor
7068
cmake ^
71-
-DCMAKE_INSTALL_BINDIR=lib ^
7269
-DARROW_ACERO=%ARROW_ACERO% ^
7370
-DARROW_BUILD_SHARED=ON ^
7471
-DARROW_BUILD_STATIC=OFF ^
@@ -137,6 +134,10 @@ pushd %SOURCE_DIR%\python
137134
%PYTHON_CMD% -m pip install -r requirements-build.txt || exit /B 1
138135
%PYTHON_CMD% -m pip install build delvewheel || exit /B 1
139136

137+
@REM by default, CMake installs .lib import libs to lib and .dll libs to bin
138+
@REM delvewheel requires these to be side-by-side to properly vendor
139+
cp %CMAKE_INSTALL_PREFIX%\lib\*.lib %CMAKE_INSTALL_PREFIX%\bin
140+
140141
@REM Build PyArrow
141142
%PYTHON_CMD% -m build --wheel . --no-isolation || exit /B 1
142143
%PYTHON_CMD% -m delvewheel repair --ignore-existing --no-mangle-all --include-imports dist\* || exit /B 1

0 commit comments

Comments
 (0)