我正在关注此instructions。 当我运行以下命令时
cmake .. -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang`
我遇到此错误:
CMake Error at cmake/tools.cmake:20 (message):
AppleClang is not supported, you should install clang from brew.
Call Stack (most recent call first):
CMakeLists.txt:44 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/myuser/ClickHouse/build/CMakeFiles/CMakeOutput.log".
有什么想法吗?
Apple clang版本12.0.0(clang-1200.0.32.21)
cmake版本3.18.4
macOs Catalina 10.15.7
谢谢!
答案 0 :(得分:-1)
我再次安装了clang并成功了。关注了此https://embeddedartistry.com/blog/2017/02/24/installing-llvm-clang-on-osx/