2337 Commits
Author SHA1 Message Date
Marc Poulhiès bffc28b73c Support for compiling to binary object
Support for compiling until assembler, before invoking the linker (eg. gcc -c).
Basic support for displaying relocation informations.

Currently only used in c/c++/d and may/will propagate to other compilers later.

fixes #3222

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-08 20:45:12 +01:00
Marc Poulhiès b36da043aa bpf: disable binary support for Clang (#4557)
... until we have a fix for either:
 - calling gcc to drive the link
 - don't link to get an object file

Downcase CLANG name, no need to shout.

refs #4408

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-07 15:33:37 +01:00
Marc Poulhiès 959012c6fb bpf: use gcc for linking BPF binaries (#4556)
Use cross GCC for driving a link to binary.

refs #4408

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-07 15:02:52 +01:00
Marc Poulhiès 3a7c317816 Add few clang compiler alias for BPF target (#4543)
Add 3 latest clang version aliases + trunk to BPF target.
Use `llvm-objdump` for clang compilers and binutils' one for the GCC compiler (unfortunately, this can't be changed by the user in the UI).

refs #4408
2023-01-07 14:19:07 +01:00
Marc Poulhiès be75476645 fix: use Kalray's ACB 4.11.1 (#4542) 2023-01-06 16:47:24 +01:00
Jake Wharton 3447aba612 Add Kotlin 1.8.0 (#4548) 2023-01-06 16:45:28 +01:00
Björn Fahller 88f9c16015 Add v8 of strong_type C++ lib (#4536) 2023-01-06 16:14:16 +01:00
Matt Godbolt b7672f7175 Unify quotes 2023-01-03 18:45:56 -06:00
Andrew Kaster 0ac3d29d8d Jakt: Ensure cxx-compiler-path matches the compiler that compiled jakt (#4514)
The way that jakt calls out to a C++ compiler to compile the C++ source
files it generates is sensitive to which compiler compiled its runtime
library. Rather than using clang-trunk, use the same compiler that was
used in misc-builder: gcc-12.1.0. This does cause a warning or two, as
it seems gcc 12.1.0 doesn't implement [[unlikely]] yet, but that's
better than not being able to link executables at all.

This issue will likely come up again if the compiler used in
misc-builder to build the jakt compiler changes.
2023-01-03 18:18:07 -06:00
kasperk81 d13574d178 display crossgen2 version in asm output (#4526)
dotnet 6 and 7 will also show the version once there is a new deployment. for now they are showing 7.0.0-dev and <unknown version> respectively
2023-01-03 18:18:07 -06:00
Marc Poulhiès 34a1528fd7 Add new version of Kalray' KVX compiler (#4507)
Add new ACB 4.11.0 version.

fixes #4506

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-03 18:18:06 -06:00
Matt Godbolt e199c280ee New sponsor; thanks! 2023-01-03 18:18:06 -06:00
Matt Godbolt 37abe39452 Don't rely on git if .git isn't there during build (#4498)
If we don't have a `.git` directory during build, then don't try and run `git` commands to get e.g. history and last changed for policy files and changelog.

Closes #4497
2023-01-03 18:18:06 -06:00
Steve 61aad90f94 Various enhancements for dotnet (#4362) 2023-01-03 18:18:06 -06:00
Peter Dimov 64bd250a23 Add Boost 1.81.0 (#4493) 2023-01-03 18:18:06 -06:00
Patrick Quist 9eb1587fb0 add sqlite to cpp (#4491) 2023-01-03 18:18:06 -06:00
Jonathan Reichelt Gjertsen b758b33a4f Merge branch 'compiler-explorer:main' into main 2022-12-22 16:29:45 +01:00
Björn Fahller 95d0695e94 Add rollbear/strong_type library (#4482) 2022-12-22 12:53:46 +01:00
Jonathan Reichelt Gjertsen e361a9b2f6 Working CL430 compiler 2022-12-22 01:01:26 +01:00
Jonathan Reichelt Gjertsen cec8c51e7a Update c++.amazon.properties to support TI CL430 2022-12-21 23:43:50 +01:00
Rubén Rincón Blanco d0577c673c Add new rust crates (#4462) 2022-12-19 17:41:36 +01:00
Patrick Quist 2074b1454b Update ocaml.amazon.properties (#4464) 2022-12-19 17:40:10 +01:00
Matt Godbolt fcd24cb99e New sponsor; thanks! 2022-12-19 07:36:47 -06:00
Alfredo Correa d5a9baecd7 Add Josuttis' Belle Views to C++ compiler (#4452) 2022-12-18 22:49:46 +01:00
Marc Poulhiès c9c6eb27db add: gcc bpf cross compiler (#4413)
Add GCC for C and C++, for BPF target.

fixes #4408

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-12-18 21:34:17 +01:00
Matt Godbolt 77aab4dff2 Revoke my git license, fix new ispc 2022-12-16 09:59:44 -06:00
Matt Godbolt 3ddcb80a7e pahole is now pahole-trunk 2022-12-16 09:55:11 -06:00
Matt Godbolt c265aa0138 Add templates_new ispc 2022-12-15 22:22:51 -06:00
Madhur Chauhan a45ea37c75 update pahole name (#4441)
* update pahole name
2022-12-15 16:11:23 -06:00
Miguel Ojeda 18a90707d4 Rust 1.66.0 (#4442)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-12-15 11:12:22 -06:00
Matt Godbolt cad5227756 Don't try and hack the compilation results (#4429)
* Don't try and hack the compilation results

Carbon tried to synthesize "having run" by overriding and hacking a result routine...but did so _after_ it had been cached. So cached results were broken, but live results not.

This "fixes" by adding a post-compilation, but pre-cache hook and uses that instead. Naming is terrible.

I also took the time to fix the `CompilationResult`'s `buildResult`

Closes #4426
2022-12-12 21:38:22 -06:00
Michael Debertol e2acc233ff Add more dart versions (#4414) 2022-12-11 15:19:18 +01:00
Patrick Quist 67f71f2b51 Support patched clang for faster opt-view (#4416) 2022-12-10 18:17:51 +01:00
Matt Godbolt f3e6039fe1 Sponsors 2022-12-06 18:16:09 -06:00
Marc Poulhiès b1facf8e80 Add special option for gccrs (#4401)
gccrs is still in heavy dev and to avoid anyone missing this crucial info, it
has introduced a very explicit option and required option:

 -frust-incomplete-and-experimental-compiler-do-not-use

The compiler emits a very verbose error if this option is missing.

refs https://github.com/Rust-GCC/gccrs/pull/1540

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-12-06 20:06:53 +01:00
Jeremy Rifkin 836a2d7005 Tsify generated asm docs (#4388)
* Converted amd64 docs to ts

* 6502

* 6502 part 2

* arm

* avr

* evm

* java

* llvm

* python

* Fix bug with only getting the first paragraph

* Updated help messages
2022-12-02 14:36:10 -05:00
Jeremy Rifkin 2e844e9ef5 Make docenizer naming more consistent (#4387) 2022-12-02 12:16:42 -05:00
Daniel Thornburgh 1af4cc7945 [llvm-mos] Fix swapped C and C++ compiler binaries. (#4383) 2022-12-02 13:38:32 +01:00
Anastasia Stulova 30c2420ba8 Add clang-14 and clang-15 to OpenCL (#4370)
Update C++ for OpenCL and OpenCL C with
clang-14 and clang-15 compilers.
2022-11-30 19:49:24 +01:00
Marc Poulhiès 967efdebd9 template: add Ada IDE (#4368)
Add a sample Ada project in the templates.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-11-30 15:30:08 +01:00
Alfredo Correa 8daa6ebebe add Multi library (#4367)
similar changes work for the C++ compiler
2022-11-30 11:45:25 +01:00
Alfredo Correa ab98ce9685 Add Multi library to Circle compiler (#4364)
This works with C++ compiler already

library source and details here: https://gitlab.com/correaa/boost-multi
2022-11-30 00:48:37 +01:00
Samuel Bronson ddd66219c7 Update rust.default.properties (#4053)
`rustfilt` ended up at a different path for me, and the "absolute path as compiler name" compatibility kludge seems not to work anymore.

(Also, this way it matters less where rustc is installed.)
2022-11-29 17:08:33 -06:00
Matt Godbolt 00ea739ab8 Rename files that confuse me every time (#4363) 2022-11-29 17:07:24 -06:00
Matt Godbolt 31cc95adfd Make the same NVidia magic devices available in compilation too. May help nvc++ compilation time as it will be able to detect the target GPU (#4361) 2022-11-29 07:16:23 -06:00
Patrick Quist 4f1bbcf526 .net - compileToBinary fix (#4353) 2022-11-28 23:13:01 +01:00
kasperk81 df607d5f6b dynamically set targetFramework (#4354) 2022-11-28 23:09:48 +01:00
Marc Poulhiès 8240962b7a Add Zig 0.10.0 (#4358) 2022-11-28 23:09:01 +01:00
Steve 75b9d30485 Support trunk and execution for .NET (#4351)
* Support trunk and execution for .NET
* Adjust compilers order
* Support stdin
* Update samples
2022-11-27 10:14:35 -06:00
Matt Godbolt 01e67e60b9 Use new-style environment settings (#4348) 2022-11-26 14:37:51 -06:00