cmake编译llvm报文件丢失
编译llvm,报错
CMake Error at tools/clang/cmake/modules/CMakeLists.txt:1 (include):
include could not find requested file:
ExtendPath
CMake Error at tools/clang/cmake/modules/CMakeLists.txt:3 (include):
include could not find requested file:
FindPrefixFromConfig
CMake Error at tools/clang/cmake/modules/CMakeLists.txt:42 (find_prefix_from_config):
Unknown CMake command "find_prefix_from_config".
解决方案
谷歌一下,发现上面也有人在吐槽这事,用工地英语辨识了一会,大概意思是我用的这个版本的llvm(14),打包的时候漏打包了这几个文件,从github上获取文件后手动添加到llvm/cmake下面就行
评论已关闭