mirror of https://github.com/AxioDL/metaforce.git
AppVeyor: Use clang-cl again (MSVC 16.6.2 is broken)
This commit is contained in:
parent
0d8a766146
commit
2b245a4baf
|
@ -53,6 +53,10 @@ before_build:
|
||||||
# Configure cmake
|
# Configure cmake
|
||||||
- set PATH=C:\projects\deps\cmake\cmake-3.16.4-win64-x64\bin;%PATH%
|
- set PATH=C:\projects\deps\cmake\cmake-3.16.4-win64-x64\bin;%PATH%
|
||||||
- cmake --version
|
- cmake --version
|
||||||
|
# Configure LLVM
|
||||||
|
- set PATH=C:\projects\deps\llvm\bin;%PATH%
|
||||||
|
- llvm-config --version
|
||||||
|
- clang-cl -v
|
||||||
# Configure VS
|
# Configure VS
|
||||||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" amd64
|
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" amd64
|
||||||
# Fetch submodules
|
# Fetch submodules
|
||||||
|
@ -62,7 +66,8 @@ before_build:
|
||||||
build_script:
|
build_script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DLLVM_ROOT_DIR=C:\projects\deps\llvm -DCMAKE_CXX_FLAGS= -DCMAKE_C_FLAGS= -GNinja ..
|
# -DCMAKE_LINKER=lld-link -DCMAKE_AR=llvm-ar -DCMAKE_RANLIB=llvm-ranlib
|
||||||
|
- cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DLLVM_ROOT_DIR=C:\projects\deps\llvm -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -GNinja ..
|
||||||
- ninja urde
|
- ninja urde
|
||||||
|
|
||||||
#notifications:
|
#notifications:
|
||||||
|
|
|
@ -41,7 +41,7 @@ Everything else is much too experimental to make portable/stable release builds
|
||||||
* Verify it's added to `%PATH%` by typing `python` in `cmd`.
|
* Verify it's added to `%PATH%` by typing `python` in `cmd`.
|
||||||
* macOS: `brew install python@3`
|
* macOS: `brew install python@3`
|
||||||
* LLVM development package *(headers and libs)*
|
* LLVM development package *(headers and libs)*
|
||||||
* [Specialized Windows Package](https://axiodl.com/files/LLVM-9.0.1-win64.exe)
|
* [Specialized Windows Package](https://axiodl.com/files/LLVM-9.0.1-win64-lld.exe)
|
||||||
* macOS: `brew install --force-bottle llvm`
|
* macOS: `brew install --force-bottle llvm`
|
||||||
* **[Windows]** [Visual Studio 2019 Community](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx)
|
* **[Windows]** [Visual Studio 2019 Community](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx)
|
||||||
* Select `C++ Development` and verify the following packages are included:
|
* Select `C++ Development` and verify the following packages are included:
|
||||||
|
|
Loading…
Reference in New Issue