Skip to content

Commit 4e85a86

Browse files
committed
refactor appveyor
1 parent 25ee71f commit 4e85a86

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

appveyor.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,15 @@ install:
6565
- if [%COMPILER%]==[MSVC15] call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
6666
- if [%COMPILER%]==[MSVC15] conda config --add channels conda-forge
6767
- if [%COMPILER%]==[MSVC15] if [%BUILD_TYPE%]==[Debug] conda config --add channels symengine/label/debug
68-
- if [%COMPILER%]==[MSVC15] conda install --yes mpir=3.0.0 vc=14
68+
- if [%COMPILER%]==[MSVC15] set "CONDA_DEPS=mpir=3.0.0 vc=14"
69+
- if [%COMPILER%]==[MSVC15] if [%WITH_MPFR%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% mpfr=3.1.5"
70+
- if [%COMPILER%]==[MSVC15] if [%WITH_MPC%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% mpc=1.0.3"
71+
- if [%COMPILER%]==[MSVC15] if [%WITH_LLVM%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% llvmdev=4.0"
72+
- if [%COMPILER%]==[MSVC15] conda install --yes %CONDA_DEPS%
6973
- if [%COMPILER%]==[MSVC15] echo %CONDA_PREFIX%
7074
- if [%COMPILER%]==[MSVC15] echo %PATH%
7175
- if [%COMPILER%]==[MSVC15] set "PATH=%PATH%;%CONDA_PREFIX%\\Library\\bin;%CONDA_PREFIX%"
7276
- if [%COMPILER%]==[MSVC15] echo %PATH%
73-
- if [%COMPILER%]==[MSVC15] if [%WITH_MPFR%]==[yes] conda install --yes mpfr=3.1.5
74-
- if [%COMPILER%]==[MSVC15] if [%WITH_MPC%]==[yes] conda install --yes mpc=1.0.3
75-
- if [%COMPILER%]==[MSVC15] if [%WITH_LLVM%]==[yes] conda install --yes llvmdev=4.0
7677

7778
- if [%COMPILER%]==[MinGW] set "PATH=C:\MinGW\bin;%PATH%"
7879
- if [%COMPILER%]==[MinGW] mingw-get update

0 commit comments

Comments
 (0)