William D. Jones
94a5ffabf3
Add 64-bit paths to check for unsupported Watcom cl.exe clones.
2021-10-31 21:38:53 -04:00
Eli Schwartz
8947352889
fix various flake8 whitespace errors
2021-10-27 09:51:52 -04:00
Jussi Pakkanen
4840c86ec9
Add sccache support.
2021-10-25 19:59:49 -04:00
Jesse Natalie
b19530bd7d
Fix compiler detection for cl/clang-cl
...
If the compiler specified is a path to a compiler, the current detection is broken. It needs to use just the compiler name instead.
2021-10-06 13:35:24 -07:00
Eli Schwartz
4ab70c5512
fix extra whitespace
...
discovered via flake8 --select E303
2021-10-04 16:29:31 -04:00
makise-homura
e58b3adc70
Fix mypy errors
2021-09-29 20:16:02 -07:00
makise-homura
0ed2d2719b
compilers: Select correct clang on e2k for C++ and ObjC++
2021-09-29 20:16:02 -07:00
makise-homura
fe0809360d
compilers: There is clang for e2k (elbrus) platform finally
2021-09-29 20:16:02 -07:00
Dylan Baker
30202a2402
compilers/rust: Add support for clippy
...
Clippy is a compiler wrapper for rust that provides an extra layer of
linting. It's quite popular, but unfortunately doesn't provide the
output of the compiler that it's wrapping in it's output, so we don't
detect that clippy is rustc. This small patch adds a new compiler class
(that is the Rustc class with a different id) and the necessary logic to
detect that clippy is in fact rustc)
Fixes : #8767
2021-09-24 18:48:48 -07:00
Dylan Baker
6ca732991d
compilers/detect: use linker_always_args as well as linker exe_list
...
Otherwise we don't get critical arguments like -fuse=lld.
2021-09-24 18:48:48 -07:00
Dylan Baker
79ed1f985c
compilers/detect: avoid mutating rustc compiler list
...
Because mutation is bad.
2021-09-24 18:48:48 -07:00
Eli Schwartz
87e13af1c8
apply flake8 fixes for unused imports and missing imports
2021-09-14 15:55:07 -04:00
Mat Cross
0e86258748
Implemented some missing operation for the NAG Fortran Compiler.
2021-09-10 16:08:57 -04:00
Eli Schwartz
bd6f46e723
condense lines
2021-07-05 17:55:04 +03:00
Eli Schwartz
dd31891c1f
more f-strings too complex to be caught by pyupgrade
2021-07-05 17:55:04 +03:00
miebka
3021f256ea
C2000: linker uses now binary setting defined within the cross-file
2021-07-01 01:58:24 +03:00
Ian Harvey
84b371c645
Update detect.py
...
Adjust Intel Fortran compiler detection to handle changes in ifort logo with the introduction of the oneapi toolkit. See #8338 .
2021-06-27 17:50:30 +03:00
Daniel Mensinger
b95d6e319f
typing: Annotate compilers.detect
2021-06-25 19:34:48 +02:00
Daniel Mensinger
3f889606c7
Split compiler detection from Environment
...
This moves all the compiler detection logic into the new
compilers.detect module. This dramatically reduces the size
and complexity of Environment.
2021-06-25 19:34:48 +02:00