Skip to content

Commit c2bb420

Browse files
committed
Install all conda toolchain packages in one go
1 parent c285776 commit c2bb420

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

ci/appveyor-cpp-build.bat

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95,30 +95,22 @@ if "%JOB%" == "Build_Debug" (
9595
exit /B 0
9696
)
9797

98-
conda create -n arrow -q -y -c conda-forge ^
99-
--file=ci\conda_env_python.yml ^
100-
python=%PYTHON% ^
101-
numpy=1.14 ^
102-
thrift-cpp=0.11 ^
103-
boost-cpp
104-
10598
set ARROW_LLVM_VERSION=6.0.1
99+
set CONDA_PACKAGES=--file=ci\conda_env_python.yml python=%PYTHON% numpy=1.14 thrift-cpp=0.11 boost-cpp
106100

107101
if "%ARROW_BUILD_GANDIVA%" == "ON" (
108102
@rem Install llvmdev in the toolchain if building gandiva.dll
109-
conda install -n arrow -q -y llvmdev=%ARROW_LLVM_VERSION% ^
110-
clangdev=%ARROW_LLVM_VERSION% -c conda-forge
103+
set CONDA_PACKAGES=%CONDA_PACKAGES% llvmdev=%ARROW_LLVM_VERSION% clangdev=%ARROW_LLVM_VERSION%
111104
)
112105

113106
if "%JOB%" == "Toolchain" (
114107
@rem Install pre-built "toolchain" packages for faster builds
115-
conda install -n arrow -q -y -c conda-forge ^
116-
--file=ci\conda_env_cpp.yml ^
117-
python=%PYTHON%
118-
108+
set CONDA_PACKAGES=%CONDA_PACKAGES% --file=ci\conda_env_cpp.yml
119109
set ARROW_BUILD_TOOLCHAIN=%CONDA_PREFIX%\Library
120110
)
121111

112+
conda create -n arrow -q -y %CONDA_PACKAGES% -c conda-forge
113+
122114
call activate arrow
123115

124116
@rem Use Boost from Anaconda

0 commit comments

Comments
 (0)