2050 Commits
Author SHA1 Message Date
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
Patrick Quist 1c639c7a7c fix z88dk asm (#4751) 2023-03-07 21:51:39 +01:00
Jeremy Rifkin ea107a5ff9 More work needed, thanks for the comments Ruben and Matt! :)
Revert "Compiler picker UI improvements (#4789)"

This reverts commit d4a8c2bdb2.
2023-03-07 10:46:33 -05:00
Jeremy Rifkin 6131e6aa47 Finished collecting metrics -- Revert "Temporarily collect metrics on job time and queue time (#4790)"
This reverts commit 5fee0e24a6.
2023-03-07 10:38:11 -05:00
Rubén Rincón Blanco dd2c08693c Add name to binary tools error response (#4798) 2023-03-06 20:10:00 +01:00
Jeremy Rifkin d4a8c2bdb2 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-04 19:55:25 -05:00
Matt Godbolt 8cb8f6ff84 Update to yaml and drop some unneeded deps (#4811)
Also add some tests
2023-03-02 19:02:57 -06:00
wxwisiasdf a3edc64993 Add basic COBOL support 2023-03-01 06:17:26 +08:00
Mats Jun LarsenandMatt Godbolt 633eb82d18 Transition to ECMAScript Modules (#4780)
Makes the Compiler Explorer app, and all the tooling ESM compatible.
Things that have been done:

1. The package.json has `type: module` now
2. All relative imports have a .js ending
3. All directory imports are now directory/index.js to comply with ESM
standards
4. Dependency node-graceful is now imported into tree, because the
package is broken under esm
5. Dependency p-queue has been bumped to 7.x with ESM support
6. Dependency profanities has been bumped to 3.x with ESM support
7. Webpack config is now both ESM and CommonJS compatible
8. Non-ESM compatible imports have been rewritten
9. ESLint configuration has been tweaked to not fail on .js imports
10. Mocha is now hacked together and ran with ts-node-esm
11. Webpack is now hacked together and ran with ts-node-esm
12. Webpack config is now ESM compatible, so that it can be used in the
dev server
13. Cypress code still runs commonjs, and has been excluded from the
tsconfig
14. All sinon mock tests have been commented out, because sinon module
mocks do not work with ESModules (because ESModules are immutable)

A lot of tests are now giving warnings/errors to stdout, yet still pass.
Docenizer codegenerator scripts have been updated, but I did not re-run
them, and instead just changed their code.

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2023-02-27 18:06:38 -06:00
Jeremy Rifkin 5fee0e24a6 Temporarily collect metrics on job time and queue time (#4790)
Collecting raw data points for job time and queue time for a few days.
Briefly discussed with Matt, will be reverting in a few days.
2023-02-27 18:05:41 -05:00
Jeremy Rifkin fcd9ee7c87 Remove an assertion now that we know the case can happen (#4787)
Resolves #4781. Remove the assertion, just allow the bad behavior
silently. Same behavior as before the tsification.
2023-02-26 13:03:46 -05:00
Jeremy Rifkin 384c297906 Fix trailing comma issue (#4775)
Make trailing commas more consistent throughout the project, fixes
config conflict between eslint and prettier. Resolves an oversight in
#4766.
2023-02-26 12:21:35 -05:00
Marc Poulhiès 2b8d554a10 fix: modula2 name
Use Modula-2 instead of modula2.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-02-25 18:25:25 +01:00
Jeremy Rifkin 8262e2be5e Handle another LLVM pass dump case (#4774)
Resolves #4195
2023-02-24 20:46:53 -05:00
Yashwant SinghandYashwant c8f2cb53be Language support for LLVM Machine IR (#4763)
Resolves #4762

---------

Co-authored-by: Yashwant <yassingh@amd-blr-comp-03f7.amd.com>
2023-02-24 00:28:15 -05:00
Jeremy Rifkin 2c7e9a351a Tsify a small handful of tests (#4765) 2023-02-23 23:45:27 -05:00
Jeremy Rifkin 2b06c69111 Turn some auto-fixable eslint rules back on (#4766)
This PR turns comma-dangle and indent eslint rules on for lib/. These
are rules inherited from the eslint config for static/, this PR just
makes things more consistent. Also turned
@typescript-eslint/no-var-requires back on while I was here.
2023-02-23 17:16:17 -05:00
Jeremy Rifkin 6bd5c43f62 Tsify app.js (#4767)
I forgot about app.js, now this is actually the last file in our ts
conversion (other than test/)
2023-02-23 17:15:59 -05:00