在 LLVM documentation关于如何启动一个项目,它提到:
(....)
There are two ways that you can set all of these variables:
(.....)
You can use the pre-made LLVM sample project. This sample project includes Makefiles, a configure script that can be used to configure the location of LLVM, and the ability to support multiple object directories from a single source directory.
问题是,我不确定它位于何处或如何在我的 LLVM 安装中生成此示例项目 - 我已经克隆了 LLVM 项目并编译了它。
在文档的另一个地方提到它被放置在 llvm/projects/samples
中,但是我无法找到它,因为该文件夹不包含任何项目(但是,它包含一个 CMakeLists.txt
和 LLVMBuild.txt
,让我觉得我可能能够生成这个)。
我是否错过了一些非常明显的东西?
提前谢谢您。
最佳答案
它自release/3.5.x分支以来已被删除,但是您仍然可以在release/2.4.x分支或更低版本中找到。
https://github.com/llvm/llvm-project/tree/release/3.4.x/llvm/projects
关于llvm - 如何找到或生成示例 LLVM 项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60821899/