Commit Graph
2067 Commits
Author SHA1 Message Date
Jeremy Rifkin d72d2d8c0f Fix clang stdin bug (#4986) 2023-04-23 11:30:50 +02:00
Patrick Quist b262531cdd Offer timetrace json to view somewhere (#4967) 2023-04-23 11:29:52 +02:00
Fred Tingaud 6d27eaac0e Sonar analysis: fix library usage (#4974) 2023-04-19 22:09:57 +02:00
Patrick Quist 1902716432 Also log compiler arguments when cmake build has failed (#4966) 2023-04-19 22:02:04 +02:00
Patrick Quist 78cc0ebd0e solidity dont fail on missing generatedSources (#4968) 2023-04-19 22:01:48 +02:00
Patrick Quist b889cd6bc3 fix golang env vars (#4975) 2023-04-19 22:01:31 +02:00
Patrick Quist a0e42db400 Basic CMake support for CUDA (#4286) 2023-04-18 15:21:17 +02:00
David Hewitt e855352d38 vala: Add an option to set PKG_CONFIG_PATH envvar (#4959)
In conjunction with
https://github.com/compiler-explorer/vala-builder/pull/1, this should
fix #4958

Vala uses `pkg-config` to locate libraries to link with and then passes
the relevant args to `CC`, so in the live environment, we need to
provide the `pkg-config` files for the minimum required libraries in the
compiler prefix, and then use this environment variable to allow
`pkg-config` to locate them.
2023-04-17 19:32:49 -05:00
David Hewitt a7da7e83c4 Add the Vala programming language (#4955)
See https://gitlab.gnome.org/GNOME/vala/ for the language repository.

> Vala is a programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.
> 
> `valac`, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala source
code.
> 
> The syntax of Vala is similar to C#, modified to better fit the
GObject type system.

I've also created https://github.com/davidmhewitt/vala-builder based on
https://github.com/compiler-explorer/python-builder and tested that it
can build tarballs of arbitrary versions of Vala. I'd be happy to
transfer the ownership of this repository, or feel free to clone it into
the `compiler-explorer` org.

However, I'm a little unsure of how to join up the pieces and get this
Docker builder integrated with the `infra` repository. Let me know where
to go next and I'd be happy to open the relevant PRs.
2023-04-10 22:47:49 -05:00
Fred Tingaud 6e0aa5f630 Fix Sonar rule URLs for C (#4949)
Forgot there were some hard-coded parts about the language in the
URLs...
2023-04-10 08:14:16 -05:00
Jeremy Overesch 445eff5649 Add minimal TI-C2000 compiler support (#4625)
This adds the ability to use TI's C2000 compiler with basic directive filtering and assembly code parsing.
2023-04-05 11:24:47 -05:00
Fred Tingaud 477ba96c05 Ft/branch (#4946)
Small fixes for the Sonar analyzer.
* Support the C language
* Fix the argument passing. This one is not really relevant for users but useful for us if we need to debug a crash someday.
2023-04-05 11:09:39 -05:00
Matt Godbolt 28948f55fc Ensure missing split args are treated as [] and not [''] (#4930)
Also means `blah=` will also be `[]` and not `['']`
2023-04-02 19:52:03 -05:00
Matt Godbolt 436d84bdb5 Fix unset versionFlags (#4922)
Closes #4921

```
> a = ("")?.split("|")
[ '' ]
> a = (undefined)?.split("|")
undefined
> a = ("a|b")?.split("|")
[ 'a', 'b' ]
```
2023-04-01 20:38:08 -05:00
Matt Godbolt 54a99f6d51 Upgrade all minor versions; format; bump sonar and css minimizer (#4920) 2023-04-01 20:29:06 -05:00
zebrapurringandzebrapurring 34bbde880c Support configuring extra arguments for the demangler, objdumper and execution wrapper (#4883)
Some toolchains require passing non-standard, mandatory arguments to the
CLI tools in order to execute them (configuring licenses, selecting CPU
targets, etc.). This PR allows configuring extra command-line arguments
for the demangler, object dumper and the execution wrapper. The version
flag argument has been refactored into an array, so that more than one
argument can be passed, if necessary.

The changes are fully backwards compatible.

Co-authored-by: zebrapurring <>
2023-04-01 23:49:22 +02:00
Gaurav Gautam 3c58187cf9 Add d8 for disassembling javascript (#4721)
https://github.com/compiler-explorer/compiler-explorer/issues/264
2023-04-01 16:22:21 -05:00
Patrick Quist a08f6957f4 add option for custom papertrail hostname (#4912) 2023-03-30 23:44:19 +02:00
Marc Poulhiès 6f7218a128 Initial support for GCC cobol (#4908)
Support for GCC cobol snapshot for external repository (until it is
merged in GCC, someday).

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

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-03-29 10:17:44 +02:00
Patrick Quist 21d071a42a Limits + windows linking (#4898) 2023-03-23 02:25:20 +01:00
Patrick Quist 7d192ccde1 add properties and test for cewrapper (#4761) 2023-03-18 11:46:27 +01:00
Marc Poulhiès f0cabb1675 Support for CompCert (#4878)
Add support for CompCert (https://github.com/AbsInt/CompCert) from
AbsInt.

As a first step, only x86 and x86_64 are supported.

fixes #595

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-03-17 19:01:39 +01:00
kasperk81 289e9fd241 add back --parallelism (#4885)
missed --parallelism in
https://github.com/compiler-explorer/compiler-explorer/pull/4821.
2023-03-17 09:59:03 -05:00
Jeremy Rifkin e4853d44f3 Fix /clientstate/ 404 bug (#4850)
Fixes #4844
2023-03-12 17:09:35 -04:00
Jeremy RifkinandMatt Godbolt 55dc09017e Compiler Picker UI Improvements (#4849)
Alrighty, round 2!

This PR makes the compiler picker dropdown taller (max height is to the
bottom of the screen)

![image](https://user-images.githubusercontent.com/51220084/224517409-17706ba6-fe85-444a-ad3b-f244f66eea5b.png)

I've added a toolbar button for opening the popout as well as a button
when the dropdown is open:


![image](https://user-images.githubusercontent.com/51220084/224517304-6478fca5-7bc1-4f87-b2ae-e9091d7d48bc.png)

![image](https://user-images.githubusercontent.com/51220084/224517317-83468805-1e9d-4bc6-8a4f-8786325f1e7b.png)

Then the modal interface allows text searching, filtering by compiler
category, and filtering by compiler instruction set. In the future I'd
like to replace the instructionSet property with an architecture
property so the filtering here can be a little better.


![image](https://user-images.githubusercontent.com/51220084/224517348-9cf40866-c5af-4274-84ba-21eb640ab2ea.png)

Demo of the category filtering:


![image](https://user-images.githubusercontent.com/51220084/224517529-5370b3f9-9ad3-4340-838a-b2d0a47c7467.png)

The text filtering highlights results the same as tomselect does:


![image](https://user-images.githubusercontent.com/51220084/224517490-d0dfa6d0-9b61-4be4-8cc7-ca4a4729a532.png)

I moved the favorites permanently to their own column so compilers
aren't jarringly shifted around the screen when favoriting /
unfavoriting.

Also added media queries so the modal looks ok on smaller screens:


![image](https://user-images.githubusercontent.com/51220084/224517563-bdf409c1-7e3a-4c73-812b-f02179b55799.png)


![image](https://user-images.githubusercontent.com/51220084/224517574-07fa2c8b-67d2-496d-9174-b1343e22bd62.png)

I think the only other two changes from the first PR are now the active
compiler is highlighted like it is in the tomselect dropdown and I
figured out how to reliably focus the search bar on modal open. (Oh, and
now clicking a compiler actually does something!)

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2023-03-12 17:07:44 -04:00
Simon Sobisch 9b95ca84a8 GnuCOBOL: allow use of default copybooks (#4858)
Fair warning: this was just edited online, I've no clue if this works
(or at least still compiles)
2023-03-12 15:47:01 -05:00
Matt Godbolt 3461db6c19 Bump all minor versions - npm update; also bump webpack version speculatively... (#4851)
also npm lint and format to make sure any changes turn up.
2023-03-12 11:29:57 -05:00
Matt Godbolt 64acc14872 Merge remote-tracking branch 'origin/main' into wxwisiasdf-cobol2 2023-03-12 10:57:47 -05:00
Matt Godbolt e10350d9ef Rename cobol-> gnucobol and fix up relocation 2023-03-12 10:55:13 -05:00
kasperk81 610658c0b7 rename jit option for dotnet 8 (#4821) 2023-03-11 16:07:53 -06:00
Matt Godbolt d924f16904 Cache S3Bucket clients by region (#4845)
I hope it's OK to reuse the same client for multiple in-flight requests,
as effectively this means we'll have one client only. I'm pretty sure
we're effectively doing this already in the cache where multiple
in-flight requests from users will be served from the one cache's S3
client, but couldn't find any documentation about this.
2023-03-11 14:18:04 -06:00
Fred Tingaud 69c7fb4424 Add a tool with Sonar C++ analysis. (#4837)
This is a preview of the static analysis capabilities of the Sonar C++ analyzer. See https://www.sonarsource.com/ for more information.
2023-03-11 14:18:04 -06:00
Patrick Quist ce844dc57e Pass compiler options to cmake (#4829) 2023-03-11 14:18:04 -06:00
Ben Barsdell 18a29581dc Fix and update NVRTC compiler (#4804)
The recent change to the way NVCC compilation is handled broke support
for NVRTC. NVRTC can only compile device code, so the host-compilation
approach now used for NVCC (using --keep) is incompatible.

This PR gives the NVRTC compiler its own class and restores the old
behavior. The class is a copy of the old NvccCompiler class, with minor
updates to match the code in the new NvccCompiler class where possible
(plus TypeScript).

This PR also removes NVRTC from `cuda.gpu.properties` (because its
output cannot be executed), and updates the list of versions to match
NVCC.

cc @jrhemstad @trxcllnt
2023-03-11 14:18:04 -06:00
Matt Godbolt 231ac3a38d Upgrade LRU-Cache (#4833)
- rephrase a few LRUs in terms of the new API
- add `okToCache` to the `CompilationResult` to make typing more correct
(I _think_)
2023-03-11 14:18:04 -06:00
Matt Godbolt 775fabb2cb Format fixes 2023-03-11 14:18:04 -06:00
Matt Godbolt f294296a58 Update to latest AWS SDK (#4818)
We're not using the new `send` functionality, but this gets everything
running and tests passing. It has _not_ been tested against real AWS
yet. That's next. I might move stuff over to the new `send` API, but
also I might not if it's just working.
2023-03-11 14:18:04 -06:00
Patrick Quist ab692e4e40 fix z88dk asm (#4751) 2023-03-11 14:18:03 -06:00
Jeremy Rifkin 8cb2e22605 More work needed, thanks for the comments Ruben and Matt! :)
Revert "Compiler picker UI improvements (#4789)"

This reverts commit d4a8c2bdb2.
2023-03-11 14:18:03 -06:00
Jeremy Rifkin a8d01f0cc2 Finished collecting metrics -- Revert "Temporarily collect metrics on job time and queue time (#4790)"
This reverts commit 5fee0e24a6.
2023-03-11 14:18:03 -06:00
Rubén Rincón Blanco dd6e669beb Add name to binary tools error response (#4798) 2023-03-11 14:18:03 -06:00
Jeremy Rifkin 46a4d6e0f8 Compiler picker UI improvements (#4789)
Makes the compiler picker dropdown a bit taller, prevents the dropdown from overflowing the page, and also adds a compiler picker popup
2023-03-11 14:18:03 -06:00
Matt Godbolt 5c45f31cd1 Update to yaml and drop some unneeded deps (#4811)
Also add some tests
2023-03-11 14:18:03 -06:00
Matt Godbolt da5277d463 Cache S3Bucket clients by region (#4845)
I hope it's OK to reuse the same client for multiple in-flight requests,
as effectively this means we'll have one client only. I'm pretty sure
we're effectively doing this already in the cache where multiple
in-flight requests from users will be served from the one cache's S3
client, but couldn't find any documentation about this.
2023-03-10 09:06:50 -06:00
Fred Tingaud 3b3035e57b Add a tool with Sonar C++ analysis. (#4837)
This is a preview of the static analysis capabilities of the Sonar C++ analyzer. See https://www.sonarsource.com/ for more information.
2023-03-09 21:23:07 -06:00
Patrick Quist 2dc89dde3b Pass compiler options to cmake (#4829) 2023-03-09 19:44:03 +01:00
Ben Barsdell 050e03fd29 Fix and update NVRTC compiler (#4804)
The recent change to the way NVCC compilation is handled broke support
for NVRTC. NVRTC can only compile device code, so the host-compilation
approach now used for NVCC (using --keep) is incompatible.

This PR gives the NVRTC compiler its own class and restores the old
behavior. The class is a copy of the old NvccCompiler class, with minor
updates to match the code in the new NvccCompiler class where possible
(plus TypeScript).

This PR also removes NVRTC from `cuda.gpu.properties` (because its
output cannot be executed), and updates the list of versions to match
NVCC.

cc @jrhemstad @trxcllnt
2023-03-08 19:11:40 -06:00
Matt Godbolt 3f7def7e38 Upgrade LRU-Cache (#4833)
- rephrase a few LRUs in terms of the new API
- add `okToCache` to the `CompilationResult` to make typing more correct
(I _think_)
2023-03-08 10:58:56 -06:00
Matt Godbolt 9b1548c949 Format fixes 2023-03-08 07:52:46 -06:00
Matt Godbolt 2b6500203e Update to latest AWS SDK (#4818)
We're not using the new `send` functionality, but this gets everything
running and tests passing. It has _not_ been tested against real AWS
yet. That's next. I might move stuff over to the new `send` API, but
also I might not if it's just working.
2023-03-07 18:10:56 -06:00