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 .
4 years ago
Daniel Mensinger
b95d6e319f
typing: Annotate compilers.detect
4 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.
4 years ago