Commit Graph
2846 Commits
Author SHA1 Message Date
Nuclear_Bomb 1f7ff7fe97 Add library option (#7091)
Infra PR: https://github.com/compiler-explorer/infra/pull/1454
2024-11-29 11:05:30 +01:00
Matt Godbolt 6fa1dede79 Add lfortran and a slightly hacky path to clang (#7149)
Advice sought: I didn't want to plumb through a whole new compiler flag
for `clang` so used a top-level one for `fortran` in the form of a
`ceProp` (which doesn't cascade through all the groups etc). I think
this is _ok_ but ugly and surprising (To me...) and I wonder if we
should actually consider making each compiler's `ceProps` use the same
logic as the logic in the discovery process with parent properties
etc...or not. (cc @partouf in case I've missed something obvious!)
2024-11-28 15:51:51 -06:00
Miguel Ojeda 31c2d4a05d Rust 1.83.0 (#7148)
Infra: https://github.com/compiler-explorer/infra/pull/1468.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-11-28 11:52:22 -06:00
Thirumalai Shaktivel d5ccd7cf20 [feat] Add LFortran as a new fortran compiler (#7119)
Details:
LFortran is a modern open-source (BSD licensed) interactive Fortran
compiler built on top of LLVM. See, https://lfortran.org for more
details.
 There was an interest in the community to add the compiler into the 
 Compiler Explorer: https://github.com/lfortran/lfortran/issues/623. 
 So, this PR adds it.

LFortran is in alpha (the source code compiles to binary and execute. 
 But, users are expected that their code can break). It can emits AST, 
 ASR, LLVM, C, C++, WAT, Julia, Fortran, etc. It has multiple backend
 like LLVM (default), C, C++, x86, WASM, fortran and mlir. 
 For more options run `--help`.

Changes in this PR:
- Add LFortran as a new Fortran compiler.
- `-g` options is enabled by default in `optionsForFilter`. Providing an
option
to disabling it helps other compilers (that doesn't have complete
support for
 debug information) to compile successfully
2024-11-28 10:45:01 -06:00
Mats Jun Larsen a895b7b365 Add kotlin 2.0.10, 2.0.20, and 2.0.21 compilers (#7133)
Points to the latest JDK in #7099 

Infra PR: https://github.com/compiler-explorer/infra/pull/1466
2024-11-29 00:09:41 +09:00
Matt Godbolt 618b27353e Revert "Make java 2301 the default (#7137)"
This reverts commit a82a166deb.

See #7099 and CC @JuditKnoll
2024-11-28 08:51:19 -06:00
Mats ad959c75b2 Fix incorrect default properties names (#7132)
Wondering if we should get rid of builtin.defaults.properties
alltogether. It could probably be inside compiler-explorer.*.properties.
Thoughts @mattgodbolt?

- Snowball is practically unused so I assume that this hasn't caused any
problem for anyone
- Builtin has just defaulted to the same value as sourcePath when the
`.defaults` file hasn't existed.

Fixes #7127
2024-11-28 07:57:23 +09:00
Matt Godbolt a82a166deb Make java 2301 the default (#7137) 2024-11-27 12:44:12 -06:00
Judit KnollandMats d15cb27023 Add JDK 22.0.2 and 23.0.1 (#7099)
Archive OpenJDK releases: https://jdk.java.net/archive/
https://jdk.java.net/23/

---------

Co-authored-by: Mats <mats@jun.codes>
2024-11-27 16:01:53 +09:00
jmuddnv a711eb6544 Changes for NVIDIA HPC SDK 24.11 (#7094)
Add HPC SDK 24.11 to etc/config/c.amazon.properties
Add HPC SDK 24.11 to etc/config/c++.amazon.properties
Add HPC SDK 24.11 to etc/config/fortran.amazon.properties
Add CUDA 12.6.2 to etc/config/cuda.amazon.properties
2024-11-26 18:47:17 -06:00
kevinjeon-g ca568c7361 Add support for the androidx.annotation library (#7125) 2024-11-26 18:46:19 -06:00
Odysseas Georgoudis a6895467f7 add quill v7.5.0 (#7093)
Infra PR: https://github.com/compiler-explorer/infra/pull/1455
2024-11-26 16:57:26 -06:00
Matt Godbolt 9b9364605e Configure vyper; see #7088 and cc @chibitanaka (#7128) 2024-11-26 16:54:53 -06:00
Steve 2a55dce7fc Add support for .NET 9.0 and ILSpy (#7124)
- Adding support for .NET 9.0
- Adding support for ILSpy
- Make some changes to the compiler name so that the meaning of the
version is more cleared
- Adding missing compilers for existing .NET versions

cc: @mattgodbolt
2024-11-26 13:20:02 -06:00
Matt Godbolt a484cf5efe Add new sponsors! thank you! 2024-11-23 19:02:41 -06:00
Mats Jun 73ee43da66 Handle site template importing asynchronously (#7089)
1. Gives a proper type to the metadata
2. Fixes a typo in `screenshot_dimentions`
3. Removes home-made partition function in favor of underscore
4. Reads file asynchronously (and consequently rest of API is async)
5. Strips the `https://godbolt.org/#` from each entry in the config file

As an added benefit this should also cut some startup time reading this
file before it's used :)
2024-11-15 10:03:12 +09:00
Artem Belevich 3e9e6c9959 Fix versions of clang-17/18/19 (#7092) 2024-11-12 21:00:01 +01:00
Partouf 1e95e058e4 fix lookupversion 2024-11-12 18:31:22 +01:00
Nhat Nguyen 384d1bbe2d rename from beman_iterator to beman_iterator_interace (#7084) 2024-11-12 12:59:05 +01:00
Artem Belevich 4d8cf9210b update CUDA compilation w/ clang (#7087)
<!-- 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-11-12 13:40:06 +09:00
Artem Belevich ce17f2f31c Add PTXAS versions matching newer CUDA SDK versions. (#7086)
<!-- 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-11-12 13:36:22 +09:00
aneshlya 293fbf1b8f Add ISPC v1.25.3 and remove ispc-templates_new (#7073)
Corresponding infra PR:
https://github.com/compiler-explorer/infra/pull/1452
2024-11-09 10:13:55 -06:00
Spencer Fricke 13bd12a975 Add SPIRV-Cross and SPIRV-Reflect (#7056) 2024-11-08 16:31:51 +01:00
Mateusz Pusz 79205e7b17 mp-units 2.4.0 added (#7068) 2024-11-08 16:26:19 +01:00
Eczbek c41c9e17fb Add library xieite (#7070) 2024-11-07 22:51:15 -06:00
Elias Kosunen fbc8a25358 Add scnlib v2.0.3, v3.0.2, and v4.0.1 (#7061)
The latest included release, v2.0.0, is from this January. This PR
updates the included versions.

Infra PR: https://github.com/compiler-explorer/infra/pull/1447
2024-11-04 18:58:07 -06:00
Filippo Barbari 99fb0fa73b Added Intel OneAPI 2025.0.0.740 (#7062)
Refers to [this
PR](https://github.com/compiler-explorer/infra/pull/1448).
2024-11-04 18:57:15 -06:00
Nhat NguyenandMatt Godbolt 77f39ef181 Add Beman.iterator library trunk version (#7060)
Add Beman.Optional26 library trunk version -
https://github.com/compiler-explorer/compiler-explorer/issues/7059
Infra linked
[#1446](https://github.com/compiler-explorer/infra/pull/1446)

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2024-11-04 18:55:41 -06:00
Bernhard Manfred Gruber 637ffa6397 Make CCCL/cudax library available (#7063)
cudax is a sub library of CCCL (CUDA Core Compute Libraries) and
contains experimental CUDA library features. cudax is shipping as part
of CCCL since version 2.5.0.
2024-11-05 08:31:02 +09:00
Dmitriy Matrenichev 076dd3ee99 Add Go 1.23.2 (#7057)
Just like #6296 but for Go 1.23.2.
Depends on compiler-explorer/infra#1443
2024-11-04 21:07:17 +09:00
Bernhard Manfred Gruber 571b6584fb [LIBRARY_REQUEST] Make CCCL library available for C++ as well (#7043)
The CCCL (CUDA Core Compute Libraries) are currently only availabel for
the CUDA language. However, they also contain many parts that compile
just fine with plain C++.

This PR makes CCCL available for the C++ language as well. As a drive-by
fix the recent name change from CUDA C++ Core Libraries to CUDA Core
Compute Libraries is appiled (we also ship Python libraries now).
2024-11-04 21:06:48 +09:00
Eric Niebler e8b43f5744 Update the name of the CUDA Core C++ Libraries (#7049)
i went searching for the CCCL library and couldn't find it. that's
because it doesn't have "CCCL" in its name. this pr remedies that
situation. it also makes the library name consistent with #7043.
2024-11-02 12:11:11 +09:00
Matt Godbolt 8248713dce Tweaks to spirv configuration (cc @spencer-lunarg) 2024-10-28 21:27:55 -05:00
Spencer Fricke 02603a6371 Add SPIR-V language with SPIRV-Tools compilers (#6947)
for https://github.com/compiler-explorer/compiler-explorer/issues/2331

Hey, so I am currently trying to improve the SPIR-V ecosystem, in-charge
of the [SPIR-V Guide](https://github.com/KhronosGroup/SPIRV-Guide), and
part of the SPIR-V Working Group. We talked at our last Face-2-Face
gathering about getting more support for GPU tooling in something like
Compiler Explorer because you have all made this such an amazing tool!

I have enjoyed working in this codebase and happy to help keep improving
the SPIR-V as people find issues or want enhancements (I was already
about to spend time rebuilding Compiler Explorer, so happy to donate my
time to a single tool's effort)

(For those who haven't spent last few years staring at SPIR-V)

- SPIR-V is a an IR (very much like LLVM IR) but for GPUs
- SPIR-V can be used for Graphics and Compute
- Compute:
    - Can be tied to things like clang, llvm, mlir, OpenCL, etc
- One could take `spirv` as a language and compile it to something like
x86
      - (Future PRs for this realm of things)
- Graphics:
- Much harder to actually "compile" to any ISA because other graphics
pipeline information is missing that will effect the final ISA
- Microsoft has even now planned to move to [SPIR-V for DirectX
soon](https://devblogs.microsoft.com/directx/directx-adopting-spir-v/)
- Both:
- There are many tools that run on SPIR-V regardless (hence why they
share the same IR)
    - Being able to do tooling in compiler explorer would be AMAZING

This PR adds `SPIR-V` as a language and a new `SPIRV-Tools` compiler as
an initial compiler for it the language (since we already have the
SPIRV-Tools repo being pulled in on the infra side!)

I personally use `spirv-opt` and `spirv-val` the most and have been
testing this locally for a few days and feel it is ready to go. I plan
to slowly add more tools (ex. `spirv-fuzz`, `spirv-cross`,
`spirv-reflect`, etc)

Cheers!

(some screenshots of course)

![image](https://github.com/user-attachments/assets/419feab0-d030-4578-b32a-ef1cf95701da)

![image](https://github.com/user-attachments/assets/a00fa60f-7f05-4522-a9fc-1c43ecee1c42)
2024-10-28 21:24:50 -05:00
Matt Godbolt a13b52fd9e Add glsl amazon properties (cc @spencer-lunarg) 2024-10-28 21:20:09 -05:00
narpfel 5e27a95042 [rust] update clap crate (#7003)
see https://crates.io/crates/clap

`clap` is a popular argument parsing library. This PR adds version
4.5.20 because the version currently supported on CE is quite old and
`clap` has had a major version bump in the meantime.

Infra PR: https://github.com/compiler-explorer/infra/pull/1442
2024-10-28 18:16:42 +09:00
Ofek Shilon 45cf2cc6a8 Add clang19 to llvm 2024-10-27 22:08:41 +02:00
Patrick Quist 4fe8397fac Remote execution (#6700) 2024-10-26 17:42:22 +02:00
Marc Poulhiès 9c547b5240 Add latest Kalray compiler: ACB 5.2.0
closes #7013

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-10-24 19:06:20 +02:00
Cr0a3 43fbfcd19f Adding ylc (#6982)
Hi dear godbolt team,

> Before opening the PR, please make sure that the tests & linter pass
their checks,
 > by running `make check`.

With this pr i added support for the ylc compiler.

Infra-PR: https://github.com/compiler-explorer/infra/pull/1441
2024-10-22 06:37:40 -05:00
Quinton Miller 713e8c506c Add Crystal 1.14.0 and 1.13.3 (#6949) 2024-10-20 17:21:34 -05:00
narpfel 8ea2bf6fb6 Add Python 3.13 and make it the default (#6956)
Infra PR: https://github.com/compiler-explorer/infra/pull/1428
2024-10-20 17:21:07 -05:00
Cliff Burdick 3798de57fa Update CCCL versions (#6969)
Updating CCCL library versions from 2.3.0 to 2.6.1
2024-10-20 17:17:53 -05:00
Miguel Ojeda e0fd5f47f6 Rust 1.82.0 (#6968)
A big one!

Infra: https://github.com/compiler-explorer/infra/pull/1436

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-10-20 17:16:28 -05:00
Cliff Burdick 2ebf3fcb28 Added MatX version v0.9.0 (#6965)
Added version v0.9.0 of MatX library
2024-10-20 15:37:03 -05:00
Matt Godbolt 8dd50466ce Huge thanks for their support over the years: but time to remove Inte… (#6983)
…l as a sponsor
2024-10-20 15:35:01 -05:00
Jan d96094c93a use OSACA v0.6.1 (#6961)
Updated OSACA from v0.5.2 to v0.6.1, which includes bug fixes, more
supported instructions for existing architectures and new architectures
like Intel Sapphire Rapids, Nvidia Grace Superchip/Neoverse V2, and AMD
Zen 4.
2024-10-20 15:24:10 -05:00
aneshlya 29b49419ad Add ISPC v1.25.0 (#6964)
Adding ISPC v1.25.0.

Corresponding infra commit PR, which needs to be merged before this PR:
https://github.com/compiler-explorer/infra/pull/1434 (so ISPC v1.25.0 is
available in the infra).
2024-10-20 15:20:16 -05:00
Dominic Koepke 11a9903962 Add mimic++ as c++ header-only library (#6960) 2024-10-20 20:15:03 +02:00
Ofek dbd1134c39 Small options cleanup (#6981)
Remove the unused googleShortLinkRewrite and gapiKey
2024-10-19 22:12:41 +03:00