mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
Exit early on failure of things
Change-Id: I1f1f124586ae48cfd878c6dfa1553ad6f4bb972d
This commit is contained in:
1 parent
ac903db419
commit
ee883d862e
1 file changed
+5
-5
+5
-5
@@ -34,18 +34,18 @@ cmake -G "%GENERATOR%" ^
|
||||
-DCMAKE_BUILD_TYPE=Release ^
|
||||
-DARROW_CXXFLAGS="/WX" ^
|
||||
-DARROW_PYTHON=on ^
|
||||
..
|
||||
cmake --build . --target INSTALL --config Release
|
||||
.. || exit /B
|
||||
cmake --build . --target INSTALL --config Release || exit /B
|
||||
|
||||
@rem Needed so python-test.exe works
|
||||
set PYTHONPATH=%CONDA_ENV%\Lib;%CONDA_ENV%\Lib\site-packages;%CONDA_ENV%\python35.zip;%CONDA_ENV%\DLLs;%CONDA_ENV%
|
||||
|
||||
ctest -VV
|
||||
ctest -VV || exit /B
|
||||
|
||||
@rem Build and import pyarrow
|
||||
|
||||
set PATH=%ARROW_HOME%\bin;%PATH%
|
||||
|
||||
cd ..\python
|
||||
python setup.py build_ext --inplace
|
||||
python -c "import pyarrow"
|
||||
python setup.py build_ext --inplace || exit /B
|
||||
python -c "import pyarrow" || exit /B
|
||||
Reference in new issue
Block a user