Commit Graph
10453 Commits
Author SHA1 Message Date
Partouf b6234dcfb6 Merge remote-tracking branch 'origin/main' into feat/compilation-workers gh-16076 2025-08-16 16:51:20 +02:00
Ofek 96103f044f Fix #8000: stop forcing dwarf 4 (#8036) gh-16074 2025-08-16 17:39:09 +03:00
aneshlya c90c0a8a74 Add ISPC v1.28.0 (#8032)
ISPC v1.28.0 has been released. Related infra change:
https://github.com/compiler-explorer/infra/pull/1762
gh-16070
2025-08-15 14:58:14 -05:00
Matt Godbolt 1c918c3366 Mg/cefs mount prop (#8033)
makes the root bindmount a "slave" which means it gets all host mount
point change notifications, needed for cefs automounting. Security
tradeoffs mentioned in compiler-explorer/nsjail#2
gh-16066
2025-08-14 17:09:07 -05:00
Matt Godbolt 56753543d7 Mount cefs into the jails (#8030)
This _maybe_ shows an issue - users could find _anything_ in cefs so we
need to make sure we don't ever put privileged stuff in cefs.
gh-16062
2025-08-14 10:11:33 -05:00
kevinjeon-g ffaf897823 Update dex2oat versions (35.13, 35.14, android 16) (#8027) gh-16061 2025-08-14 10:11:11 -05:00
e575fd6c0d Add C++ library fusedkernellibrary vBeta-0.1.9 (#8026)
This PR adds the C++ library **fusedkernellibrary** version Beta-0.1.9
to Compiler Explorer.

- GitHub URL:
https://github.com/Libraries-Openly-Fused/FusedKernelLibrary


Related PR: https://github.com/compiler-explorer/infra/pull/1755

---
_PR created with
[ce-lib-wizard](https://github.com/compiler-explorer/ce-library-wizard)_

---------

Co-authored-by: Albert Andaluz <albertandaluz@hotmail.com>
Co-authored-by: Patrick Quist <partouf@gmail.com>
gh-16060
2025-08-14 10:10:02 -05:00
narpfel 5d1d7cf77b Fix demangling for symbols with dots in jump instructions (#8028)
For example Rust on AArch64: https://godbolt.org/z/e3q9Wv7zj
gh-16059
2025-08-14 10:09:02 -05:00
PartoufandClaude 303027ec0c Fix type signature for WebSocket send method to use CompilationResult
- Change send() method parameter from BasicExecutionResult to CompilationResult
- Update messageQueue type to match actual usage
- Remove unnecessary filenameTransform property addition
- Both EventsWsSender and PersistentEventsSender now correctly typed

The send methods were receiving CompilationResult objects but typed as
BasicExecutionResult, causing type mismatches. This fixes the actual
usage to match the type signatures.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gh-16047
2025-08-13 05:29:33 +02:00
PartoufandClaude 1e81e3d103 Add s3Key property to compilation results for large result S3 storage
- Add optional s3Key property to CompilationResult interface
- Set s3Key = BaseCache.hash(key) in both compile() and cmake() functions
- Remove s3Key from API responses before sending to users
- Add size checking and logging for large results in compilation queue
- Update documentation with S3 storage integration details

This enables compilation workers to reference large results (>31KiB)
stored in S3 using the deterministic cache key hash, addressing
WebSocket disconnection issues with large compilation results.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gh-16045
2025-08-13 05:23:03 +02:00
Partouf 4ea0613b43 fix parsing of sqs compile messages gh-16043 2025-08-12 22:34:12 +02:00
partouf e6c1d346f2 merge gh-16041 2025-08-12 16:35:54 +02:00
Matt Godbolt e9390bce6c Fix gcc 15.2 semver gh-16040 2025-08-12 09:00:34 -05:00
partouf ac7d425f25 bugfix compiler execTime gh-16038 2025-08-12 15:52:30 +02:00
narpfel 68db4ca482 Remove unused method AsmParser.labelFindFor (#8022)
`AsmParser.labelFindFor` was only called in tests.
gh-16037
2025-08-12 08:50:53 -05:00
partouf 197af59d02 enable compilequeue in staging gh-16035 2025-08-12 15:07:02 +02:00
partouf 423b92f8fb fix error message 2025-08-12 15:06:37 +02:00
partouf 519f764a8a Merge remote-tracking branch 'origin/main' into feat/compilation-workers gh-16033 2025-08-12 14:55:08 +02:00
narpfel f289b79f1d Don’t filter .set directives that declare merged functions (#8021)
Resolves #2409.
gh-16031
2025-08-11 14:31:44 -05:00
narpfel 82407976d1 Accept multiple dots in symbol names for jump to label (#8018)
Some compilers emit symbol names with multiple dots, e. g. Clang for
static data (like string literals) or GCC for function clones (e. g. due
to interprocedural constant propagation).

Test cases: https://godbolt.org/z/dGbGncnh8,
https://godbolt.org/z/dhrGGqrjo
gh-16030
2025-08-11 14:28:06 -05:00
Jiawei 0bc558f7e8 Bump Binutils version into 2.45 when using GCC 15.1. (#8003)
Bump Binutils version into 2.45 when using GCC 15.1.

The change form 2.44 into 2.45 includes some new assembler features, the
details please check


https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gas/NEWS;h=2e9538bd2736b4108cc5a383802c75f5feacfbc4;hb=2bc7af1ff7732451b6a7b09462a815c3284f9613

Signed-off-by: Jiawei <jiawei@iscas.ac.cn>
gh-16029
2025-08-11 14:22:30 -05:00
Patrick Quist 774325dbd0 Update Compiler-Args-Debugging.md gh-16026 2025-08-11 20:50:04 +02:00
Patrick Quist 64c842e3f6 rename gh-16025 2025-08-11 20:45:30 +02:00
Partouf 6391946056 compiler-args-app documentation gh-16024 2025-08-11 20:42:40 +02:00
Matt GodboltandPartouf 2ae38a0c3f Make argument parsers instances instead of static classes (#8017)
- Made parsers stateful instances instead of shared static state (for
mllvm options). Fixes #8011 as this is caused by multiple clang-based
compilers being run concurrently and stomping over each others' state.
- passes `Compiler` to the constructor, which removes some param passing
- Added some missing awaits
- Tried to get things less dependent on `examples`, only `go` needs it
- Spotted that `zig` c++ might have issues in discovery
- Fly-by fixed a broken go path in ppc64le_gl122
- removed a redundant override in coccinelle
- made the mojo parser actually use the parser it defined
- canonified tablegen's special method
- 

I changed the zig parser too but as best I can tell it was broken before
(the `1` return value from the command it runs:)

```
ubuntu@ip-172-30-0-164:/infra/.deploy$ /opt/compiler-explorer/zig-0.14.1/zig c++ -mllvm --help-list-hidden /infra/.deploy/examples/c++/default.cpp -S -o /tmp/output.s
...
  --x86-use-vzeroupper                                                       - Minimize AVX to SSE transition penalty
  --xcore-max-threads=<number>                                               - Maximum number of threads (for emulation thread-local storage)
/infra/.deploy/examples/c++/default.cpp:1:1: error: FileNotFound
```
return code 1 (means it's not cached)

---------

Co-authored-by: Partouf <partouf@gmail.com>
gh-16021
2025-08-11 12:14:13 -05:00
A. R. Shajii bea6e67715 Add Codon Python compiler (#8008) gh-16018 2025-08-11 11:14:26 -05:00
Marc Poulhiès 1a4861fd1a Add 24 cross GCC 15.2
refs https://github.com/compiler-explorer/compiler-explorer/issues/7948

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-16012 gh-16010
2025-08-10 09:15:56 +02:00
Marc Poulhiès 2cc2c9cd9a Add GCC 15.2 native intel
refs https://github.com/compiler-explorer/compiler-explorer/issues/7948

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2025-08-10 09:15:56 +02:00
Matt Godbolt 56cf9859c3 Disable failed assertion gh-16005 2025-08-09 14:27:40 -05:00
Julien Marrec 96f00588ca #2812 - Add RE2 (#7594) gh-15996 2025-08-09 20:31:38 +02:00
Ofek a85260bc27 Fix #8009: Allow quotes as part of labels (#8015) gh-15993 2025-08-09 20:21:31 +02:00
Ofek ce3e976acd Fix #8013: Pinkify opt-pipeline view (#8016) gh-15990 2025-08-09 20:59:49 +03:00
Ofek fbfcd52dd5 Fix #8010: detection of jmp targets in python cfg (#8012) gh-15981 2025-08-09 16:53:58 +03:00
Partouf 4c0b16839a new version gh-15976 2025-08-08 02:01:24 +02:00
PartoufandClaude 14eb75bab2 Add timing information to WebSocket success logging
Enhances both compilation and execution worker logging by including
the total processing time (from message receipt to result send) in
the WebSocket success logs. This provides better visibility into:

- End-to-end processing performance
- WebSocket delivery confirmation with timing context
- Debugging and monitoring capabilities for worker performance

Example logs:
- "Successfully sent compilation result for abc123 via WebSocket (total time: 1250ms)"
- "Successfully sent execution result for def456 via WebSocket (total time: 890ms)"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gh-15974
2025-08-08 01:53:38 +02:00
Partouf fc78ce3f14 Merge remote-tracking branch 'origin/main' into feat/compilation-workers gh-15972 2025-08-08 01:17:30 +02:00
PartoufandClaude 39847a5a11 Apply persistent WebSocket connections to execution workers
Extends the PersistentEventsSender implementation to execution workers,
providing the same performance benefits as compilation workers:

- Single persistent WebSocket connection per worker instance
- Eliminates connection overhead for each execution result
- Shares connection health monitoring and reconnection logic
- Graceful shutdown handling for both worker threads

This completes the persistent WebSocket implementation across all
worker types for improved result delivery performance.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gh-15970
2025-08-07 23:38:17 +02:00
PartoufandClaude 5dc36a874b Implement persistent WebSocket connections for compilation workers
Adds PersistentEventsSender class to maintain a single WebSocket connection
throughout the worker's lifetime, eliminating connection overhead for each
compilation result. Features include:

- Connection health monitoring with heartbeat (30s intervals)
- Automatic reconnection with exponential backoff (up to 5 attempts)
- Message buffering during connection interruptions
- Thread-safe operation for concurrent worker threads
- Graceful shutdown handling

This significantly reduces result delivery latency by avoiding WebSocket
handshake overhead for every compilation result.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gh-15968
2025-08-07 23:34:53 +02:00
Matt Godbolt 4ff8e7917d Migrate 'wine' msvc to windows (#8005)
- Converts all "wine" compilers to be "ex wine" in Windows. uses
different IDs to avoid clashes BUT aliases in the old IDs.
- removes wine and firejail config
gh-15967
2025-08-07 15:47:23 -05:00
Miguel Ojeda e0ffdb95be Rust 1.89.0 (#8004) gh-15962 2025-08-07 17:45:22 +00:00
Patrick Quist 29c2ef6aa8 Fix armv7 clang 20.1.0 gh-15961 2025-08-07 17:22:57 +02:00
Partouf 11d54104ae move configs around gh-15959 2025-08-07 16:53:40 +02:00
Partouf ed87199480 update cp year gh-15957 2025-08-07 16:50:25 +02:00
Partouf 558a73ac1d remove unused isCompilationWorker gh-15955 2025-08-07 16:49:14 +02:00
Partouf 6e1f0ace48 only handle local compilation gh-15953 2025-08-07 16:28:15 +02:00
Partouf 4e0c39f0af formatting gh-15951 2025-08-07 15:47:35 +02:00
Partouf 130af6de12 Merge remote-tracking branch 'origin/main' into feat/compilation-workers 2025-08-07 15:46:20 +02:00
dependabot[bot] 4e7141f99a Bump tmp from 0.2.3 to 0.2.4 (#8001)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.3 to 0.2.4.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/raszi/node-tmp/commit/08fa3abac32b621506512724b28b56b9c4a95846"><code>08fa3ab</code></a>
Update version</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/1cf4ec54180a77a2a95dc1941efa1659774c8787"><code>1cf4ec5</code></a>
Merge commit from fork</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b"><code>188b25e</code></a>
Fix GHSA-52f5-9888-hmc6</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/73b9fe45bbb40157acdfab8126dd0911de91c8fa"><code>73b9fe4</code></a>
Add test case for GHSA-52f5-9888-hmc6</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/b8e2f29a7575352e49e4882a836aab4bd2ec927f"><code>b8e2f29</code></a>
Remove broken tests</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/2892a027b4d2d3a25d1d08a398bc108a0200857f"><code>2892a02</code></a>
Remove outdated URL</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/f5923182461a89e9de5a7a09c75f410a76979ae7"><code>f592318</code></a>
Reformat package.json</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/995ac8cc45867b44babdf232a1ab0a3bb1d25d95"><code>995ac8c</code></a>
Merge pull request <a
href="https://redirect.github.com/raszi/node-tmp/issues/301">#301</a>
from raszi/dependabot/npm_and_yarn/braces-3.0.3</li>
<li><a
href="https://github.com/raszi/node-tmp/commit/caa758d7b55783c1e9abcb34695fdb9a812c30b7"><code>caa758d</code></a>
Bump braces from 3.0.2 to 3.0.3</li>
<li>See full diff in <a
href="https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmp&package-manager=npm_and_yarn&previous-version=0.2.3&new-version=0.2.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/compiler-explorer/compiler-explorer/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
gh-15945
2025-08-06 12:50:34 -05:00
Vipul Cariappa 0f80a35cf5 update clad v2.0 (#7998)
cc @vgvassilev
Infra PR at https://github.com/compiler-explorer/infra/pull/1732
gh-15942
2025-08-06 09:43:01 -05:00
Matt GodboltandClaude df43146b8c Improve TypeScript type safety in Cypress tests (#7997)
Address Copilot feedback by replacing `any` types with proper TypeScript
types in Cypress test files.

## Changes

**cypress/support/utils.ts:**
- `win: any` → `win: Cypress.AUTWindow`
- `$element: any` → `$element: JQuery<HTMLTextAreaElement>`
- `$body: any` → `$body: JQuery<HTMLElement>`

**cypress/e2e/claude-explain.cy.ts:**
- `req: any` → `req: Cypress.Interception` (3 instances)
- `url: any` → `url: string`

## Benefits

- Improves type safety and catches potential runtime errors at compile
time
- Follows TypeScript best practices
- Addresses all Copilot suggestions for better code quality
- No functional changes, purely type improvements

All TypeScript checks pass and no functionality is affected.

Co-authored-by: Claude <noreply@anthropic.com>
gh-15940
2025-08-05 16:54:24 -05:00