This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new e97c030 ARROW-2337: Use Boost shared libraries in Windows release
verification script. Parquet fixes
e97c030 is described below
commit e97c0301e52e317ceb5aa6f51b5e5eeded2b913c
Author: Wes McKinney <[email protected]>
AuthorDate: Fri Oct 5 11:48:40 2018 -0400
ARROW-2337: Use Boost shared libraries in Windows release verification
script. Parquet fixes
With these changes, the Windows verification script passes cleanly for me
with 0.11.0 RC1
Author: Wes McKinney <[email protected]>
Closes #2710 from wesm/ARROW-2337 and squashes the following commits:
d514d5c31 <Wes McKinney> Use Boost shared libraries in Windows release
verification script. Fixes for Parquet migration
---
dev/release/verify-release-candidate.bat | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/dev/release/verify-release-candidate.bat
b/dev/release/verify-release-candidate.bat
index 3b1bdab..cc25b04 100644
--- a/dev/release/verify-release-candidate.bat
+++ b/dev/release/verify-release-candidate.bat
@@ -33,9 +33,9 @@ set ARROW_SOURCE=%_VERIFICATION_DIR%\apache-arrow-%1
set INSTALL_DIR=%_VERIFICATION_DIR%\install
@rem Requires GNU Wget for Windows
-wget -O %_TARBALL% %_DIST_URL%/apache-arrow-%1-rc%2/%_TARBALL%
+wget --no-check-certificate -O %_TARBALL%
%_DIST_URL%/apache-arrow-%1-rc%2/%_TARBALL% || exit /B
-tar xvf %_TARBALL% -C %_VERIFICATION_DIR_UNIX%
+tar xf %_TARBALL% -C %_VERIFICATION_DIR_UNIX%
set PYTHON=3.6
@@ -43,7 +43,7 @@ set PYTHON=3.6
@rem script execution
call conda create -p %_VERIFICATION_CONDA_ENV% -f -q -y python=%PYTHON% ||
exit /B
-call activate %_VERIFICATION_CONDA_ENV%
+call activate %_VERIFICATION_CONDA_ENV% || exit /B
call conda install -y ^
six pytest setuptools numpy pandas cython ^
@@ -51,7 +51,7 @@ call conda install -y ^
cmake ^
git ^
boost-cpp ^
- snappy zlib brotli gflags lz4-c zstd -c conda-forge
+ snappy zlib brotli gflags lz4-c zstd -c conda-forge || exit /B
set GENERATOR=Visual Studio 14 2015 Win64
set CONFIGURATION=release
@@ -73,7 +73,7 @@ call "C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\Common7\Tool
cmake -G "%GENERATOR%" ^
-DCMAKE_INSTALL_PREFIX=%ARROW_HOME% ^
- -DARROW_BOOST_USE_SHARED=OFF ^
+ -DARROW_BOOST_USE_SHARED=ON ^
-DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
-DARROW_CXXFLAGS="/MP" ^
-DARROW_PYTHON=ON ^
@@ -81,6 +81,10 @@ cmake -G "%GENERATOR%" ^
.. || exit /B
cmake --build . --target INSTALL --config %CONFIGURATION% || exit /B
+@rem Get testing datasets for Parquet unit tests
+git clone https://github.com/apache/parquet-testing.git
%_VERIFICATION_DIR%\parquet-testing
+set PARQUET_TEST_DATA=%_VERIFICATION_DIR%\parquet-testing\data
+
@rem Needed so python-test.exe works
set
PYTHONPATH=%CONDA_PREFIX%\Lib;%CONDA_PREFIX%\Lib\site-packages;%CONDA_PREFIX%\python35.zip;%CONDA_PREFIX%\DLLs;%CONDA_PREFIX%;%PYTHONPATH%