小编Ad *_*ven的帖子

从 Ubuntu Bionic Beaver 源代码构建 LLVM 的步骤是什么?

并非所有 Kaleidscope 示例都可以编译。有些是这样的。

在 LLVM 的构建过程中,Cmake 抱怨“- 无法找到 LLVM FileCheck”

我的兴趣是使用 LLVM 开发一个玩具编译器 - 在 Ubuntu Bionic Beaver 笔记本电脑上,64 位。因此我需要从源代码编译 LLVM。文档说构建需要 Cmake、gcc/g++、clang 和 zlib。是的,确实如此。我发现这个列表并不完整。

sudo apt update
sudo apt upgrade
sudo apt install -y cmake gcc g++ python build-essential opam ocaml
sudo apt install -y checkinstall python-pygments python-yaml llvm

opam init /* and say yes to creating a profile
opam config env
opam install ctypes ctypes-foreign 
opam depext conf-llvm.6.0.0     /* and said Y to install
opam depext conf-m4.1           /* and …
Run Code Online (Sandbox Code Playgroud)

llvm

5
推荐指数
1
解决办法
5405
查看次数

标签 统计

llvm ×1