Skip to content

Commit 58e2b8a

Browse files
jim19930609Ailing Zhang
authored and
Ailing Zhang
committed
[doc] Update LLVM10 -> LLVM15 in installation guide (taichi-dev#6747)
1 parent 9bcd216 commit 58e2b8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/lang/articles/contribution/dev_install.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Installation instructions vary depending on which operating system (OS) you are
6161
| OS | Windows 7/8/10/11 |
6262
| Python | 3.7/3.8/3.9/3.10 |
6363
| Clang++ | 8≤ Clang++ <12 (We provide pre-built versions in the clang section) |
64-
| LLVM | 10.0.0 (Taichi customized version) |
64+
| LLVM | 15.0.0 (Taichi customized version) |
6565
| Visual Studio | Visual Studio 2019/2022 with "Desktop Development with C++" component. If you want to use Clang++ as the compiler, also install "C++ Clang Compiler for Windows" component |
6666
6767
</TabItem>
@@ -275,7 +275,7 @@ llvm-config --version # You should get 15.0.5
275275
```shell
276276
# For Windows
277277
278-
# LLVM 10.0.0 + MSVC 2019
278+
# LLVM 15.0.0 + MSVC 2019
279279
280280
cmake .. -G "Visual Studio 16 2019" -A x64 -DLLVM_ENABLE_RTTI:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86;NVPTX" -DLLVM_ENABLE_ASSERTIONS=ON -Thost=x64 -DLLVM_BUILD_TESTS:BOOL=OFF -DCMAKE_INSTALL_PREFIX=installed -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL -DCMAKE_CXX_STANDARD=17
281281
cmake --build . --target=INSTALL --config=Release
@@ -459,7 +459,7 @@ The `develop` command serves the developers' needs better because edits to the P
459459
460460
<TabItem value="windows">
461461
462-
1. Set-up the environment variable `TAICHI_CMAKE_ARGS` with value `-DCLANG_EXECUTABLE=<Path to Clang 10>/bin/clang.exe -DLLVM_AS_EXECUTABLE=<Path to LLVM 10>/bin/llvm-as.exe`
462+
1. Set-up the environment variable `TAICHI_CMAKE_ARGS` with value `-DCLANG_EXECUTABLE=<Path to Clang 10>/bin/clang.exe -DLLVM_AS_EXECUTABLE=<Path to LLVM 15>/bin/llvm-as.exe`
463463
2. Open the "x64 Native Tools Command Prompt" for VS2019 or VS2022. Please make sure you opened the x64 version. (Or load the Visual Studio environment yourself)
464464
3. Clone the Taichi repo *recursively* & install python dependencies
465465

0 commit comments

Comments
 (0)