10011 Commits

Author SHA1 Message Date
Mats Jun Larsen
afa48b375c adjust compiler name gh-14305 2025-03-27 03:15:49 +01:00
mathiasgredal
495484a456 add jdk24.0.0 2025-03-27 01:51:42 +00:00
Marc Poulhiès
eeab22a0b3 algol68: adjust default program
After https://inbox.sourceware.org/algol68/87msd7n6al.fsf@gnu.org/T/#t
adjust the default program (and remove the PROGRAM line)

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-14298
2025-03-26 18:08:27 +01:00
Patrick Quist
6b5553d726 Dont change original library versioninfo object (#7517) gh-14296 2025-03-25 23:09:44 +01:00
Jorenar
c8501f5bd1 Correct C logo (#7511) gh-14289 2025-03-21 12:48:31 +01:00
Jeremy Rifkin
c13b4f0d2c Add cpptrace 0.8.2 gh-14288 2025-03-20 23:03:07 -06:00
Marc Poulhiès
d33522ff05 cobol: add the snapshot from GCC trunk
Now that COBOL has been merge in GCC, it's also available in our
gcc trunk snapshots.

Also fixes #7351 (adjust copyright year)

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-14286
2025-03-18 22:20:25 +01:00
kevinjeon-g
3ea4baa363 Correctly handle missing .dex file for R8 (#7498)
R8 will not produce a .dex file if there are no entry points into the
.class file code. This change updates R8/D8 so that a missing .dex file
returns a message to the user in the compiler output window, instead of
logging a warning/error.
gh-14277
2025-03-15 00:31:18 +00:00
Partouf
4a38793943 redirect output of clippy gh-14274 2025-03-14 17:32:53 +01:00
Partouf
61715be49a fix rust clippy tool gh-14273 2025-03-14 16:59:27 +01:00
narpfel
6a793ecce0 [rust] don’t use a separate tempdir for clippy (#7497) gh-14271 2025-03-13 18:37:27 +01:00
narpfel
95979128ac Add clippy for Rust (#7477) gh-14269 2025-03-12 22:45:15 +01:00
Dana Jansens
a95d35c64b Put the carbon toolchain in the carbon.defaults properties (#7495)
This allows using the carbon toolchain as the default Carbon compiler
when working in a local development environment.
gh-14267
2025-03-12 16:09:15 +01:00
Matt Godbolt
e3c8a86551 My scripts had missed @pfusik: sorry!! gh-14262 2025-03-11 09:47:44 -05:00
Joshua Batty
8c6ce602d1 Add support for pre-installed Sway std library (#7456)
This PR updates the Sway compiler to use pre-installed std libraries
rather than fetching from GitHub. It:

Dynamically adds the std library path to `Forc.toml` when using
versioned compilers
Sets the `--offline` flag at the group level to prevent network access
Works with the std library package added in compiler-explorer/infra#1539

This resolves the issue where Sway was attempting to fetch libraries
from the internet, which is blocked in the Compiler Explorer
environment. see [this
comment](https://github.com/compiler-explorer/compiler-explorer/pull/7409#issuecomment-2679284531)

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
gh-14260
2025-03-10 12:58:07 -05:00
Mingxin Wang
1d509fb9a3 Add examples for Proxy (#7487)
Added 4 example to demonstrate the basic usage.
gh-14258
2025-03-10 10:50:17 -05:00
T
e23537c44f Add zig 0.14.0 and make it the default zig compiler (#7479)
zig `0.14.0` released on 2025-03-05.

Corresponding infra PR:
https://github.com/compiler-explorer/infra/pull/1544
gh-14257
2025-03-10 10:49:30 -05:00
Filippo Barbari
0cea8d4cd2 Added new versions of Intel OneAPI C++ compiler (#7474)
Added new versions (and one old one) of the Intel OneAPI C++ compiler:
- 2024.2.1
- 2025.0.1
- 2025.0.3
- 2025.0.4

Refers to [this
PR](https://github.com/compiler-explorer/infra/pull/1541).
gh-14256
2025-03-10 10:47:35 -05:00
Matt Godbolt
2926cd152a Sponsor update gh-14255 2025-03-10 10:11:27 -05:00
Matt Godbolt
76814a3f32 Sponsor update gh-14254 2025-03-10 09:51:39 -05:00
Mingxin Wang
b0d9b81e0c Fix include path for Proxy (#7470)
Fix include path for library Proxy
(https://github.com/compiler-explorer/compiler-explorer/pull/7423). The
Proxy library has only one header file placed in the root directory.
gh-14252
2025-03-09 18:59:52 +01:00
Cliff Burdick
d20b52b31b Added CCCL version 2.8.0 (#7466) gh-14251 2025-03-09 18:58:54 +01:00
Mats Jun Larsen
b8f7ec1229 Install Clang/LLVM 20 (#7476) gh-14250 2025-03-09 18:58:21 +01:00
Abril Rincón Blanco
9822030e01 Fix goldenlayout dropdowns z-index fight with Monaco's minimaps (#7478)
Fixes a z-index fight among goldenlayout's dropdowns and the editor's
minimap, which both had a z-index of 5 - Let goldenlayout's win by 1 now

Closes
https://github.com/compiler-explorer/compiler-explorer/issues/7473
gh-14249
2025-03-09 18:57:56 +01:00
Ofek
5f8c801b7f Disable unbufferStdoutExe config, due to clash with asan (#7482)
<!-- 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!
-->

Co-authored-by: Ofek Shilon <oshilon@speedata.io>
gh-14248
2025-03-08 17:57:19 +02:00
Ofek
c4692058cf Replace cp --update with an osx-compliant alternative (#7471) gh-14233 2025-03-01 21:55:21 +02:00
github-actions[bot]
15deb613d2 [bot] Update browsers list (#7468)
Automatic run of `npm run-update-browerslist` which needs to
 be done periodically to keep in-date.
See
[here](https://github.com/browserslist/browserslist#browsers-data-updating)
for more details.

Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
gh-14230
2025-03-01 18:42:15 +01:00
Marc Auberer
bae3b714ee [Spice] Short cli flag -obj was removed (#7467)
The short flag `-obj` was removed from the compiler cli.
The long version (`--dump-object-file`) was already available before and
thus also works for older compiler versions.
gh-14228
2025-02-28 23:48:04 +01:00
Ofek
be9b6f3bd7 Fix #7464: need both clear and clearOptions on gccdump's TomSelect (#7465) gh-14225 2025-02-28 21:41:39 +02:00
Partouf
decafecadd alias gh-14222 2025-02-28 15:05:20 +01:00
Patrick Quist
f507faedeb Remove Abseil Trunk and replace with fixed version (#7441) gh-14221 2025-02-28 14:52:41 +01:00
Matt Godbolt
a66cf13ff5 Improvements to r8/d8 dex stuff (#7460)
- better handling of missing files (doesn't crash)
- better error reporting.
gh-14213
2025-02-26 14:09:24 -06:00
Matt Godbolt
9a3661416a Don't cleanup build dirs until after processAsm (#7459)
- `d8` and `r8`'s `processAsm` looks in the build output folder for
`.smali` and `.cfg` files.
- it used to do this _synchronously_ and so worked (maybe accidentally)
- changes recently made that async, and so some of the time the files
would be cleaned up before it read them (or even during...)
gh-14210
2025-02-26 14:03:43 -06:00
Matt Godbolt
894a9646b4 Run lint first gh-14201 2025-02-26 13:40:39 -06:00
Matt Godbolt
a4995a9c1c Move to using async file reads (#7433)
Remove most, if not all, of the synchronous file reads. Hopefully this
will help a little with performance and "event loop lag". Mostly, it's
"try not to use third party packages when builtins now do the work".

Local testing seems OK - but needs a good poke around on staging to
exercise all the paths.
gh-14200
2025-02-26 11:11:12 -06:00
Matt Godbolt
619e4bd2e4 New temp directory tracker (#7452)
Replaces aging `temp` with a simple, bespoke solution. Reduces the
number of deprecated/out-of-date dependencies we pick up.

Closes #7445.
gh-14195
2025-02-26 10:56:26 -06:00
Matt Godbolt
86536fc8bc Port compilers over to using node:fs et al (#7449)
- use utils functions where necessary
- introduce a few asyncs where needed.

Some local testing done (e.g. with sway and clang). Will need testing in
staging for the best outcome.
gh-14194
2025-02-26 10:56:10 -06:00
Ofek
64706f1d53 Fix #7265: Check explicitly for clangir instead of '-emit-cir' support gh-14186 2025-02-26 02:07:48 +02:00
Ofek
e01aa3e691 Various type improvements gh-14185 2025-02-26 02:07:09 +02:00
Ofek
05d390b742 Fix #7296: clearOptions instead of clear for gcc pass selector (#7451) gh-14170 2025-02-25 23:36:13 +02:00
Matt Godbolt
5a309652f1 More relatively uncontentious fs changes (#7450)
- use node libraries instead of fs-extra
gh-14165
2025-02-25 15:27:45 -06:00
Matt Godbolt
045e318645 Add some useful fs-extra-replacey utils and tests (#7448) gh-14159 2025-02-25 15:07:57 -06:00
Ofek
604c46e6ec Fix #7425: Fix an edge case in asm jump-to-label (#7447) gh-14154 2025-02-25 22:59:08 +02:00
Matt Godbolt
9a8673f950 Update tests to use node fs (#7446)
Also don't re-export fs and path through utils
gh-14145
2025-02-25 13:39:26 -06:00
Matt Godbolt
698f9944cd Use node:fs/promises where possible (#7444)
- Updates a number of uses of `fs-extra` which were only for the
promisified fs calls.
- Makes a few sync calls async.
- Makes a few `read` calls that didn't specify a text mode, but then
parsed as a string...into the equivalent `readFile` call.
gh-14140
2025-02-25 13:26:31 -06:00
Matt Godbolt
669abcb70d February major updates (#7443)
- vitest and all test types etc (test pass). Needed a few minor changes
to match new behaviour of `expect().toMatchSnapshot` (trailing
whitespace is now important)
- `which` - read the changes and spot-checked it. They dropped <v18
- `webpack-cli` - changes don't affect our usage. Checked with a local
`webpack` build and a "prod" run (`make` no dev)
- `enhanced-ms` - checked and updated to use new functionality
- `typescript` - all tests pass, no warnings.

Tested the site locally too.
gh-14135
2025-02-25 13:05:50 -06:00
Matt Godbolt
349a1631db Minor package updates (#7442) gh-14125 2025-02-25 10:56:56 -06:00
Matt Godbolt
2cd262ddaa Drop logging of unbuffering to debug gh-14112 2025-02-25 08:51:33 -06:00
Matt Godbolt
9c90f72129 Tiniest possible step towards type safety for CompilationResult.asm (#7432)
This is a super conservative tweak towards trying to use types for
processAsm, objdump, afterCompilation et al.
gh-14109
2025-02-25 08:37:05 -06:00
Mingxin Wang
52d1d218c6 Add C++ library Proxy (#7423)
Add library Proxy since version 3.0.0.

https://github.com/compiler-explorer/infra/pull/1534
gh-14108
2025-02-25 08:36:31 -06:00