Skip to content

Commit

Permalink
Install all conda toolchain packages in one go
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Feb 8, 2019
1 parent c285776 commit c2bb420
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions ci/appveyor-cpp-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -95,30 +95,22 @@ if "%JOB%" == "Build_Debug" (
exit /B 0
)

conda create -n arrow -q -y -c conda-forge ^
--file=ci\conda_env_python.yml ^
python=%PYTHON% ^
numpy=1.14 ^
thrift-cpp=0.11 ^
boost-cpp

set ARROW_LLVM_VERSION=6.0.1
set CONDA_PACKAGES=--file=ci\conda_env_python.yml python=%PYTHON% numpy=1.14 thrift-cpp=0.11 boost-cpp

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

if "%JOB%" == "Toolchain" (
@rem Install pre-built "toolchain" packages for faster builds
conda install -n arrow -q -y -c conda-forge ^
--file=ci\conda_env_cpp.yml ^
python=%PYTHON%

set CONDA_PACKAGES=%CONDA_PACKAGES% --file=ci\conda_env_cpp.yml
set ARROW_BUILD_TOOLCHAIN=%CONDA_PREFIX%\Library
)

conda create -n arrow -q -y %CONDA_PACKAGES% -c conda-forge

call activate arrow

@rem Use Boost from Anaconda
Expand Down

0 comments on commit c2bb420

Please sign in to comment.