From 4102df47e0f8097be36e9b41be89370ca0680d97 Mon Sep 17 00:00:00 2001 From: Yu Fang Date: Thu, 16 Sep 2021 17:11:17 +0800 Subject: [PATCH] SourceBuilder only uses clang++-10 --- python/taichi/lang/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/taichi/lang/util.py b/python/taichi/lang/util.py index 1adbafb6e4c2f5..54950579cfa728 100644 --- a/python/taichi/lang/util.py +++ b/python/taichi/lang/util.py @@ -30,8 +30,9 @@ def has_pytorch(): from distutils.spawn import find_executable +# Taichi itself uses llvm-10.0.0 to compile. _clangpp_candidates = [ - 'clang++-8', 'clang++-10', 'clang++-11', 'clang++-12', 'clang++' + 'clang++-10' ] _clangpp_presence = None for c in _clangpp_candidates: