362 Commits (b11cf2f37165ddf0ebe737e85768483ff4387481)

Author SHA1 Message Date
Eli Schwartz edc3e26369
fix odd mypy issue in unreachable code 2 years ago
Eli Schwartz 8277a1aba8
simplify type annotation 2 years ago
Eli Schwartz ab20eb5bbc
compilers: avoid importing compilers upfront for detect 2 years ago
Eli Schwartz cc5ef6478f
compilers: perform targeted imports for detect 2 years ago
Eli Schwartz f6f876481f
compilers: use more direct checks for what kind of compiler we have 2 years ago
Eli Schwartz 775b67c5c1
compilers/detect: rename potentially conflicting name 2 years ago
Eli Schwartz 2b90152fe5
compilers: use consistent function signature for objc 2 years ago
Eli Schwartz 4487a256e0
compilers: remove dead code 2 years ago
Eli Schwartz 5c4cd9162e
compilers: single-source compiler class as cls, consistently 2 years ago
Eli Schwartz d3dac3cfb2
compilers: don't export every compiler as a top-level property 2 years ago
Yang Bo 83d18d137d Use os.path.realpath for default include paths testing in -isystem. 2 years ago
Eli Schwartz 2a76afcef1 compilers: drop some useless info from CompileResult 2 years ago
Eli Schwartz e3a4dc7218 compilers: fix regression in logging cached compile commands 2 years ago
Eli Schwartz 167356aeab
compilers: correct the MSVC version comparison for turning on __cplusplus 2 years ago
Eli Schwartz 388cb0f805 env2mfile: reuse logical lists of interesting facts from meson itself 2 years ago
Eli Schwartz f4cc60bf20 flake8: move typing-only imports into T.TYPE_CHECKING 2 years ago
Alf Henrik Sauge 06bf9a5cda Fix purely white space issues reported by flake8 2 years ago
Eli Schwartz 27748f9cd1
fix linker regression for compilers that don't accept LDFLAGS directly 2 years ago
Dylan Baker d6b9d431ec linkers: Add a representation for the Apple AR Linker 2 years ago
Justin Blanchard ec388fe7c2 ar linker: detect the "osx ld" case (where generating thin archives won't work) based on host OS, not build OS. 2 years ago
Eli Schwartz 0eed99318b
compilers: add logging to obscure compiler defines scraper 2 years ago
Eli Schwartz 1f527550c6
compilers: include compiler detection output in the debug logs 2 years ago
Eli Schwartz 93ba937186
compilers: better reporting of command failures 2 years ago
Eli Schwartz 46793145ba
Revert /utf-8 changes in the visualstudio mixin to the 0.62.0 state 2 years ago
Tristan Partin af846a109f Detect Cython and Vala compilers on the build machine always 2 years ago
Eli Schwartz 0703ee0aef
move various unused typing-only imports into type-checking blocks 2 years ago
Eli Schwartz 46148f923b
fix totally invalid import of an import 2 years ago
Chun-wei Fan 6e7c3efa79 visualstudio.py: Apply /utf-8 only on clang or VS2015+ 2 years ago
Stepan Nassyr b0158955b7 ACfL version detection with regex 3 years ago
Stepan Nassyr d045c9f79d Allow for 3-component ACfL versions 3 years ago
Eli Schwartz a49cd00d64 treewide: various cleanups to move imports for mypy into typechecking blocks 3 years ago
Marco Trevisan (Treviño) 29c26d5b26 compilers: Add support for stand-alone leak sanitizer 3 years ago
Dylan Baker d553748b60 compiler: Add missing needs_static_linker to base Compiler class 3 years ago
Andreas Obergschwandtner bfc4e958b4 Fix optimization level 's' for the TI compiler 3 years ago
Eli Schwartz 1c52ac4e15
move various imports into TYPE_CHECKING blocks for neatness 3 years ago
Tristan Partin 5d0538d235 Fix invalid Python overrides 3 years ago
Tristan Partin 8d918e0147 Add cc.has_function_attribute('sentinel') 3 years ago
Tristan Partin 5d438b6aed Add cc.has_function_attribute('section') 3 years ago
Eli Schwartz 7c4087ace5 compilers/gnu: demote visibilty inlineshidden to hidden for unsupported compilers 3 years ago
Eli Schwartz 04c728a126 compilers/c++: Add MSVC option to make the __cplusplus define accurate 3 years ago
Khairul Azhar Kasmiran 6b7bc608b7 compiler.has_argument: Add `-Werror=unknown-warning-option` to clang-cl cmd line 3 years ago
Remi Thebault f24ad87e05 implement and test a few compiler checks for D 3 years ago
Fini Jastrow c16fdaeeca linkers: Add support for mold linker 3 years ago
Chun-wei Fan 8ed151bbd7 Visual Studio: Only use /utf-8 on VS2015 or later or clang-cl 3 years ago
Eli Schwartz a0e7f93414 compilers: fix broken CompCert support for release flags 3 years ago
Marvin Scholz 89620dc8e7 clike: print stderr instead of stdout for debugging 3 years ago
Marvin Scholz 1b03441bc4 visualstudio: do not query underscore define with MSVC 3 years ago
Marvin Scholz f02ffc007c clike: add more reliable ways to check underscore prefix 3 years ago
Marvin Scholz 4b97c60650 compilers/gnu: use Popen_safe to prevent resource leaks 3 years ago
Xavier Claessens ebbe4425e7 Debian renamed cython to cython3, support both 3 years ago