Commit Graph

147 Commits

Author SHA1 Message Date
bjorn3
6b58ed225e Adjust for changed -Zmir-opt-level numbering 2021-03-09 16:45:55 +01:00
bjorn3
8f62149d07 Rustup to rustc 1.52.0-nightly (8f349be27 2021-03-08) 2021-03-09 10:16:43 +01:00
bjorn3
27886cd6b6 Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05 2021-03-05 19:12:59 +01:00
bjorn3
a5bf6d2f18 Rustup to rustc 1.52.0-nightly (83b30a639 2021-02-20) 2021-02-21 17:27:53 +01:00
bjorn3
93373e13f0 Don't build alloc_system as part of the sysroot 2021-02-21 10:56:25 +01:00
bjorn3
b36fd9d82b Remove unnecessary parts from alloc_system 2021-02-21 10:49:55 +01:00
bjorn3
537db9a1ef Disable 128bit atomic operations on macOS 2021-02-18 18:46:22 +01:00
bjorn3
9be3936e95 Use #!/usr/bin/env bash
FreeBSD doesn't have /bin/bash
2021-02-14 18:12:51 +01:00
bjorn3
176965f517 Rustup to rustc 1.52.0-nightly (0fc6756b4 2021-02-08) 2021-02-09 12:30:06 +01:00
bjorn3
e4ae9ef3b0 Rustup to rustc 1.51.0-nightly (d4e3570db 2021-02-01) 2021-02-02 10:24:29 +01:00
bjorn3
a75f9bc3be Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01 2021-02-01 10:11:46 +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
d34b5e2885 Rustup to rustc 1.51.0-nightly (b12290861 2021-01-29) 2021-01-30 19:29:02 +01:00
bjorn3
9bf5cb43ab Fix indirectly linking to libstd.so with the JIT 2021-01-21 16:14:32 +01:00
bjorn3
c0aefeb5b7 Rustup to rustc 1.51.0-nightly (a4cbb44ae 2021-01-20) 2021-01-21 14:51:28 +01:00
bjorn3
3ea8915d4a Disable timings by default for cargo.sh
Fixes #1121
2021-01-06 14:54:19 +01:00
bjorn3
2c41a6953b Rustup to rustc 1.51.0-nightly (44e3daf5e 2020-12-31) 2021-01-01 17:15:04 +01:00
bjorn3
77f74ed070 Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27 2020-12-27 10:30:38 +01:00
bjorn3
8e234d5d4b Rustup to rustc 1.50.0-nightly (b32e6e6ac 2020-12-16) 2020-12-17 18:36:00 +01:00
bjorn3
d404840788 Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27 2020-11-27 20:48:53 +01:00
bjorn3
de4ce8c05f Sync from rust c922857066 2020-11-27 18:01:29 +01:00
bjorn3
aef656aee8 Rustup to rustc 1.50.0-nightly (72da5a9d8 2020-11-26) 2020-11-27 18:01:01 +01:00
Lzu Tao
e4cc56d760 Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
bjorn3
c3179bc44b Rustup to rustc 1.50.0-nightly (593fe977a 2020-11-20) 2020-11-21 19:49:51 +01:00
bjorn3
7ec44711e6 Rustup to rustc 1.49.0-nightly (9722952f0 2020-11-12) 2020-11-13 19:01:40 +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
285c7c66dc Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020-11-01 2020-11-03 11:00:04 +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
793d26047f Rustup to rustc 1.49.0-nightly (4760b8fb8 2020-10-25) 2020-10-26 09:51:48 +01:00
bjorn3
8dc71a419e Rustup to rustc 1.49.0-nightly (1eaadebb3 2020-10-21) 2020-10-22 12:44:59 +02:00
bjorn3
783c6771b3 Rustup to rustc 1.49.0-nightly (b1af43bc6 2020-10-10) 2020-10-11 10:58:26 +02: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
1cd63dc9b2 Update sysroot miniz_oxide 2020-10-08 13:37:02 +02:00
bjorn3
3fc673d0a9 Rustup to rustc 1.49.0-nightly (beb5ae474 2020-10-04) 2020-10-05 11:12:41 +02:00
bjorn3
ab92638735 Rustup to rustc 1.48.0-nightly (8fe73e80d 2020-10-01) 2020-10-02 14:26:34 +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
a2c2db9cd6 Rustup to rustc 1.48.0-nightly (f68e08933 2020-09-19) 2020-09-20 16:25:14 +02:00
bjorn3
7285c134d1 Reorganize scripts 2020-09-16 16:46:02 +02:00
bjorn3
50e8f2218e Rustup to rustc 1.48.0-nightly (7402a3944 2020-09-13) 2020-09-14 10:56:37 +02:00
bjorn3
217b3818b7 Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04) 2020-09-05 10:38:49 +02:00
bjorn3
33b6a9081a Add workaround for rust-lang/rust#74946
Fixes #1072
2020-08-19 13:56:54 +02:00
bjorn3
f79e8e8487 Rustup to rustc 1.47.0-nightly (09f4c9f50 2020-08-07) 2020-08-08 16:30:22 +02:00
bjorn3
fb0e5c6211 Fix some warnings 2020-08-08 16:17:34 +02:00
bjorn3
3e4ddca409 Rustup to rustc 1.47.0-nightly (f9d422ea7 2020-08-04) 2020-08-05 13:55:27 +02:00
bjorn3
7d69857dcb Rustup to rustc 1.47.0-nightly (db0492ace 2020-07-29) 2020-07-30 14:58:27 +02:00
bjorn3
1ffc3079b0 Rustup to rustc 1.47.0-nightly (bbebe7351 2020-07-22) 2020-07-23 12:13:22 +02:00
bjorn3
bbe8bedd2a Rustup to rustc 1.46.0-nightly (8aa18cbdc 2020-07-08) 2020-07-09 13:13:29 +02:00
bjorn3
f3a91164a2 Rustup to rustc 1.46.0-nightly (f781babf8 2020-07-01) 2020-07-02 19:48:03 +02:00
bjorn3
57d9dda09f Rustup to rustc 1.46.0-nightly (0ca7f74db 2020-06-29) 2020-06-30 18:31:36 +02:00
bjorn3
48d4bc2fb6 Rustup to rustc 1.46.0-nightly (7750c3d46 2020-06-26) 2020-06-27 11:29:39 +02:00
bjorn3
b79102c933 Disable "LTO is not supported" warning for sysroot build 2020-06-20 19:14:58 +02:00
bjorn3
fcd596714b Remove pin of the libc crate for the sysroot
The latest libc version has fixed the compilation error
2020-06-16 10:54:18 +02:00
bjorn3
bd6e0e6e12 Rustup to rustc 1.46.0-nightly (f315c35a7 2020-06-15) 2020-06-16 10:24:24 +02:00
bjorn3
9510791fce Compile sysroot in release mode by default
Fixes #938
2020-06-13 19:19:38 +02:00
bjorn3
648b634e21 Rustup to rustc 1.45.0-nightly (56daaf669 2020-06-03) 2020-06-04 19:57:12 +02:00
bjorn3
bcd357a0ae Rustup to rustc 1.45.0-nightly (46e85b432 2020-05-24) 2020-05-25 12:41:33 +02:00
bjorn3
ac1c5d6954 Rustup to rustc 1.44.0-nightly (537ccdf3a 2020-04-02) 2020-04-03 11:54:18 +02:00
bjorn3
1c02e6c368 Rustup to rustc 1.43.0-nightly (c20d7eecb 2020-03-11) 2020-03-12 21:04:00 +01:00
bjorn3
9ab2af56aa Rustup to rustc 1.43.0-nightly (4ad624882 2020-03-03) 2020-03-04 15:04:28 +01:00
bjorn3
01f6f40ac2 Rustup to rustc 1.43.0-nightly (442ae7f04 2020-02-06) 2020-02-07 13:49:48 +01:00
bjorn3
8de317dd8f Update compiler_builtins 2020-01-25 17:24:45 +01:00
bjorn3
e9d3569e08 Run libcore tests 2019-11-24 15:44:39 +01:00
bjorn3
177b0d2f57 Rustup to rustc 1.41.0-nightly (ded5ee001 2019-11-13) 2019-11-14 21:13:40 +01:00
bjorn3
554a1aa0ba Reenable debug assertions for libstd on macOS
m4b/faerie#91 has been merged
2019-09-14 12:49:23 +02:00
bjorn3
3e78ca957e Rustup to rustc 1.39.0-nightly (f0b58fcf0 2019-09-11) 2019-09-12 20:21:54 +02: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
8e400008ff Disable debug assertions for libstd
This is necessary on macOS, because of alignment problems
2019-08-18 14:49:10 +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
c4af588f72 Correctly align all allocs
Fixes #348
2019-08-01 11:49:03 +02:00
bjorn3
8691b8b8b6 Test rust-lang/regex example shootout-regex-dna 2019-07-30 13:37:54 +02:00
bjorn3
ffa34ae328 Remove unnecessary changes 2019-07-26 11:45:01 +02:00
bjorn3
0a833ba8a1 [WIP] 2019-07-26 11:32:04 +02:00
bjorn3
c814ee0d2a [WIP] 2019-07-26 11:28:04 +02:00
bjorn3
94effb972f Rustup to rustc 1.38.0-nightly (e3cebcb3b 2019-07-19) 2019-07-20 13:04:02 +02:00
bjorn3
b82472184d Rustup to rustc 1.38.0-nightly (dfd52ba6a 2019-07-06) 2019-07-07 11:59:11 +02:00
bjorn3
11d816cce5 Rustup to rustc 1.36.0-nightly (597f43248 2019-04-26) 2019-04-27 17:44:12 +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
Milkey Mouse
13c20fc803
Don't sign commits from patches in sysroot
This is really annoying when commit.gpgSign is enabled globally.
2019-02-17 17:42:12 -08:00
bjorn3
223611dcb2 Fix and enable libstd building 2019-02-11 19:40:07 +01: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
6e5d9abe9c Rustup to rustc 1.33.0-nightly (e40548bc4 2018-12-21) 2018-12-22 10:54:38 +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