Use --bundled-clang=5.0.1 in appveyor (#212)

This commit is contained in:
Fangrui Song 2017-12-31 17:21:35 -08:00 committed by GitHub
parent c5610b8d76
commit aca8e42033
2 changed files with 5 additions and 5 deletions

View File

@ -15,9 +15,9 @@ build_script:
$dir = "cquery-${env:appveyor_build_version}-win64"
cd C:\projects\cquery
mkdir "${dir}\build\release\bin" -ea 0
mkdir "${dir}\build\release\lib\LLVM-4.0.0-win64\lib\clang\4.0.0\"
mkdir "${dir}\build\release\lib\LLVM-5.0.1-win64\lib\clang\5.0.1\"
copy "build\release\bin\*" "${dir}\build\release\bin"
copy -recurse "build\LLVM-4.0.0-win64\lib\clang\4.0.0\include" "${dir}\build\release\lib\LLVM-4.0.0-win64\lib\clang\4.0.0\"
copy -recurse "build\LLVM-5.0.1-win64\lib\clang\5.0.1\include" "${dir}\build\release\lib\LLVM-5.0.1-win64\lib\clang\5.0.1\"
7z a -tzip "C:\projects\cquery\${dir}.zip" "${dir}"
- build\release\bin\cquery --log-all-to-stderr --test-unit
- build\release\bin\cquery --log-all-to-stderr --test-index
@ -27,6 +27,6 @@ artifacts:
cache:
- C:\projects\cquery\build\LLVM-4.0.0-win64.exe
- C:\projects\cquery\build\LLVM-5.0.0-win64.exe
- C:\projects\cquery\build\LLVM-5.0.1-win64.exe
- C:\projects\cquery\build\LLVM-4.0.0-win64\
- C:\projects\cquery\build\LLVM-5.0.0-win64\
- C:\projects\cquery\build\LLVM-5.0.1-win64\

View File

@ -243,7 +243,7 @@ std::vector<std::string> GetPlatformClangArguments() {
"-isystem","C:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include",
"-isystem","C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/include",
"-isystem","C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
"-isystem","C:/Program Files/LLVM/lib/clang/4.0.0/include",
"-isystem","C:/Program Files/LLVM/lib/clang/5.0.1/include",
"-fms-extensions", "-fms-compatibility", "-fms-compatibility-version=18", "-fdelayed-template-parsing"
};
// clang-format on