Skip to content

Commit

Permalink
[ci] Fix appveyor with new building procedure (#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonz5288 authored Jul 27, 2021
1 parent 740a289 commit 0b77788
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,13 @@ build_script:
- 7z x clang-10.0.0-win.zip -otaichi_clang
- set PATH=C:\taichi_llvm\bin;%PATH%;
- set PATH=C:\taichi_clang\bin;%PATH%
- set PYTHONPATH=%TAICHI_REPO_DIR%/python
- set PATH=%TAICHI_REPO_DIR%\bin;%PATH%
- clang --version
- cd C:\taichi
- set CI_SETUP_CMAKE_ARGS=-G "Visual Studio 16 2019" -A x64 -DLLVM_DIR=C:\taichi_llvm\lib\cmake\llvm
# This is to fix the bug caused by execnet 1.2, the library xdist uses to schedule tests.
# Reverting to v1.1 solves this bug(Python Fatal Error: IOError).
- "%PYTHON% -m pip install -U execnet=1.1"
- "%PYTHON% misc/ci_setup.py ci"
- mkdir build
- cd build
- cmake .. -G"Visual Studio 16 2019" -A x64 -DPYTHON_EXECUTABLE="%PYTHON%" -DLLVM_DIR="C:\taichi_llvm\lib\cmake\llvm"
- msbuild /p:Configuration=RelWithDebInfo /p:Platform=x64 /m taichi.sln
- cd ..
- '%PYTHON% -c "import taichi"'
- "%PYTHON% examples/algorithm/laplace.py"
- "%PYTHON% bin/taichi diagnose"
Expand Down

0 comments on commit 0b77788

Please sign in to comment.