Jakub Beránek
e95caa7b72
Link to execinfo
on NetBSD
2023-07-17 08:30:54 +02:00
zhaixiaojuan
ccf5417799
Enable loongarch64 LLVM target
2023-04-04 17:05:08 +08:00
Kai Luo
3a7977e3ca
Link against libc++ on AIX
2023-03-23 16:33:54 +08:00
nils
fd7a159710
Fix uninlined_format_args
for some compiler crates
...
Convert all the crates that have had their diagnostic migration
completed (except save_analysis because that will be deleted soon and
apfloat because of the licensing problem).
2023-01-05 19:01:12 +01:00
bors
e10201c9bb
Auto merge of #104572 - pkubaj:patch-1, r=cuviper
...
Fix build on powerpc-unknown-freebsd
Probably also fixes build on arm and mips*. Related to https://github.com/rust-lang/rust/issues/104220
2022-12-09 12:00:58 +00:00
pkubaj
32c777e891
Fix build on powerpc-unknown-freebsd
...
Probably also fixes build on mips*. Related to https://github.com/rust-lang/rust/issues/104220
2022-12-09 02:11:15 +01:00
bjorn3
be6708428f
Rewrite LLVM's archive writer in Rust
...
This allows it to be used by other codegen backends
2022-11-26 19:35:32 +00:00
Josh Stone
32a3130813
Upgrade dist-x86_64-netbsd to NetBSD 9.0
2022-10-28 18:49:48 -07:00
Sébastien Marie
1de5b22678
add riscv64gc-unknown-openbsd support (target riscv64-unknown-openbsd on OpenBSD)
...
- add platform-support documentation
- add riscv64gc-unknown-openbsd spec
- do not try to link with -latomic on openbsd
2022-08-28 05:22:21 +00:00
Nikita Popov
1db81713f6
Link libatomic on 32-bit targets
...
This is needed since https://reviews.llvm.org/D128070 .
2022-08-09 12:39:59 +02:00
Urgau
0e82c53028
Add cargo:rustc-check-cfg to rustc_llvm build script
2022-07-03 16:17:17 +02:00
Mateusz Mikuła
60361f2ca3
Add LLVM based mingw-w64 targets
2022-05-13 20:14:15 +02:00
bjorn3
0cfc3e1016
Remove build_helper
...
The majority of the code is only used by either rustbuild or
rustc_llvm's build script. Rust_build is compiled once for rustbuild and
once for every stage. This means that the majority of the code in this
crate is needlessly compiled multiple times. By moving only the code
actually used by the respective crates to rustbuild and rustc_llvm's
build script, this needless duplicate compilation is avoided.
2022-03-05 15:31:22 +01:00
Tobias Kortkamp
e24045e587
Explain why libatomic is not needed on FreeBSD riscv64
...
From Jessica Clarke (jrtc27@)
2021-12-03 18:49:42 +01:00
Tobias Kortkamp
47474f1055
Add riscv64gc-unknown-freebsd
2021-11-27 07:24:18 +01:00
Mateusz Mikuła
a076f2b9b4
Repace use of static_nobundle
with native_link_modifiers
...
This fixes warning when building Rust and running tests:
```
warning: library kind `static-nobundle` has been superseded by specifying `-bundle` on library kind `static`. Try `static:-bundle`
warning: `rustc_llvm` (lib) generated 2 warnings (1 duplicate)
```
2021-10-23 15:51:22 +02:00
John Paul Adrian Glaubitz
fa27d50caa
compiler/rustc_llvm: Enable M68k LLVM target
2021-09-17 15:07:14 +00:00
Marcus Calhoun-Lopez
956fd10660
Cross compiling rustc_llvm on Darwin requires zlib.
2021-06-26 07:29:57 -07:00
Alessandro Decina
12e70929d6
Add BPF target
...
This change adds the bpfel-unknown-none and bpfeb-unknown-none targets
which can be used to generate little endian and big endian BPF
2021-05-23 18:03:27 +10:00
Josh Stone
b97a33b1cb
All supported LLVM versions have MSP430AsmPrinter
2021-03-22 12:44:48 -07:00
Matthias Krüger
5c8de1cf49
use strip_prefix over slicing (clippy::manual_strip)
2020-12-11 23:02:17 +01:00
est31
8b8e706008
Simplify some code in rustc_llvm/build.rs now that LLVM 8 is required
...
LLVM 8 is required since 8506bb0060
so this is safe to do.
2020-10-08 06:19:06 +02:00
Vadim Petrochenkov
10d3f8a484
Move rustllvm
into rustc_llvm
2020-09-09 23:05:43 +03:00