llvm - 如何找到或生成示例 LLVM 项目?

标签 llvm project sample

在 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.txtLLVMBuild.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/

相关文章:

security - 是否有一种基于 LLVM 的编程语言可以保证沙箱安全的快速二进制文件?

ios - 整个模块优化 - 将 pod 中的所有 swift 文件放在主项目中?

visual-studio - Visual Studio 2019 LLVM 中的 OpenMP 链接错误

eclipse - 如何从 Eclipse 项目中排除某些文件夹?

r - 如何计算大型数据集中出现的次数

c++ - 警告 : Function return user-defined type which is incompatible with C

svn - 无需 checkout 即可在存储库中 move SVN 项目

android - 如何在 Mac OS 10.9 的 Android 项目中构建和使用 ffmpeg 库?

r - R : how to run faster? 中的强力球

从数据框或矩阵中随机采样连续行