Skip to content

Commit

Permalink
Try to only patch VS2008 when required.
Browse files Browse the repository at this point in the history
  • Loading branch information
abergeron committed Oct 10, 2017
1 parent 39d37bd commit ed3200f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ environment:

matrix:
- CONDA_LOC: "C:\\Miniconda-x64"
PATCH_VS2008: "1"
- CONDA_LOC: "C:\\Miniconda35-x64"
PATCH_VS2008: "0"
- CONDA_LOC: "C:\\Miniconda36-x64"
PATCH_VS2008: "0"

install:
# This breaks conda-build because of git
Expand All @@ -29,9 +32,12 @@ install:
- cmd: set PYTHONUNBUFFERED=1
- cmd: conda install -n root --yes conda conda-env conda-build anaconda-client
# We borrow a trick from conda-forge to fix the VS2008 compiler
- cmd: conda config --append channels conda-forge
- cmd: conda install --yes vs2008_express_vc_python_patch
- cmd: call setup_x64
- ps: |
if($env:PATCH_VS2008 -eq '1') {
cmd /c "conda config --append channels conda-forge 2>&1"
cmd /c "conda install --yes vs2008_express_vc_python_patch 2>&1"
cmd /c "call setup_x64 2>&1"
}
build: off

Expand Down

0 comments on commit ed3200f

Please sign in to comment.