Commit Graph
26 Commits
Author SHA1 Message Date
Matt Godbolt f2c1e0bd31 The Grand Reformat (#3643)
* The Grand Reformat

- everything made prettier...literally
- some tweaks to include a few more files, including documentation
- minor changes to format style
- some tiny `// prettier-ignore` changes to keep a few things the way we like them
- a couple of super minor tweaks to embedded document types to ensure they format correctly
2022-05-09 23:13:50 -05:00
ca017bac31 Add support for heterogeneous compute (#2836)
* Extract device code from assembly files.

This commit by itself does not actually add any viewing panes for the
extracted device code, nor does it provide any means to provide
device-specific postprocessing steps.

* Add a rudimentary device view.

This doesn't handle multiple device outputs correctly at the moment, and
it provides no opportunity to view device code differently from
non-device code for now.

* Lint issues

* Some more WIP getting it working.

* Add device extraction code

* More fixes, and keep state

Co-authored-by: Joshua Cranmer <joshua.cranmer@intel.com>
Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-08-14 12:53:22 -05:00
Matt Godbolt f68198af9e Reassign copyright to Compiler Explorer Authors (#2233) 2020-09-26 17:50:40 -05:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible

In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules

This PR attempts to not change code behavior when possible.  In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the 
code base to silence the error.  You can find these by searching for `eslint-disable-next-line`.

Co-authored-by: Austin Morton <austinpmorton@gmail.com>
2020-08-04 16:39:02 -04:00
Austin Morton cadbdf59ff Switch to p-queue package, implement compilationEnvTimeoutMs, and improve temp cleanup logging (#1877)
These changes are an attempt to help diagnose a queue halting issue that decreases parallelism and prevents temp dir cleanup.

see #1875
2020-03-07 01:50:49 -05:00
Austin Morton 1b7fe24990 Perform some general maintenance on the test suite (#1840) 2020-02-18 00:03:15 -05:00
Matt Godbolt 03a3fb3bda Argument parser asyncs 2020-01-14 22:37:58 -06:00
Austin Morton bf23550d9e Allow caching of compiler version and argument information to improve startup time 2019-05-29 04:18:19 -04:00
asynts 661acfcdef oops, extending the existing test instead 2019-02-19 23:33:11 +01:00
asynts 0e16f4fc25 updating the test name 2019-02-19 21:43:27 +01:00
asynts ec211707dd adding tests for c440b50d, ...
* test that "-fno-crash-diagnostics" is added when supported
* and also check for "-fcolor-diagnostics" since it's basically the same
2019-02-19 21:40:25 +01:00
Partouf 16bae63b33 bugfix arguments with assignment 2019-01-12 22:10:00 +01:00
Partouf 064ded5f56 unittest for CompilerArguments + able to exclude certain arguments 2019-01-12 21:42:00 +01:00
Partouf 96e8d722fb fix unittests, add VC argument parser, refactoring 2018-11-10 01:05:11 +01:00
Rubén 1a33902997 Merge compilerProps functions to a general case one (#956)
* Merge both compilerProps functions to general case

* Move compilerProps to lib/properties.js

It's now its own class, which takes a languages object + the ceProps
function to calMove compilerProps to lib/properties.js

* Add compilerProps behvaiour tests

* Add unknown language test
2018-06-19 10:09:44 +02:00
RabsRincon 968ce50f67 Add superfluous base argument parser test 2018-04-07 17:51:51 +02:00
RabsRincon e3de4914ef Fix #892 2018-04-03 13:49:01 +02:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon 9cb7251750 ES6fy CompilationEnv. Fixed some tests cornercases 2018-01-18 20:22:22 +01:00
RabsRincon d493dfb7cc Format code 2018-01-18 19:46:02 +01:00
RabsRincon a54faefb4c ES6fy compilers inheritance 2018-01-18 19:43:10 +01:00
partouf e1202905ef set defaults in Compile class, test with actual Compile class, only test what should be changed from the default 2018-01-03 23:19:25 +01:00
partouf ae1780f442 testcase and fix for #738 2018-01-03 22:47:45 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
Matt Godbolt 6e7e30bf49 Parse out colourisation options and default them on. Add tests. See #687 2017-12-19 10:15:28 -06:00