bjorn3
ab425a4bca
Revert "Build with -Cpanic=unwind
by default"
...
This reverts commit afe74d71e4c2f08696ade0de321a45f7442440d8. It
shouldn't have been pushed to master as it isn't ready yet.
2021-03-31 13:47:10 +02:00
bjorn3
afe74d71e4
Build with -Cpanic=unwind
by default
...
This doesn't enable unwinding as cg_clif doesn't support it yet. It does
allow for linking to a cg_llvm compiled libstd.so, which uses
`-Cpanic=unwind`.
2021-03-31 12:16:33 +02:00
bjorn3
6b58ed225e
Adjust for changed -Zmir-opt-level numbering
2021-03-09 16:45:55 +01:00
bjorn3
9be3936e95
Use #!/usr/bin/env bash
...
FreeBSD doesn't have /bin/bash
2021-02-14 18:12:51 +01:00
bjorn3
17cffc1757
Move some env var definitions around to fix cross-compilation
2021-01-31 14:56:10 +01:00
bjorn3
9164653c10
Split config.sh and add support for copying the mingw runtime objects
2021-01-31 14:15:08 +01:00
bjorn3
84f24e530a
Re-enable mir inlining for the sysroot
2021-01-30 21:26:37 +01:00
bjorn3
9bf5cb43ab
Fix indirectly linking to libstd.so with the JIT
2021-01-21 16:14:32 +01:00
bjorn3
3ea8915d4a
Disable timings by default for cargo.sh
...
Fixes #1121
2021-01-06 14:54:19 +01:00
Jakob Hellermann
7ab499fe49
use hardlinks instead of copying files
2020-11-12 16:18:03 +01:00
bjorn3
cf3aa64c66
Better build dir layout
...
It now matches the layout used by rustc itself
2020-11-08 17:35:59 +01:00
bjorn3
df45a06f89
Don't add .d and .rmeta files to the sysroot
...
Fixes #1106
2020-11-08 17:15:31 +01:00
Jakob Hellermann
d6a9dfa3d4
run 'shellcheck -f diff $(fd --extension sh) | git apply'
2020-11-04 16:07:42 +01:00
bjorn3
646b00ff77
Revert unintentional change
2020-11-02 18:54:10 +01:00
bjorn3
0c34f5aba8
Refactor the build system
2020-11-02 18:17:39 +01:00
bjorn3
1ea618a7b6
Make it easier to use build_sysroot.sh
2020-11-01 19:47:14 +01:00
bjorn3
324e63de28
Ensure that sysroot build works with CARGO_TARGET_DIR set
2020-11-01 19:38:21 +01:00
bjorn3
faec12461f
Use custom driver for sysroot building too
...
This required another custom driver to ensure that build scripts are
built using cg_llvm instead of cg_clif.
After this change only rustdoc still uses -Zcodegen-backend
2020-10-10 16:41:31 +02:00
bjorn3
3fc673d0a9
Rustup to rustc 1.49.0-nightly (beb5ae474 2020-10-04)
2020-10-05 11:12:41 +02:00
bjorn3
787d078fb6
Build build scripts for sysroot using cg_llvm
...
There is not yet a cg_clif sysroot available when building the sysroot itself
2020-09-29 18:07:19 +02:00
bjorn3
a9ec4de6f2
Silence rm warning when files are not existing
2020-09-29 13:26:32 +02:00
bjorn3
7285c134d1
Reorganize scripts
2020-09-16 16:46:02 +02:00
bjorn3
33b6a9081a
Add workaround for rust-lang/rust#74946
...
Fixes #1072
2020-08-19 13:56:54 +02:00
bjorn3
9510791fce
Compile sysroot in release mode by default
...
Fixes #938
2020-06-13 19:19:38 +02:00
bjorn3
bcd357a0ae
Rustup to rustc 1.45.0-nightly (46e85b432 2020-05-24)
2020-05-25 12:41:33 +02:00
bjorn3
e9d3569e08
Run libcore tests
2019-11-24 15:44:39 +01:00
bjorn3
f6c39fa701
Rustup to rustc 1.39.0-nightly (eeba189cf 2019-08-24)
2019-08-25 16:30:36 +02:00
bjorn3
7aa4cb874a
Misc changes
2019-08-18 14:57:46 +02:00
bjorn3
43e68319fa
Rustup to rustc 1.39.0-nightly (2111aed0a 2019-08-17)
2019-08-18 11:30:13 +02:00
bjorn3
1538f7488e
Add libstd.so to sysroot
2019-08-10 17:00:09 +02:00
bjorn3
dbac219207
Libtest support
2019-08-09 12:46:24 +02:00
bjorn3
8691b8b8b6
Test rust-lang/regex example shootout-regex-dna
2019-07-30 13:37:54 +02:00
bjorn3
964edb9a61
Don't remove incremental cache for sysroot building
...
This more than halves compilation time for the sysroot
2019-04-24 16:36:04 +02:00
bjorn3
16f4126656
Pass --sysroot in config.sh to prevent passing it
2019-04-10 16:53:23 +02:00
bjorn3
c6bf784d39
Misc changes
2019-02-06 19:07:21 +01:00
bjorn3
ed9528a104
Misc changes
2019-02-03 11:25:56 +01:00
bjorn3
b105534f97
Misc build changes
2018-12-28 17:15:20 +01:00
bjorn3
1e5c6bc5b8
Stop using xargo for building the sysroot
...
It is currently broken. (see https://github.com/japaric/xargo/issues/227 )
This makes it easier to for example patch whole crates away.
2018-12-15 16:18:03 +01:00