amimo/goron

CMake Error on macOS Catalina

chachako opened this issue · 1 comments

macOS 10.15.4
Xcode 11.4

根据命令 cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm 得到了以下错误(尝试过 7.1.0, 8.0.1-oc-cse 分支)

CMake Error at cmake/modules/CheckAtomic.cmake:53 (message):
Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
cmake/config-ix.cmake:329 (include)
CMakeLists.txt:590 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/dracula/Documents/Develop/Obfuscator/goron/build/CMakeFiles/CMakeOutput.log".
See also "/Users/dracula/Documents/Develop/Obfuscator/goron/build/CMakeFiles/CMakeError.log".

CMakeError.log