]> git.proxmox.com Git - rustc.git/blob - debian/config.toml.in
work around upstream spuriously installing llvm
[rustc.git] / debian / config.toml.in
1 [build]
2 submodules = false
3 vendor = true
4 locked-deps = false
5 verbose = 2
6
7 rustc = "RUST_DESTDIR/usr/bin/rustc"
8 cargo = "RUST_DESTDIR/usr/bin/cargo"
9
10 build = "DEB_BUILD_RUST_TYPE"
11 host = ["DEB_HOST_RUST_TYPE"]
12 target = ["DEB_TARGET_RUST_TYPE"]
13
14 #full-bootstrap = true
15 # originally needed to work around #45317 but no longer necessary
16 # currently we have to omit it because it breaks #48319
17
18 # this might get changed later by override_dh_auto_configure-indep
19 # we do it this way to avoid spurious rebuilds
20 docs = false
21
22 [install]
23 prefix = "/usr"
24
25 [target.DEB_BUILD_RUST_TYPE]
26 llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
27 linker = "DEB_BUILD_GNU_TYPE-gcc"
28
29 ifelse(DEB_BUILD_RUST_TYPE,DEB_HOST_RUST_TYPE,,
30 [target.DEB_HOST_RUST_TYPE]
31 llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
32 linker = "DEB_HOST_GNU_TYPE-gcc"
33
34 )dnl
35 ifelse(DEB_BUILD_RUST_TYPE,DEB_TARGET_RUST_TYPE,,DEB_HOST_RUST_TYPE,DEB_TARGET_RUST_TYPE,,
36 [target.DEB_TARGET_RUST_TYPE]
37 llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
38 linker = "DEB_TARGET_GNU_TYPE-gcc"
39
40 )dnl
41 [target.wasm32-wasi]
42 wasi-root = "/usr"
43
44 [llvm]
45 link-shared = true
46
47 [rust]
48 jemalloc = false
49 optimize = MAKE_OPTIMISATIONS
50 dist-src = false
51
52 channel = "RELEASE_CHANNEL"
53
54 # parallel codegen interferes with reproducibility, see
55 # https://github.com/rust-lang/rust/issues/34902#issuecomment-319463586
56 #codegen-units = 0
57 debuginfo-level = 2
58 debuginfo-level-std = 2
59 rpath = false
60 # see also d-custom-debuginfo-path.patch
61 remap-debuginfo = true
62
63 verbose-tests = true
64 backtrace-on-ice = true