Try to use LLVM path uniformily for appveyor

This commit is contained in:
Syrus 2019-03-06 16:18:35 -08:00
parent a0ff2733ce
commit 58897aba5a

View File

@ -22,7 +22,7 @@ install:
- cd C:\projects\deps
- appveyor DownloadFile http://prereleases.llvm.org/win-snapshots/LLVM-7.0.0-r336178-win64.exe -FileName llvm.exe
- 7z x llvm.exe -oC:\projects\deps\llvm
- set "PATH=%PATH%;C:\projects\deps\llvm\bin"
# - set "PATH=%PATH%;C:\projects\deps\llvm\bin"
- set "LLD_LINK=C:\projects\deps\llvm\bin\lld-link.exe"
- cd "%APPVEYOR_BUILD_FOLDER%"
@ -30,7 +30,7 @@ install:
# uncomment these lines if the cache is cleared, or if we must re-install rust for some reason
# - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
# - rustup-init.exe -yv --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- set PATH=%PATH%;C:\\projects\\deps\\llvm\\bin;%USERPROFILE%\.cargo\bin
- rustup default stable-%target%
- rustup update
- rustc -vV