Eli Schwartz
ff7a30c0ea
mark regex string as raw string to fix invalid escapes
3 years ago
Eli Schwartz
3990dc6d64
flake8: fix indentation style
3 years ago
Ben Boeckel
f30e83efd6
armltdclang: add support for ARM Ltd.'s `armclang` toolchain
...
This is another toolchain also called `armclang`, but it is not a cross
compiler like Keil's `armclang`. It is essentially the same as `clang`
based on its interface and CMake's support of the toolchain.
Use an `armltd` prefix for the compiler ID.
Fixes : #7255
3 years ago
William D. Jones
94a5ffabf3
Add 64-bit paths to check for unsupported Watcom cl.exe clones.
3 years ago
Eli Schwartz
8947352889
fix various flake8 whitespace errors
3 years ago
Jussi Pakkanen
4840c86ec9
Add sccache support.
3 years ago
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.
3 years ago
Eli Schwartz
4ab70c5512
fix extra whitespace
...
discovered via flake8 --select E303
3 years ago
makise-homura
e58b3adc70
Fix mypy errors
3 years ago
makise-homura
0ed2d2719b
compilers: Select correct clang on e2k for C++ and ObjC++
3 years ago
makise-homura
fe0809360d
compilers: There is clang for e2k (elbrus) platform finally
3 years ago
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
3 years ago
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.
3 years ago
Dylan Baker
79ed1f985c
compilers/detect: avoid mutating rustc compiler list
...
Because mutation is bad.
3 years ago
Eli Schwartz
87e13af1c8
apply flake8 fixes for unused imports and missing imports
3 years ago
Mat Cross
0e86258748
Implemented some missing operation for the NAG Fortran Compiler.
3 years ago
Eli Schwartz
bd6f46e723
condense lines
3 years ago
Eli Schwartz
dd31891c1f
more f-strings too complex to be caught by pyupgrade
3 years ago
miebka
3021f256ea
C2000: linker uses now binary setting defined within the cross-file
3 years ago
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 .
3 years ago
Daniel Mensinger
b95d6e319f
typing: Annotate compilers.detect
3 years ago
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.
3 years ago