@@ -7,6 +7,13 @@ environment:
7
7
PLATFORMTOOLSET : " v140"
8
8
9
9
matrix :
10
+ - BUILD_TYPE : " Release"
11
+ COMPILER : MSVC15
12
+ PLATFORM : " Win32"
13
+ PYTHON_VERSION : 39
14
+ CONDA_INSTALL_LOCN : C:\\Miniconda38-x64
15
+ WITH_MPFR : yes
16
+ WITH_MPC : yes
10
17
- BUILD_TYPE : " Release"
11
18
COMPILER : MSVC15
12
19
PLATFORM : " x64"
@@ -42,13 +49,6 @@ environment:
42
49
# COMPILER: MinGW-w64
43
50
# PYTHON_VERSION: 39-x64
44
51
# WITH_SYMPY: no
45
- - BUILD_TYPE : " Release"
46
- COMPILER : MSVC15
47
- PLATFORM : " Win32"
48
- PYTHON_VERSION : 39
49
- CONDA_INSTALL_LOCN : C:\\Miniconda38
50
- WITH_MPFR : yes
51
- WITH_MPC : yes
52
52
- BUILD_TYPE : " Release"
53
53
COMPILER : MSVC15
54
54
PLATFORM : " x64"
@@ -61,15 +61,17 @@ environment:
61
61
install :
62
62
- set PYTHON_SOURCE_DIR=%CD%
63
63
- git clone https://github.com/sympy/symengine symengine-cpp
64
+ - if [%PLATFORM%]==[Win32] set "CONDA_SUBDIR=win-32"
64
65
65
66
- if [%COMPILER%]==[MSVC15] call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
66
- - if [%COMPILER%]==[MSVC15] conda config --add channels conda-forge
67
- - if [%COMPILER%]==[MSVC15] if [%BUILD_TYPE%]==[Debug] conda config --add channels symengine/label/debug
68
67
- if [%COMPILER%]==[MSVC15] set "CONDA_DEPS=mpir=3.0.0 vc=14"
69
68
- if [%COMPILER%]==[MSVC15] if [%WITH_MPFR%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% mpfr=3.1.5"
70
69
- if [%COMPILER%]==[MSVC15] if [%WITH_MPC%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% mpc=1.0.3"
71
70
- if [%COMPILER%]==[MSVC15] if [%WITH_LLVM%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% llvmdev=4.0"
72
- - if [%COMPILER%]==[MSVC15] conda install --yes %CONDA_DEPS%
71
+ - if [%COMPILER%]==[MSVC15] set "CONDA_DEPS=%CONDA_DEPS% -c conda-forge"
72
+ - if [%COMPILER%]==[MSVC15] if [%BUILD_TYPE%]==[Debug] set "CONDA_DEPS=%CONDA_DEPS% -c symengine/label/debug"
73
+ - if [%COMPILER%]==[MSVC15] conda create -n deps --yes %CONDA_DEPS%
74
+ - if [%COMPILER%]==[MSVC15] call conda activate deps
73
75
- if [%COMPILER%]==[MSVC15] echo %CONDA_PREFIX%
74
76
- if [%COMPILER%]==[MSVC15] echo %PATH%
75
77
- if [%COMPILER%]==[MSVC15] set "PATH=%PATH%;%CONDA_PREFIX%\\Library\\bin;%CONDA_PREFIX%"
0 commit comments