执行cmake .. 报错:Cannot find llvm-lit 执行: cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DUSE_CUDA=OFF 1. 可避免报错。 注意:该方法编译出来的将会是 cpu版本的,不支持 gpu
I did some more investigation with brew deps --tree --include-build --include-test --include-requirements --include-optional libomp to find that libomp has :build dependencies on cmake and lit, and lit has a :test dependency on (Homebrewed) llvm. So, in the full dependency graph, llvm...