* Don't try and hack the compilation results
Carbon tried to synthesize "having run" by overriding and hacking a result routine...but did so _after_ it had been cached. So cached results were broken, but live results not.
This "fixes" by adding a post-compilation, but pre-cache hook and uses that instead. Naming is terrible.
I also took the time to fix the `CompilationResult`'s `buildResult`
Closes#4426
gccrs is still in heavy dev and to avoid anyone missing this crucial info, it
has introduced a very explicit option and required option:
-frust-incomplete-and-experimental-compiler-do-not-use
The compiler emits a very verbose error if this option is missing.
refs https://github.com/Rust-GCC/gccrs/pull/1540
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Since clspv compiler supports C++ for OpenCL add this
compiler mode to the language just the same way as it's
done for OpenCL C.
Note that the use of C++ for OpenCL with clspv at present
requires extra flags: "-cl-std=CLC++" and
"-inline-entry-points".
`rustfilt` ended up at a different path for me, and the "absolute path as compiler name" compatibility kludge seems not to work anymore.
(Also, this way it matters less where rustc is installed.)
This reverts commit 92ec9fcfdd.
When brought up in staging, there were no languages or compilers at all.
https://github.com/compiler-explorer/infra/actions/runs/3528313971/jobs/5918286664 looks ok but
```
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Using s3 storage solution on us-east-1, bucket storage.godbolt.org, prefix state, dynamo table links
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: =======================================
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: git release 92ec9fcfdd
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: release build gh-4994
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Creating directory /tmp/ce-wine-prefix
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Connected to Papertrail at logs7.papertrailapp.com:23377
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Killing any pre-existing wine-server
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Result: [object Object]
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Waiting for any pre-existing server to stop...
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Result: [object Object]
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Starting a new, firejailed, long-lived wineserver complex
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: firejailed pid=8993
Nov 23 01:17:40Z ip-172-30-0-7 amazon.staging info: Creating compilers: 0
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Compilers created: 0
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Fetching possible arguments from storage
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Configured with Sentry endpoint https://8e4614f649ad4e3faf3e7e8827b935f9@sentry.io/102028
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging info: Compiler scan count: 0
Nov 23 01:17:41Z ip-172-30-0-7 amazon.staging error: #### No compilers found: no compilation will be done!
```
on staging
* Add Rust license info
* Add hipclang license info
Same as C++'s rocm one
* Add license info for Ada compilers
* Add licenses to most C compilers
* Add license to Nim compiler
* Add license to FPC
* Add license to Python
* Add license to Zig
* Add licenses for Scala
Separates it between 2 and 3 as it changed quite a lot,
so that we can more easily add new versions to it in the future
* Add license for Pony compiler
* Add Ocaml license
* Add Mlir license
* Add license to LLVM pseudolang
* Fix mlir license props
* Add license to Kotlin
* Add OpenJDK license
* Add Jakt license
* Add GHC licenses
* Remove licenses from platspec compilers
* Add C++ licenses
* Add link to open issue if license is wrong
* Fix button link
* Add new version of Kalray' KVX compiler
Add new ACB 4.10.0 version.
Also add missing objdumper for c++ compiler for 4.9 and 4.8. It's not a good
idea to mix binutils versions for this arch, better stick with coherent
versions.
fixes#4280
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Rotate sponsors on the top of the page:
- `topIcon` -> `topIconShowEvery`
- `Sponsors` becomes an interface with methods to get levels, pick sponsors etc
- A somewhat acceptable algorithm for generating a "fair choice" of sponsors given the constraints:
- "show at least 1 in N times"
- don't unfairly show one sponsor more than any other at the same level
- Sponsor icons are loaded dynamically via a "bits" handler (introducing a short delay in them appearing), but this means the index.html doesn't change on every load, so it's still cacheable