From 192193fe23cdd9ccbbb9809da0439f0fc294f1b3 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 5 Nov 2017 18:23:48 -0600 Subject: [PATCH] Install flang in appveyor only when needed --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2e88af796..b4c1fe539 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,8 +37,9 @@ environment: install: - if [%COMPILER%]==[clang-cl] call %CONDA_INSTALL_LOCN%\Scripts\activate.bat - if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force - - if [%COMPILER%]==[clang-cl] conda config --add channels isuruf/label/flang --force - - if [%COMPILER%]==[clang-cl] conda install --yes flangdev clangdev ninja cmake + - if [%WITH_FORTRAN%]==[yes] conda config --add channels isuruf/label/flang --force + - if [%COMPILER%]==[clang-cl] conda install --yes --quiet clangdev ninja cmake + - if [%WITH_FORTRAN%]==[yes] conda install --yes --quiet flangdev clangdev cmake - if [%COMPILER%]==[clang-cl] call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 - if [%COMPILER%]==[clang-cl] set "LIB=%CONDA_INSTALL_LOCN%\Library\lib;%LIB%" - if [%COMPILER%]==[clang-cl] set "CPATH=%CONDA_INSTALL_LOCN%\Library\include;%CPATH%"