You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/09/19 17:22:54 UTC
[arrow] branch master updated: ARROW-3268: [CI] Reduce conda times
on AppVeyor [skip travis]
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 498776c ARROW-3268: [CI] Reduce conda times on AppVeyor [skip travis]
498776c is described below
commit 498776c329314a6989e515e8d61ed3f1c15ed98b
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Wed Sep 19 13:22:44 2018 -0400
ARROW-3268: [CI] Reduce conda times on AppVeyor [skip travis]
Author: Antoine Pitrou <an...@python.org>
Closes #2583 from pitrou/ARROW-3268 and squashes the following commits:
3ec5b8f8a <Antoine Pitrou> ARROW-3268: Reduce conda times on AppVeyor
---
ci/appveyor-cpp-setup.bat | 8 +++-----
ci/cpp-python-msvc-build.bat | 14 +++++++-------
2 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/ci/appveyor-cpp-setup.bat b/ci/appveyor-cpp-setup.bat
index 2d09948..d1f0d4e 100644
--- a/ci/appveyor-cpp-setup.bat
+++ b/ci/appveyor-cpp-setup.bat
@@ -26,8 +26,6 @@ conda config --set show_channel_urls True
@rem Help with SSL timeouts to S3
conda config --set remote_connect_timeout_secs 12
-conda config --add channels https://repo.continuum.io/pkgs/free
-conda config --add channels conda-forge
conda info -a
if "%GENERATOR%"=="Ninja" set need_vcvarsall=1
@@ -41,13 +39,13 @@ if defined need_vcvarsall (
)
)
-if "%GENERATOR%"=="Ninja" conda install -y -q -c conda-forge ninja
+if "%GENERATOR%"=="Ninja" conda install -y -q ninja
if "%USE_CLCACHE%" == "true" (
@rem Use clcache for faster builds
pip install -q git+https://github.com/frerich/clcache.git
- @rem Limit cache size to 150 MB
- clcache -M 150000000
+ @rem Limit cache size to 250 MB
+ clcache -M 250000000
clcache -c
clcache -s
set CLCACHE_SERVER=1
diff --git a/ci/cpp-python-msvc-build.bat b/ci/cpp-python-msvc-build.bat
index 522843d..9ffb4f1 100644
--- a/ci/cpp-python-msvc-build.bat
+++ b/ci/cpp-python-msvc-build.bat
@@ -29,7 +29,7 @@ if "%JOB%" == "Static_Crt_Build" (
.. || exit /B
cmake --build . --config Debug || exit /B
- ctest -VV || exit /B
+ ctest --output-on-failure -j2 || exit /B
popd
mkdir cpp\build-release
@@ -43,7 +43,7 @@ if "%JOB%" == "Static_Crt_Build" (
.. || exit /B
cmake --build . --config Release || exit /B
- ctest -VV || exit /B
+ ctest --output-on-failure -j2 || exit /B
popd
@rem Finish Static_Crt_Build build successfully
@@ -61,27 +61,27 @@ if "%JOB%" == "Build_Debug" (
.. || exit /B
cmake --build . --config Debug || exit /B
- ctest -VV || exit /B
+ ctest --output-on-failure -j2 || exit /B
popd
@rem Finish Debug build successfully
exit /B 0
)
-conda create -n arrow -q -y -c conda-forge ^
+conda create -n arrow -q -y ^
python=%PYTHON% ^
six pytest setuptools numpy pandas cython ^
thrift-cpp=0.11.0 boost-cpp
call activate arrow
-@rem Use Boost from conda-forge
+@rem Use Boost from Anaconda
set BOOST_ROOT=%CONDA_PREFIX%\Library
set BOOST_LIBRARYDIR=%CONDA_PREFIX%\Library\lib
if "%JOB%" == "Toolchain" (
@rem Install pre-built "toolchain" packages for faster builds
- conda install -q -y -c conda-forge ^
+ conda install -q -y ^
brotli ^
cmake ^
flatbuffers ^
@@ -121,7 +121,7 @@ cmake --build . --target install --config %CONFIGURATION% || exit /B
set OLD_PYTHONHOME=%PYTHONHOME%
set PYTHONHOME=%CONDA_PREFIX%
-ctest -VV || exit /B
+ctest --output-on-failure -j2 || exit /B
set PYTHONHOME=%OLD_PYTHONHOME%
popd