From 06ee53f4b2c73ac500bd646d0bc941597aae692a Mon Sep 17 00:00:00 2001 From: jim19930609 Date: Mon, 28 Nov 2022 11:24:27 +0800 Subject: [PATCH] [doc] Update LLVM10 -> LLVM15 in installation guide --- docs/lang/articles/contribution/dev_install.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/lang/articles/contribution/dev_install.md b/docs/lang/articles/contribution/dev_install.md index 68d0f4208269e..5bb1ff6e15ebf 100644 --- a/docs/lang/articles/contribution/dev_install.md +++ b/docs/lang/articles/contribution/dev_install.md @@ -61,7 +61,7 @@ Installation instructions vary depending on which operating system (OS) you are | OS | Windows 7/8/10/11 | | Python | 3.7/3.8/3.9/3.10 | | Clang++ | 8≤ Clang++ <12 (We provide pre-built versions in the clang section) | -| LLVM | 10.0.0 (Taichi customized version) | +| LLVM | 15.0.0 (Taichi customized version) | | 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 | @@ -275,7 +275,7 @@ llvm-config --version # You should get 15.0.5 ```shell # For Windows -# LLVM 10.0.0 + MSVC 2019 +# LLVM 15.0.0 + MSVC 2019 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 cmake --build . --target=INSTALL --config=Release @@ -459,7 +459,7 @@ The `develop` command serves the developers' needs better because edits to the P -1. Set-up the environment variable `TAICHI_CMAKE_ARGS` with value `-DCLANG_EXECUTABLE=/bin/clang.exe -DLLVM_AS_EXECUTABLE=/bin/llvm-as.exe` +1. Set-up the environment variable `TAICHI_CMAKE_ARGS` with value `-DCLANG_EXECUTABLE=/bin/clang.exe -DLLVM_AS_EXECUTABLE=/bin/llvm-as.exe` 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) 3. Clone the Taichi repo *recursively* & install python dependencies