Commit Graph
2667 Commits
Author SHA1 Message Date
Miguel Ojeda db79e447a7 Rust 1.79.0 (#6599)
Infra: https://github.com/compiler-explorer/infra/pull/1325.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-06-14 11:54:46 -05:00
SteveandPatrick Quist b8df2e3dab Refactor and adding new dotnet compilers (#6522)
Depends on https://github.com/compiler-explorer/infra/pull/1312.

I'm considering to unify all old compiler versions per dotnet minor
version as patch upgrade in dotnet doesn't change the codegen. New patch
versions come with quality updates like bug and security fixes, we only
need the latest version per minor dotnet version instead. Here a version
is consisting of `major.minor.patch`, such as `7.0.3` and `8.0.5`.

i.e.
- `dotnet6030csharp:dotnet6018csharp:dotnet6014csharp:dotnet6011csharp`
-> `dotnet60csharp`, and rename it to `.NET 6.0`, as `6.0.30`, `6.0.18`,
`6.0.14` and `6.0.11` are all `6.0`
- `dotnet6030fsharp:dotnet6018fsharp:dotnet6014fsharp:dotnet6011fsharp`
-> `dotnet60fsharp`, and rename it to `.NET 6.0`, as `6.0.30`, `6.0.18`,
`6.0.14` and `6.0.11` are all `6.0`
- `dotnet6030vb:dotnet6018vb:dotnet6014vb:dotnet6011vb` -> `dotnet60vb`,
and rename it to `.NET 6.0`, as `6.0.30`, `6.0.18`, `6.0.14` and
`6.0.11` are all `6.0`
- `dotnet7019csharp:dotnet707csharp:dotnet703csharp:dotnet701csharp` ->
`dotnet70csharp`, and rename it to `.NET 7.0`, as `7.0.19`, `7.0.7`,
`7.0.3` and `7.0.1` are all `7.0`
- `dotnet7019fsharp:dotnet707fsharp:dotnet703fsharp:dotnet701fsharp` ->
`dotnet70fsharp`, and rename it to `.NET 7.0`, as `7.0.19`, `7.0.7`,
`7.0.3` and `7.0.1` are all `7.0`
- `dotnet7019vb:dotnet707vb:dotnet703vb:dotnet701vb` -> `dotnet70vb`,
and rename it to `.NET 7.0`, as `7.0.19`, `7.0.7`, `7.0.3` and `7.0.1`
are all `7.0`

I'm keeping the minor version (ie. `.0`) in the name as there may be
updates like `.NET Core 3.1` to `.NET Core 3.0` which does change the
codegen.

The compiler structure now is:

```
group: dotnetcoreclr
.NET (main)
.NET 8
.NET 7
group: dotnetcrossgen2
.NET (main)
.NET 8
.NET 7
.NET 6
group: dotnetlegacy
existing compilers for backward compact
```

---------

Co-authored-by: Patrick Quist <partouf@gmail.com>
2024-06-11 14:09:23 -05:00
Afonso Bordado bcd773cd55 Update llvm-objdump for Webassembly (#6589)
👋 Hey,

The Webassembly language was recently added (in #6429). I tested it
today on the live enviornment, and it appears to not be working
(example: https://godbolt.org/z/YP5KdscEM).

I don't really know how to debug this, there is no other output other
than `objdump returned 255` which doesn't tell me a whole lot. (If
someone can help me investigate this it would be appreciated)

Looking at the configs for the other languages, they always specify a
objdump binary in the `/opt` path, so maybe `llvm-objdump` is not
available in the system?

This PR attempts to fix it by changing to a fixed version of
`llvm-objdump` in the `/opt` install path. (I've also double checked,
and that version does work locally)
2024-06-11 08:15:40 -05:00
Afonso BordadoandPatrick Quist bdb5feaea3 Add webassembly language (#6429)
👋 Hey,

This PR adds support for the Webassembly Text Language (#1871).
Currently it only supports the
[wasmtime](https://github.com/bytecodealliance/wasmtime) compiler, but
it should be possible to add others (i.e. v8 / wasmer / etc...).

It looks like the monaco does not support the WAT language, so I've
added a simple mode for it, that is mostly copied from the clojure mode
with some changes. From what I've tested it seems to work reasonably
well.


![image](https://github.com/compiler-explorer/compiler-explorer/assets/1357143/9e38b28e-235c-47e5-a71e-50217e5d2056)

---------

Co-authored-by: Patrick Quist <partouf@gmail.com>
2024-06-10 21:29:03 -05:00
Matt Godbolt 4b1d146caa Bit of a WAG at getting liblzma to work 2024-06-09 11:17:13 -05:00
Sam James 89060207e5 Add liblzma (v5.6.2), fix which use (#6542) 2024-06-09 11:14:50 -05:00
Matt Godbolt 7854bd11ab Sponsor update 2024-06-08 15:23:48 -05:00
kevinjeon-g b6a13df431 Update Android compilers (D8, dex2oat) (#6506)
D8: 8.2.47, 8.3.36, 8.3.37
dex2oat: 34.13, 34.14, 34.15, 34.16
2024-06-07 20:37:30 -05:00
Marc Auberer 5f2578b670 [Spice] Add version 0.20.1 (#6548)
Infra PR: https://github.com/compiler-explorer/infra/pull/1320
2024-06-07 20:36:42 -05:00
Matt Godbolt c931a5f1d6 Add @dascandy's contracts branch (#6563) 2024-06-07 19:28:04 -05:00
kevinjeon-g bf91208c97 Support Android API stubs (#6514)
Updates the d8 and dex2oat compiler implementations so that android.jar
is included in the classpath for javac/kotlinc.
2024-06-07 19:18:46 -05:00
jmuddnv 7c72027a11 Update cuda.amazon.properties for CUDA 12.4u1 (#6539) 2024-06-04 22:23:17 +02:00
jmuddnv 78fca7d5e5 Changes for NVIDIA HPC SDK 24.5 (#6527) 2024-06-04 22:23:08 +02:00
Marc Auberer 2307e16fa4 [Spice] Add version 0.20.0 (#6523) 2024-06-02 00:50:37 +02:00
Greg Roth c783e0054d [HLSL] Add DXC 1.8.2405 release (#6538)
This adds the latest DXC version 1.8.2405, the May 2024 release of DXC
2024-05-31 07:32:13 -05:00
Aleksei Nurmukhametov ac57c14602 Add ISPC v1.24.0 (#6534)
ISPC v1.24.0 has been released. Related change:
https://github.com/compiler-explorer/infra/pull/1316
2024-05-31 07:25:18 -05:00
Marc Poulhiès 538eba3930 Add GCC 14.1 for sparc-leon (#6536)
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6406

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-29 14:26:12 +02:00
Marc Poulhiès bcc65005b6 Disable link and execute for older GCC version (#6528)
fixes #6513

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-27 19:44:41 +02:00
Patrick Quist d2c7a5222e Local/Remote Execution environment (#6413) 2024-05-26 22:09:01 +02:00
Marc Poulhiès fea62eeaa2 Switch back some ICC to use recent gcc 13.3 headers (#6517)
ICC was using gcc 12.3 headers as a workaround for a know bug. This bug
has been fixed in gcc 13.3, so switching ICC back to using GCC 13.

fixes #6004

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-24 18:45:49 +02:00
Marc Poulhiès 53369581bb Add 23 cross GCC 13.3 (#6519)
fixes #6478

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-23 18:58:18 +02:00
Marc Poulhiès ecfd2d79f2 Add GCC 13.3.0 native (#6515)
fixes #6479

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-22 12:17:29 +02:00
Dominik Thalhammer b1a6a78e42 Fix jwt-cpp include paths (#6500)
Fix missing `v` prefix in include paths.
2024-05-20 11:18:36 +02:00
Johan Engelen 9cdd3a049f Add LDC 1.38.0 and make it the default D compiler (#6493)
Infra: https://github.com/compiler-explorer/infra/pull/1306
2024-05-18 17:21:58 -05:00
Matt Godbolt 4fda1e9425 Add @hanickadot's p3068 constexpr exceptions branch (#6499)
CC @hanickadot
2024-05-18 17:12:29 -05:00
Dominik Thalhammer e5e7ce8b65 Add jwt-cpp C++ library (#6498)
[jwt-cpp](https://github.com/Thalhammer/jwt-cpp) is a C++11 header only
library for parsing, validating and signing json web tokens. It supports
a wide range of different cryptography and json libraries and implements
all currently standardised signing algorithms.
2024-05-18 13:24:13 -05:00
Marc Poulhiès 3781bbb0b2 fix: path for tools for arm-unknown 13.2 we wrong (#6489)
fixes #6383

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-15 12:19:07 +02:00
Marc Poulhiès ba17402cb5 Loongarch64: add support for Ada, D and Objective-C++ (#6488)
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6456

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-15 10:28:25 +02:00
Marc Poulhiès 5fdaeb2b7d Add latest Kalray compiler: ACB 5.0.0 (#6474)
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6229

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-14 23:38:31 +02:00
widberg 77791d863b Add widberg-defs C/C++ library (#6485) 2024-05-14 17:41:56 +02:00
Nazım Can Altınova d8371ca866 Add the "nix" Rust crate (#6472)
This PR fixes #6212 and infra PR is here:
https://github.com/compiler-explorer/infra/pull/1299

It adds the nix crate that will be useful when users need to access more
user friendly *nix APIs.
Thanks!
2024-05-13 20:30:31 -05:00
Sirui Mu a2c7ef732b Update clangir compiler options (#6432)
The upstream has changed from `-fclangir-enable` to `-fclangir`. Update
here as well.
2024-05-13 20:02:44 -05:00
harishch4 65a3dbcceb Add mlir-translate (#6421) 2024-05-13 19:49:17 -05:00
Quinton Miller 5e2a46a319 Add Crystal 1.12.1 (#6455)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2024-05-12 16:07:13 +02:00
Marc Poulhiès adbebf78e8 add GCC arm64 4.9.4 and 5.5.0 (#6466)
see https://github.com/compiler-explorer/gcc-cross-builder/pull/68

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-12 08:14:30 +02:00
harishch4 15bcb0ab3d Add Flang frontend driver to Fortran Compilers (#6419) 2024-05-10 20:47:29 +02:00
Marc Poulhiès 24c09d135e Hide GCC BPF for C++/GCC14.1 and Rust/trunk
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6459

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-09 10:35:10 +02:00
Ofek 0703fef51b Suggestion to update llvm-cxxfilt logic (#6451)
(1) Restore explicit specification of
`group.*.demangler=/opt/compiler-explorer/clang-trunk/bin/llvm-cxxfilt`
for all clang compiler groups, except bpf and windows.
(2) Make the ClangCompiler` constructor adjust the path of
`llvm-cxxfilt`, so that a compiler-local version is preferred, if one
exists.
(3) Pass-by update: bump the version of llvmDisassembler from clang-14
to clang-18.1.

Hopefully this addresses all demangling issues known so far.
2024-05-08 22:49:21 +03:00
Marc Poulhiès 76eb8f81ef Add 21 cross compilers for GCC 14.1 (#6453)
For 8 different languages.

fixes https://github.com/compiler-explorer/compiler-explorer/issues/6406

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-08 19:09:28 +02:00
Marc Poulhiès 98624bbb96 Add GCC 14.1 for native (intel) (#6447)
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6446

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-07 13:42:46 +02:00
Matt Godbolt 72caf09048 Sponsor update 2024-05-05 18:01:47 -05:00
Matt Godbolt 664f9983c7 Sponsors! 2024-05-05 17:07:33 -05:00
Marc Poulhiès 6821e916cc gcc: add old renovated versions (#6414)
Add 3.4.6, 4.0.4 and 6.5.0.

fixes #6323

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-03 20:46:15 +02:00
Miguel Ojeda 86631cfacf Rust 1.78.0 (#6424)
Infra: https://github.com/compiler-explorer/infra/pull/1290.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-05-02 18:42:30 +02:00
David Spickett 55b8bee77c Add missing clang versions for armv7-a C++ (#6418)
These were present for C but not C++.
2024-05-01 19:20:10 +02:00
Marc Auberer 772ce383b9 [Spice] Add version 0.19.6 (#6405)
Infra PR: https://github.com/compiler-explorer/infra/pull/1288
2024-04-29 21:32:12 -05:00
Jason Rahman e654c76832 Add bincode support for Rust (#6404)
Adding bincode Rust crate support. Serialization/deserialization is perf
sensitive, so adding bincode crate support helps evaluate bincode
assembly generation for different struct types.

infra repo PR is: https://github.com/compiler-explorer/infra/pull/1287
2024-04-29 21:12:57 -05:00
Matt Godbolt 56d5917f07 Revert "Cmake updates (#6368)"
This reverts commit 46d55e842d.

There are unknown versions of cmake in this
2024-04-29 21:09:56 -05:00
Ben Boeckel 46d55e842d Cmake updates (#6368) 2024-04-29 21:05:58 -05:00
kevinjeon-g b94781ab48 Add profile support for dex2oat. (#6382)
dex2oat supports profile-guided compilation. In addition to taking dex
code as an input, it can take a profile as another input, to guide the
compilation. The profile determines which methods need to be compiled,
how calls can be inlined, and so on.

Because Compiler Explorer doesn't support multiple input files, the
profile is added as a comment block in the Java/Kotlin source code. A
post-processor extracts the profile from the comment block into a
separate file, in order to input it to dex2oat.
2024-04-29 20:17:24 -05:00