1 Star 0 Fork 0

unlonlyness / diagnostics

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
freebsd-instructions.md 992 Bytes
一键复制 编辑 原始数据 按行查看 历史

FreeBSD Prerequisites

These instructions will lead you through preparing to build the diagnostics repo on FreeBSD. We'll start by showing how to set up your environment from scratch.

Environment

These instructions are written assuming FreeBSD 10.1-RELEASE, since that's the release the team uses.

These instructions assume you use the binary package tool pkg (analog to apt-get or yum on Linux) to install the environment. Compiling the dependencies from source using the ports tree might work too, but is untested.

Minimum RAM required to build is 1GB. The build is known to fail on 512 MB VMs (Issue 536).

Toolchain Setup

Install the following packages for the toolchain:

  • bash
  • cmake
  • llvm39 (includes LLVM 3.9, Clang 3.9 and LLDB 3.9)
  • gettext
  • ninja (optional)
  • python27

To install the packages you need:

sudo pkg install bash cmake llvm39 gettext python27
1
https://gitee.com/unlonlyness/diagnostics.git
git@gitee.com:unlonlyness/diagnostics.git
unlonlyness
diagnostics
diagnostics
master

搜索帮助