7212 Commits
Author SHA1 Message Date
Matt Godbolt de0372f9c7 Support multiple sponsor descripts gh-4635 2022-10-24 21:53:18 -05:00
Matt Godbolt 269eca0dc9 Self review gh-4633 2022-10-24 21:26:16 -05:00
Matt Godbolt d878c6f5ff Convert sponsor.js to sponsor.js, update tests to be more targeted. gh-4632 2022-10-24 21:03:53 -05:00
Mats Larsen ad5ece867a Bump jvms version to 18 and fix find-node path (#4192)
* fix: bump jvms version to 18 and fix find-node path
gh-4628
2022-10-24 20:28:55 -05:00
Paul Taylor 1476937e82 Add split host/device views for CUDA C++ (#4177)
* make nvcc show the device asm view button, stop after compiling host assembly
* keep and extract ptx device code
* paper over some typescript compile errors (maybe mitigating orchidjs/tom-select#500, orchidjs/tom-select#501)
* await on promise-returning methods
* use gcc objdump for nvcc host code, add nvdisasm to disassemble SASS .cubin
* append device ASM lines to result ASM so they're also colourized
* append device ASM to all ASM
* automatically open the device pane if the compiler supports emitting device ASM
* save device view open boolean in compiler state
* make the nvcc compiler return all PTX and SASS results as separate devices
* ensure line hover highlights propagate from editor to compiler panes, and are re-applied when the user changes the selected device
* update cuda properties
gh-4627
2022-10-24 20:28:01 -05:00
partouf d0f349cfc4 fix #4194 gh-4619 2022-10-24 11:55:20 +02:00
partouf 916e275754 new web version gh-4614 2022-10-23 15:29:59 +02:00
partouf 583a73738e fixes #4189 gh-4613 2022-10-23 15:13:56 +02:00
partouf dafeca36da fixes #4185 gh-4612 2022-10-23 13:53:48 +02:00
partouf 96207717e8 fixes #4188 gh-4611 2022-10-23 12:53:04 +02:00
Matt Godbolt 5223471629 Use non-private ways of context menu (#4184)
* Use non-private ways of context menu

and fix up some things where previously we had odd null checks
that somehow became .get() (which means it worked exactly once)

* Some tweaks
gh-4609
2022-10-22 22:22:11 -05:00
Matt Godbolt fb91378218 Fix ASM spam in the sentry logs (#4183)
- asyncify too
gh-4604
2022-10-22 21:10:45 -05:00
Matt Godbolt c5f50d603c Fix typing and usage of tools (#4180)
* Fix typing and usage of tools
* Fix tests and break cycle
* More improvements
gh-4601
2022-10-22 17:16:23 -05:00
Matt Godbolt 7aa3b2c70a npm audit fix gh-4596 2022-10-22 14:03:20 -05:00
Marc PoulhièsandMatt Godbolt 0b7e9db6a8 ada: move to typescript (#4178)
Convert the ada compiler code to typescript.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
gh-4595
2022-10-22 14:02:59 -05:00
ddafb32feb Try to fix main (#4173)
* Fix Editor not being able to load full links
* Better type for this.filename in compiler.ts
* Updates editor.ts and improves compilation types
* Fix some of the type issues, lots still remain
* fixes to language selection & refactoring of hub and some inits
* fix flow of events
* Fix llvm opt handling (cc @jeremy-rifkin)

Co-authored-by: partouf <partouf@gmail.com>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
gh-4592
2022-10-22 13:59:51 -05:00
Matt Godbolt f8cf52d872 More thanks gh-4587 2022-10-22 09:00:00 -05:00
Jeremy Rifkin 8d5d723a3f Fixed bug with the llvm pass dump viewer, split test case from the llvm ir parser code (#4170) gh-4561 2022-10-19 18:03:32 -04:00
Rubén Rincón Blanco b7dcb664f2 Makes li sponsor a btn-info (#4168) gh-4554 2022-10-19 18:33:26 +02:00
partouf 5017a18d3f format and lintfixes gh-4551 2022-10-18 19:37:46 +02:00
partouf 8ce27d1ec3 move things around to make it work 2022-10-18 19:30:00 +02:00
partouf 4904d441f2 bugfixes compiler 2022-10-18 18:43:43 +02:00
Rubén Rincón Blanco 200ffc513a Fully specifies rocm compiler names (#4152) gh-4546 2022-10-18 18:23:40 +02:00
Markus 559c8585ec Convert editor.js to typescript (#4143) gh-4545 2022-10-18 18:19:09 +02:00
Markus bc34e905d9 Convert compiler.js to typescript (#4132) gh-4544 2022-10-18 18:18:34 +02:00
Matt Godbolt 0d6292654f Backtrace copy and link update gh-4542 2022-10-18 10:52:02 -05:00
Rubén Rincón Blanco 80796ebcee Properly allow for multiple opt pass panes (#4155) gh-4538 2022-10-15 17:38:41 +02:00
Rubén Rincón Blanco f906a1e54a Fixes editor annotations showing for unreleated exec panes (#4161)
Fixes #4137
gh-4537
2022-10-15 17:38:28 +02:00
zooster e43660bc47 fix: Zig trunk compile error (#4144) gh-4511 2022-10-12 21:51:14 +02:00
Rubén Rincón Blanco c3eee72def Sort libs based on semver (#4153) gh-4508 2022-10-12 21:12:44 +02:00
partouf b8e4d2d105 jakt fixes gh-4507 2022-10-12 21:11:47 +02:00
Marc Poulhiès 70754d0b15 Change SH compilers (#4154)
SH GCC 9.5 and 12.2 were linux-* and not supporting sh2.
We decided to change these compilers to elf-* with sh2 support.

This also causes the removal of fortran as it's not available for elf targets.

refs #94

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-4502
2022-10-12 13:27:35 -05:00
partouf 13053fe262 bugfix frontendtest gh-4499 2022-10-12 18:37:50 +02:00
partouf ebd851e47a bugfix frontendtest gh-4498 2022-10-12 18:31:15 +02:00
partouf 30e448b8b5 bugfix deviceview gh-4497 2022-10-12 18:19:18 +02:00
partouf 3f36aa96cb formatting gh-4496 2022-10-12 18:07:44 +02:00
partouf f28f86569c format and lintfixes 2022-10-12 18:07:32 +02:00
partouf dd4b6072ee bugfixes conformance-view.ts 2022-10-12 17:58:44 +02:00
partouf 3fc49aa550 bugfixes device-view.ts 2022-10-12 17:42:25 +02:00
Markus 5c238822a6 Convert conformance-view.js to typescript (#4109) gh-4492 2022-10-12 17:07:24 +02:00
Markus e490978410 Convert device-view.js to typescript (#4105) gh-4491 2022-10-12 17:07:04 +02:00
Patrick Quist e72fdf91dc add copperspice 1.8.0 (#4146) gh-4483 2022-10-12 14:48:50 +02:00
Matt Godbolt a4449cb012 Workflow bump v2 v3 checkout (#4140)
* Workflow bump v2 v3 checkout
* Bump labeler
gh-4479
2022-10-11 17:27:26 -05:00
cor3ntin 2f104ee9da Change the name of the "auto NSDMI" branch. (#4148)
The "auto NSDMI" branch has not actually fully supported
non static members in a while, as the patch was initially written
for clang 9, and I have not gotten around to fix it.

The branch now contains a number of experimentals proposals
including
  * parameter pack indexing (https://isocpp.org/files/papers/D2632R0.pdf)
  * magic char8_t cast function
  * _ for variable names
  * non trailing parameter packs
  * constexpr structured bindings
  * constexpr cast from void*
  * And more to come

P2632 is the paper presenting the majority of these features,
and the current plan is to implement as much of it in clang as possible.

The wg21.link link will become active at publication of the paper next week.
gh-4478
2022-10-11 15:48:38 -05:00
Matt Godbolt d5e924b11e Job lot of manual import from GH Sponsors gh-4467 2022-10-10 23:04:58 -05:00
Cory BloorandPatrick Quist e670523ddd Add ROCm Clang and HIP to CUDA (#4097)
* Add ROCm Clang and HIP to CUDA

* Always include hip/hip_runtime.h

The need to include <hip/hip_runtime.h> and/or <hip/hip_runtime_api.h>
in HIP code before using HIP features is one big difference between
HIP and CUDA. Manually adding it to the command-line here is not ideal,
but the alternative is that the CUDA sample code will be broken by
default when a HIP compiler is selected.

This is perhaps an argument for making HIP a separate language in
compiler explorer, but there's pros and cons to both approaches. I'm
not sure which approach is best, but the existing HIP support that I
built upon was based on using CUDA as the language.

* Add hip-amd to CUDA libs

* Fix id collsion and drop --offload-arch

* Drop trunk compilers

The nightly builds of ROCm Clang and vanilla Clang lack both device
libraries and the HIP library. Their ability to compile HIP code is
very limited without those, to the extent that they will not be able
to build the example code without changes.

I suspect that it's possible to fix those issues, but it may be less
confusing to drop them from the compiler list until they are fully
functional.

* Add self to CONTRIBUTORS.md

* Restore hiptrunk compiler

Put the hiptrunk compiler back how it was, so that the addition of the
HIP libraries is a purely additive change in functionality. However,
mark hiptrunk as hidden so that it is not visible by default.

Co-authored-by: Patrick Quist <partouf@gmail.com>
gh-4461
2022-10-10 21:09:27 -05:00
Ofek aa4db15ea7 Add tests to LlvmPassDumpParser intra-line filters (#4133) gh-4455 2022-10-10 15:54:03 +02:00
Rubén Rincón Blanco 0d09aecc19 Fix --emit llvm-ir when asked to emit binary mode (#4131) gh-4453 2022-10-10 15:29:34 +02:00
Jackson Machado 2bc257d89d docs(api): improved clientstate API documentation describing need for unicode conversion (#4114)
* docs(api): improved clientstate API documentation describing need for unicode conversion

* docs: improve CONTRIBUTORS.md
gh-4451
2022-10-10 13:40:06 +02:00
Rubén Rincón Blanco b25e443bbb Improve event-map types (#4135) gh-4450 2022-10-10 13:39:18 +02:00