summaryrefslogtreecommitdiffstats
path: root/libcxx/install-appveyor-reqs.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/install-appveyor-reqs.cmd')
-rw-r--r--libcxx/install-appveyor-reqs.cmd14
1 files changed, 5 insertions, 9 deletions
diff --git a/libcxx/install-appveyor-reqs.cmd b/libcxx/install-appveyor-reqs.cmd
index e2b9f231645..ebd72ca0a2d 100644
--- a/libcxx/install-appveyor-reqs.cmd
+++ b/libcxx/install-appveyor-reqs.cmd
@@ -7,11 +7,11 @@ cd C:\projects\deps
::###########################################################################
:: Setup the path to Clang-cl
::###########################################################################
+if NOT EXIST llvm-installer.exe (
+ appveyor DownloadFile http://llvm.org/pre-releases/win-snapshots/LLVM-5.0.0-r301646-win32.exe -FileName llvm-installer.exe
+)
if "%CLANG_VERSION%"=="ToT" (
- appveyor DownloadFile http://efcs.ca/downloads/llvm-tot-win32.zip -FileName llvm-package.zip
- move "C:\Program Files\LLVM" "C:\Program Files\LLVM_BAK"
- 7z x llvm-package.zip -o"C:\Program Files\LLVM" > nul
- rm llvm-package.zip
+ START /WAIT llvm-installer.exe /S /D=C:\"Program Files\LLVM"
)
@set PATH="C:\Program Files\LLVM\bin";%PATH%
clang-cl -v
@@ -42,10 +42,6 @@ ninja --version
::###########################################################################
:: Setup the cached copy of LLVM
::###########################################################################
-if NOT EXIST llvm (
- git clone --depth=1 http://llvm.org/git/llvm.git
-) ELSE (
- git -C llvm pull --rebase=true --ff-only
-)
+git clone --depth=1 http://llvm.org/git/llvm.git
@echo off
OpenPOWER on IntegriCloud