diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 9d4177a9f6bd2..2710b0eb5eb05 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -403,6 +403,7 @@ jobs: submodules: "recursive" - name: Prepare Environment + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: >- . .github/workflows/scripts/common-utils.sh; prepare-build-cache; @@ -418,6 +419,7 @@ jobs: " >> $GITHUB_ENV; - name: Build Host Taichi + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: | . .github/workflows/scripts/common-utils.sh ci-docker-run --name taichi-build-host \ @@ -432,6 +434,7 @@ jobs: -DTI_WITH_C_API=OFF - name: Build For Android + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: | . .github/workflows/scripts/common-utils.sh git clean -fxd @@ -448,6 +451,7 @@ jobs: -DTI_WITH_C_API=ON - name: Test For Android AOT (export core) + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: | . .github/workflows/scripts/common-utils.sh chown -R 1000:1000 . @@ -456,6 +460,7 @@ jobs: /home/dev/taichi/.github/workflows/scripts/aot-demo.sh build-and-smoke-test-android-aot-demo - name: Prepare Unity Build Environment + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: | . .github/workflows/scripts/common-utils.sh chown -R 1000:1000 . @@ -464,6 +469,7 @@ jobs: /home/dev/taichi/.github/workflows/scripts/aot-demo.sh prepare-unity-build-env - name: Build Taichi-UnityExample + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: | . .github/workflows/scripts/common-utils.sh ci-docker-run --name taichi-build-unity-demo \ @@ -471,6 +477,7 @@ jobs: /home/dev/taichi/.github/workflows/scripts/aot-demo.sh build-unity-demo - name: Run Taichi-UnityExample (C-API) + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: | . .github/workflows/scripts/common-utils.sh chown -R 1000:1000 . @@ -479,6 +486,7 @@ jobs: /home/dev/taichi/.github/workflows/scripts/aot-demo.sh smoke-test-unity-demo - name: Build & Run C-API Headless Demos (Android) + if: ${{ needs.check_files.outputs.run_job != 'false' }} run: | . .github/workflows/scripts/common-utils.sh chown -R 1000:1000 . diff --git a/docs/lang/articles/contribution/dev_install.md b/docs/lang/articles/contribution/dev_install.md index 68d0f4208269e..a19371ca2695c 100644 --- a/docs/lang/articles/contribution/dev_install.md +++ b/docs/lang/articles/contribution/dev_install.md @@ -48,8 +48,8 @@ Installation instructions vary depending on which operating system (OS) you are |:----------------------------:|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | OS | macOS / Ubuntu / Arch Linux / Other Linux distributions | | Python | 3.7/3.8/3.9/3.10 We recommend installing Python from [Miniforge](https://github.com/conda-forge/miniforge/#download) conda if you are on a MacBook with M1 chip. | -| Clang++ | 8≤ Clang++ <12 | -| LLVM | 10.0.0 (Taichi customized version) | +| Clang++ | Clang++ >8 | +| LLVM | 15.0.4 (Taichi customized version) | | Command line tools for Xcode | For macOS users only: `xcode-select --install ` | @@ -60,8 +60,8 @@ 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) | +| Clang++ | Clang++ >8 | +| LLVM | 15.0.4 (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 | @@ -72,97 +72,15 @@ Installation instructions vary depending on which operating system (OS) you are
-This Clang compiler is used to compile the Taichi device runtime. It is *not required* to use this compiler for the C++ compiler. +Taichi supports building from source with any clang compiler greater than version 8.0. Install one from your favorite package tool for the operating system. For example, you can use `apt` on Ubuntu, `brew` on macOS, and so on.-````mdx-code-block -