3126 Commits
Author SHA1 Message Date
Mats Larsen 2fc334406f Install kotlin 2.1.0 2024-12-28 15:11:33 +09:00
Vipul Cariappa f2dd98bc8a add clad (#7109)
- adds clad 1.8 for clang 18.1.0
2024-12-20 11:55:36 -06:00
Ofek Shilon 8ebf55a559 Delete 2 GA leftovers 2024-12-20 18:54:20 +02:00
Matt Godbolt e18ada50fa Add support for QNX (#7234)
CC @doodspav
2024-12-19 16:32:13 -06:00
Marc Poulhiès 7870648f65 fix versionFlag for gccrs (#7222) 2024-12-16 14:20:09 +01:00
Ofek 50a7f3ebbf Set MSVC default option to /utf-8, remove it if the user specified /source-charset or /execution-charset (#7223) 2024-12-16 13:42:16 +01:00
Fabian Schuetze 605bedcc99 Add Mdspan Reference Implementation (#7219) 2024-12-14 16:31:48 +01:00
Partouf b5ec90011a add llvm libs 2024-12-14 16:28:43 +01:00
Patrick Quist 76116ebe9a llvm libs 2024-12-14 14:45:07 +01:00
Marc Poulhiès aea458ad1a Add native x86 GCC build with assertion (#7214)
refs https://github.com/compiler-explorer/compiler-explorer/issues/7115

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-12-13 20:59:24 +01:00
Matt Godbolt a5098dd5ab Add @chrisbazley's N3089 compiler (#7216) 2024-12-12 10:00:05 -06:00
Mats Jun Larsen d9093faf18 Replace ts-node with tsx (#7205)
Migrates tooling to TSX (as advised by nodejs) until we are on Node 22
where we can `--watch --experimental-strip-types`
2024-12-10 00:18:46 +09:00
Waqar Ahmed d7f92bdb59 Improve odin codegen processing (#7204)
- support library code filter
- disable demangling, its not needed for odin
- support LLVM IR

<!-- 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-12-09 12:14:40 +09:00
Mats Jun Larsen c256b922f7 Migrate site templates to yaml config (#7189)
Does some winter cleaning on the site-template stuff :)

1. Migrated away from the custom conf format to plain old yaml
2. Made the images and image files match with the name from the yaml
file. (It's not a problem to have spaces in file paths, nor urls so I
don't see why we shouldn't)
3. Updated the relevant documentation

There is a small breakage in the api response for the meta field. It now
returns `{"screenshot_dimensions":{"width":1000,"height":800}}` which I
believe is a lot more useful than
`{"meta.screenshot_dimensions":"1000x800"}`

Besides, I don't believe this endpoint has any third-party consumers
that rely on the metadata since it's a rarely known feature anyways
2024-12-08 00:59:58 +09:00
Spencer Fricke d4aedf3f4d Add SPIR-V Cross to production (#7197)
I added SPIRV-Cross support in
https://github.com/compiler-explorer/compiler-explorer/pull/7056 and
with the Infra changes in
https://github.com/compiler-explorer/infra/pull/1475 we can have it up
online

(note, the `spirv-reflect` needed a fix to the command line args which
means will have to wait until next SDK to add it here)
2024-12-07 04:34:51 -06:00
Partouf 3aff85a216 odin fixes 2024-12-06 17:29:16 +01:00
Waqar Ahmed d3ef2de208 Add Odin language (#7186) 2024-12-06 17:28:47 +01:00
Matt Godbolt b679a2dcb3 Reinstate our friends at Intel. 2024-12-05 15:35:26 +00:00
Thomas Padioleau 5bf922db95 Add Kokkos 4.4.01 and 4.5.00 (#7183)
Related to https://github.com/compiler-explorer/infra/pull/1473.
2024-12-04 10:31:14 -06:00
Matt Godbolt 271a698025 Add -Xclang to 2998 2024-12-04 14:01:06 +00:00
Spencer Fricke 05f86a38dd Add preliminary Slang support (#7151)
Part of
https://github.com/compiler-explorer/compiler-explorer/issues/2331 and
similar to [my GLSL
change](https://github.com/compiler-explorer/compiler-explorer/pull/6883)

[Slang](https://shader-slang.com/) is a GPU focused shading language
that has been worked on for years. Last week [The Khronos
Group](https://www.khronos.org/news/press/khronos-group-launches-slang-initiative-hosting-open-source-compiler-contributed-by-nvidia)
will now be running the project as open governance. The latest [Vulkan
SDK](https://www.lunarg.com/lunarg-releases-vulkan-sdk-1-3-296-0-for-windows-linux-macos/)
has also added a build of `Slangc` (slang compiler).

This change adds support for Slang (the language) as a front end with
`Slangc` (the compiler) as the only compiler. Slang can be used for
things like GLSL/HLSL, but that is for a future PR.

I am in contacts with people on the Slang development and plan to
support things for Slang as well as the other GPU related shading
languages

--- 

of course, screen shots as well


![image](https://github.com/user-attachments/assets/c9f6460b-b779-4ff5-b0bb-5a7eff543de1)


![image](https://github.com/user-attachments/assets/b2dbdd5a-c031-4110-ab9d-ed76b9881ad8)
2024-12-04 04:45:50 -06:00
James Touton 287b2e4564 Added p2998 (#7175)
See:

* https://github.com/compiler-explorer/clang-builder/pull/77
* https://github.com/compiler-explorer/compiler-workflows/pull/30
* https://github.com/compiler-explorer/infra/pull/1472
2024-12-04 04:18:17 -06:00
kevinjeon-g 6296e9064d Support OpenJDK output for Android Java (#7122)
This change adds OpenJDK as an output compiler for Android Java,
beginning with 11.0.2. This change also updates java.ts to allow for
input libraries, by parsing library paths and passing them into the
javac invocation as '-cp \<path\>:\<path\>:...'.

This is intended to simplify the process of inspecting javac output when
Android Java is already selected so that a user doesn't have to switch
to the Java compiler option. This also allows a user to view javac
output with Android libraries.
2024-12-04 19:11:11 +09:00
Mosè Giordano 8fad88c8b6 Add julia v1.11.2 (#7174)
Companion PR to https://github.com/compiler-explorer/infra/pull/1471
2024-12-03 05:02:39 -06:00
Patrick Quist d5cfdc6e4d Add alias for long lost msvc id (#7170) 2024-12-02 21:59:52 +01:00
Marc Poulhiès 872e870b08 gccbpf: disable C++ (#7161)
Older g++ versions were kind of working (by chance) for the BPF target.
With more recent, it's broken, so was not enabled. Having only "old"
compilers available in C++, but not in C is confusing, and not really
useful => hidding the existing C++ compilers.

fixes #7116

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-12-02 21:15:23 +01:00
Marc Poulhiès c4d9ec7416 Readd powerpc64 GNAT 11.2 compiler (#7173)
The compiler was incorrectly reinstalled after I probably forgot to
correct end #3701.

Fixes #7168

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-12-02 21:14:27 +01:00
Partouf adac88b9a0 more aliasses 2024-12-02 17:10:39 +01:00
Ofek e113d4b0d4 Fix #3203: Apply the workaround suggested by OP (#7164)
Adding a switch to all MSVC compilations that specifies the charset
seems good enough.
2024-12-02 12:25:49 +02:00
Ofek 89b3fab772 Fix #5052: cleanup ghost compilers (#7166)
Some janitorial work. Unclear what is the status of TOIT
2024-12-02 11:36:36 +02:00
Matt Godbolt 8a22159203 Update sponsors 2024-12-02 09:23:55 +00:00
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