Commit Graph
1341 Commits
Author SHA1 Message Date
Patrick Quist aa4ff7e7b4 TenDRA support for C (#2138)
* tendra support for C

* rename so we can later add a cpp version

* Update exec.js
2020-08-20 21:46:14 +02:00
sdgoodrick a41d7becf6 add support for cppx blue and gold languages (#2144) 2020-08-20 16:27:15 +02:00
Partouf a1bb78c777 bugfix skipAsm 2020-08-09 01:07:47 +02:00
Patrick Quist 07f83959d5 Add ptxas (#2102)
* add ptxas

* forgot to commit these

* reuse nvdisasm compatible parsing

* lintfixes
2020-08-07 18:31:38 +02: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
Rubén Rincón Blanco 6b19e59300 Minor improvement to compilation API docs
Removes the `req.body.compiler` fallback when looking for the compiler - It could never be reached
2020-08-03 15:41:08 +02:00
Austin Morton e1cd7f9d89 Fix relative links in asm-docs
fixes #2089
2020-08-02 01:16:00 -04:00
Patrick Quist 86b31017fa Fix uncached execution during startup and compiler rescan (#2098)
fixes #2081
2020-07-28 19:20:12 -04:00
Austin Morton fb2f43b579 Ensure sentry environment is set for node backend
fixes #2104
2020-07-27 14:11:52 -04:00
Patrick Quist 7befe688c2 bugfix (#2088) 2020-07-17 14:02:54 +02:00
Patrick Quist cf7e0b029f [WIP] Fetch binaries for libraries before building (#1945)
* allow liblink also in lib group

* basic working version of lib binaries via conan

* refactored buildenvsetup into classes

* draft of more library readme

* things that aren't really needed

* dont request from conan if theres nothing to link

* conditionally

* its getting late

* download libraries with "native js"

* add libs

* Update c++.amazon.properties

* Update c++.amazon.properties

* Update c++.amazon.properties

* Update buildenvsetup-ceconan.js

* support library alias client- & server-side

* .

* merge master

* url change

* path fix

* disable broken compilers

* buggy clang compilers

* removed disabled compiler

* Update c++.amazon.properties

* bugfixes and add library lookupversion

* libuv and openssl update

* add libs

* test if tbb works with tbb_debug

* normal tbb

* rpath current folder as well for .so's

* add new tbb version and switch folders

* disable ulib
2020-07-15 01:33:54 +02:00
Partouf dc2361291e bugfix fortran errors 2020-07-14 20:41:21 +02:00
RabsRincon dfcea7cd38 Normalize utils.js documentation 2020-07-06 14:49:14 +02:00
Rubén Rincón Blanco 1106db4939 Make url hash a base32 encode (#2062)
Avoids most of the problems present with the current base64 impl
2020-07-06 08:33:10 -04:00
Partouf 37e93d74aa skipAsm isn't a thing in clientstate, nevermind 2020-06-20 21:44:08 +02:00
Partouf ef42dbbeef support skipAsm filter 2020-06-20 21:20:45 +02:00
Partouf 32357293d6 Merge remote-tracking branch 'origin/master' into mobileshortlinkviewmode2 2020-06-20 20:47:21 +02:00
Rubén Rincón Blanco a3ac7eff7a Support numeric labels (#2033)
Closes #2032
2020-06-20 20:39:19 +02:00
Simon Hössjer 4df43dde81 Wsl fixes (#2012)
* Disable WINE on WSL

When Compiler Explorer runs from within WSL, it does not need WINE in
order to call Windows executables.

* Fix process working directories on WSL

This ensures that all working directories, when running the
compiler, are WSL compatible.

* Add test to check correct working directory on WSL
2020-06-20 20:39:01 +02:00
Partouf efe1327dc2 compiler output support, tools, executor, lot of refactoring 2020-06-20 02:12:14 +02:00
Partouf 7583df9da2 support executor 2020-06-18 23:19:45 +02:00
Partouf 7087182f57 just the important bits 2020-06-18 20:53:04 +02:00
RabsRincon 01740fba5e Fixes undefined backendOptions
If the request sends no compilerOptions,
 we would throw some exceptions

Closes #2036
2020-06-17 22:30:32 +02:00
RabsRincon b7fc8b1759 Ensure backend options are always generated 2020-06-15 12:47:31 +02:00
RabsRincon 6155516e03 Add backend option skipAsm
It avoids processing the asm parts if the user does not need it

Maybe another approach would be to always process it and delete it
 from the served result, that way we could cache both versions
 under the same key.
2020-06-10 21:15:46 +02:00
RabsRincon 2785809884 Add ability to hide compilers from selection lists
It shows them if the state had it being used - But only for that pane

Maybe we could add some visual indicator that the current compiler is
 hidden, but that's for some other time

Releated to #1997
2020-06-09 13:47:59 +02:00
Iain Buclaw 91297042a4 Pass -fsyntax-only when getting GCC options and test that -masm= is really supported (#2001)
* Pass -fsyntax-only when getting GCC options

Without this, the gcc driver will still attempt to invoke the assembler,
even though it is redundant to do so.

* Test that -masm= is both available and supported.

Targets such as i686-apple-darwin or x86_64-apple-darwin may have
-masm=intel present in --target-help, but any use of it will throw:

    error: ‘-masm=intel’ not supported in this configuration
2020-06-08 12:47:44 +02:00
Iain BuclawandPatrick Quist 3a9da38e77 Recognize weak labels if a global isn't found (#2000)
Fixes #1989

Co-authored-by: Patrick Quist <partouf@gmail.com>
2020-06-08 12:10:29 +02:00
Iain BuclawandPatrick Quist ce0b7be667 Recognize globals emitted for the mcore and rx targets (#1999)
* Recognize globals emitted for the Motorola M*CORE target

* Recognize globals emitted for the Renesas RX target

Co-authored-by: Patrick Quist <partouf@gmail.com>
2020-06-08 12:09:39 +02:00
Iain Buclaw 1f720f3a2f Fix asm parser to recognize SPARC function definitions (#1998)
Refs #1989
2020-06-08 12:06:40 +02:00
GeorgeGribkov cf9494d269 Fix the empty string failure on gcc lower than 4.9.0 2020-06-04 16:16:04 +03:00
Matt Godbolt 2f02d8b87d Merge remote-tracking branch 'origin/master' into GeorgeGribkov-pvs-studio-tool 2020-06-03 08:09:42 -05:00
Matt Godbolt 97c7067019 Tools includeKey
If a tool has an includeKey set, then for each compiler, this key is
looked up, and if not 'truthy', then the tool is disabled for that
compiler.
2020-06-03 08:04:15 -05:00
Matt Godbolt 29125df7b8 Formatting; remove commented-out code 2020-06-03 07:14:54 -05:00
Matt Godbolt f5cab41023 Merge remote-tracking branch 'origin/master' into GeorgeGribkov-pvs-studio-tool 2020-06-03 07:13:30 -05:00
GeorgeGribkov 2a6c0701d8 Change the message for the compilation error 2020-06-03 12:26:40 +03:00
GeorgeGribkov d6fd4e7f9f Return if compilation failed 2020-06-03 11:52:47 +03:00
GeorgeGribkov 74b02c076c exclude directories for analysis 2020-06-02 10:36:51 +03:00
GeorgeGribkov 24202e97d5 Turn on the automatic PVS-Studio.cfg generation 2020-06-01 16:05:32 +03:00
RabsRincon 535d436ea9 Make gccDump output process filename agnostic 2020-05-30 13:22:40 +02:00
Partouf aac49c3e4a change to support ce user 2020-05-29 16:41:27 +02:00
Partouf 2cae24f7b1 Merge remote-tracking branch 'origin/master' into HEAD 2020-05-29 16:30:01 +02:00
Partouf 79e3252121 use pvs-studio-analyzer 2020-05-29 16:28:44 +02:00
Matt Godbolt 8c385001a8 Merge pull request #2003 from GeorgeGribkov/GeorgeGribkov-pvs-studio-tool
George gribkov pvs studio tool
2020-05-29 07:57:37 -05:00
GeorgeGribkov c2c6f32410 minor fix 2020-05-29 15:22:39 +03:00
GeorgeGribkov 91972db89f Let the PVS-Studio-tool know the compiler path 2020-05-29 12:45:41 +03:00
Matt Godbolt 263ff0ed72 Support binary in rust.
Closes #509
2020-05-28 23:11:03 -05:00
Partouf b2d1027fc8 restore some things 2020-05-28 12:18:25 +02:00
Partouf 2d08144798 Merge branch 'pvstestthings' into GeorgeGribkov-pvs-studio-tool 2020-05-28 12:16:19 +02:00
Partouf e76375c9fe Merge remote-tracking branch 'origin/master' into GeorgeGribkov-pvs-studio-tool 2020-05-28 12:16:12 +02:00