2017-02-06 09:25:50 +01:00
|
|
|
# =============================================================================
|
|
|
|
# Tweaking how LLVM is compiled
|
|
|
|
# =============================================================================
|
|
|
|
[llvm]
|
|
|
|
optimize = true
|
|
|
|
release-debuginfo = false
|
|
|
|
#assertions = false
|
2017-03-22 04:21:12 +01:00
|
|
|
ccache = true
|
2017-02-06 09:25:50 +01:00
|
|
|
#version-check = false
|
|
|
|
static-libstdcpp = false
|
2017-03-22 04:21:12 +01:00
|
|
|
ninja = true
|
2017-02-06 09:25:50 +01:00
|
|
|
|
2017-03-22 04:21:12 +01:00
|
|
|
targets = "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX"
|
2017-02-06 09:25:50 +01:00
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
# General build configuration options
|
|
|
|
# =============================================================================
|
|
|
|
[build]
|
2017-03-22 04:21:12 +01:00
|
|
|
build = "<rust-triple>"
|
|
|
|
host = ["<rust-triple>"]
|
|
|
|
target = ["<rust-triple>"]
|
2017-02-06 09:25:50 +01:00
|
|
|
|
|
|
|
cargo = "/usr/bin/cargo"
|
|
|
|
rustc = "/usr/bin/rustc"
|
|
|
|
|
|
|
|
docs = true
|
2017-03-22 04:21:12 +01:00
|
|
|
compiler-docs = true
|
2017-02-06 09:25:50 +01:00
|
|
|
|
|
|
|
# Indicate whether submodules are managed and updated automatically.
|
|
|
|
submodules = false
|
|
|
|
#gdb = "gdb"
|
|
|
|
#nodejs = "node"
|
|
|
|
#python = "python2.7"
|
|
|
|
|
2017-03-22 04:21:12 +01:00
|
|
|
vendor = true #
|
|
|
|
|
|
|
|
#full-bootstrap = false
|
|
|
|
|
|
|
|
# Enable a build of the and extended rust tool set which is not only the
|
|
|
|
# compiler but also tools such as Cargo. Requires cloning git repo of cargo
|
|
|
|
extended = false
|
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
# General install configuration options
|
|
|
|
# =============================================================================
|
|
|
|
[install]
|
|
|
|
prefix = "<prefix>"
|
|
|
|
libdir = "<libdir>"
|
|
|
|
mandir = "<mandir>"
|
|
|
|
docdir = "<docdir>"
|
2017-02-06 09:25:50 +01:00
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
# Options for compiling Rust code itself
|
|
|
|
# =============================================================================
|
|
|
|
[rust]
|
|
|
|
optimize = true
|
2017-03-22 04:21:12 +01:00
|
|
|
codegen-units = 0 # 0 = core-count
|
2017-02-06 09:25:50 +01:00
|
|
|
|
2017-03-22 04:21:12 +01:00
|
|
|
debug-assertions = false
|
2017-02-06 09:25:50 +01:00
|
|
|
debuginfo = true
|
|
|
|
debuginfo-lines = false
|
|
|
|
debuginfo-only-std = false
|
|
|
|
|
2017-03-22 04:21:12 +01:00
|
|
|
use-jemalloc = false
|
|
|
|
debug-jemalloc = false
|
2017-02-06 09:25:50 +01:00
|
|
|
|
2017-03-22 04:21:12 +01:00
|
|
|
backtrace = true
|
2017-02-06 09:25:50 +01:00
|
|
|
#default-linker = "cc"
|
|
|
|
#default-ar = "ar"
|
|
|
|
|
|
|
|
channel = "stable"
|
|
|
|
|
2017-03-22 04:21:12 +01:00
|
|
|
rpath = false
|
|
|
|
optimize-tests = true
|
|
|
|
debuginfo-tests = true
|
|
|
|
codegen-tests = false
|