Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-10-25 | Compilers: Keep ccache and exelist separated | Xavier Claessens | 1 | -2/+2 | |
Only combine them in the Compiler base class, this will make easier to run compiler without ccache. | |||||
2022-08-26 | Fix purely white space issues reported by flake8 | Alf Henrik Sauge | 1 | -9/+9 | |
2022-07-03 | move various unused typing-only imports into type-checking blocks | Eli Schwartz | 1 | -2/+5 | |
2022-03-22 | OptionOverrideProxy: Make it immutable to avoid copies | Xavier Claessens | 1 | -2/+2 | |
It is always used as an immutable view so there is no point in doing copies. However, mypy insist it must implement the same APIs as Dict[OptionKey, UserOption[Any]] so keep faking it. | |||||
2022-02-16 | flake8: fix wrong numbers of blank line separators | Eli Schwartz | 1 | -0/+3 | |
2022-01-10 | compilers: push the compiler id to a class variable | Dylan Baker | 1 | -1/+2 | |
It really is a per class value, and shouldn't be set per instance. It also allows us to get rid of useless constructors, including those breaking mypy | |||||
2021-12-30 | fix type annotations for compiler toolchain rpaths | Eli Schwartz | 1 | -1/+1 | |
We pass around a tuple of rpaths, because rpaths *can* be more than one. But all the annotations said it would be a str instead. | |||||
2021-10-27 | fix various flake8 whitespace errors | Eli Schwartz | 1 | -7/+7 | |
2021-10-14 | cuda: Override std=none to avoid host_compiler to emit -std argument | Xavier Claessens | 1 | -6/+3 | |
2021-10-10 | Fix typos discovered by codespell | Christian Clauss | 1 | -2/+2 | |
2021-10-04 | fix extra whitespace | Eli Schwartz | 1 | -3/+0 | |
discovered via flake8 --select E303 | |||||
2021-08-16 | compilers: Fix extra_args parameter | Dylan Baker | 1 | -2/+2 | |
which can also be a callable taking a CompileChekcMode as an argumetn and returning a list of strings. | |||||
2021-07-18 | Cuda: Enable PGO | David Seifert | 1 | -0/+6 | |
2021-07-18 | Cuda: Filter -isystem with system paths | David Seifert | 1 | -12/+19 | |
2021-07-18 | Cuda: Pass -DNDEBUG through | David Seifert | 1 | -0/+3 | |
2021-07-14 | linkers: remove is_shared_module argument to get_soname_args | Paolo Bonzini | 1 | -4/+2 | |
The argument is now unused, drop it. | |||||
2021-06-29 | fix: Always explicitly set encoding for text files (fixes #8263) | Daniel Mensinger | 1 | -1/+1 | |
2021-03-28 | Strip host-compiler -std flag from NVCC line.cudafix0572 | Olexa Bilaniuk | 1 | -1/+12 | |
Closes #8523. | |||||
2021-03-28 | Retract "DQSQ" merging in NVCC arguments handling. | Olexa Bilaniuk | 1 | -15/+0 | |
No coverage, no tests, unreadable, unused, likely premature optimization. | |||||
2021-03-28 | Canonicalize and merge consecutive -Xcompiler flags together. | Olexa Bilaniuk | 1 | -1/+47 | |
Makes command-line more readable. | |||||
2021-03-19 | split program related classes and functions out of dependencies | Dylan Baker | 1 | -1/+2 | |
Dependencies is already a large and complicated package without adding programs to the list. This also allows us to untangle a bit of spaghetti that we have. | |||||
2021-03-04 | mass rewrite of string formatting to use f-strings everywhere | Eli Schwartz | 1 | -2/+2 | |
performed by running "pyupgrade --py36-plus" and committing the results | |||||
2021-03-04 | various python neatness cleanups | Eli Schwartz | 1 | -2/+2 | |
All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes | |||||
2021-03-04 | raw string literals are next to godliness | Eli Schwartz | 1 | -2/+2 | |
Invalid escape sequences are deprecated and will be removed from a future version of python. Use r"" to define them so they remain readable. | |||||
2021-02-22 | [CUDA] Bugfix: Forward sanitizer_*_args() methods to host compiler. | Olexa Bilaniuk | 1 | -0/+6 | |
Enables -Db_sanitize=undefined and company. Also serves as a testcase for NVCC comma-shielding: Because the test- case declares `b_sanitize=address,undefined`, the host GCC compiler needs `-fsanitize=address,undefined`, but this stands a danger of being split by NVCC when wrapped with `-Xcompiler=args,args`. Special, already-existing comma-shielding codepaths activate to prevent this splitting. Closes #8394. | |||||
2021-02-16 | Add optional -Dcuda_ccbindir= option and -ccbin flag to CUDA compiler. | Olexa Bilaniuk | 1 | -8/+32 | |
Closes #8110. | |||||
2021-02-16 | Armour-grade quoting to account for NVCC's -Xcompiler peculiarities. | Olexa Bilaniuk | 1 | -14/+84 | |
2021-02-16 | Extensive rewrite of GCC/MVSC flag translation to NVCC flags. | Olexa Bilaniuk | 1 | -31/+313 | |
2021-01-04 | move OptionKey to mesonlib | Dylan Baker | 1 | -2/+4 | |
There's starting to be a lot of things including coredata that coredata needs to itself include. putting it in mesonlib makes more sense | |||||
2021-01-04 | use OptionKey for compiler_options | Dylan Baker | 1 | -7/+10 | |
2020-11-12 | compilers: Standardize the names of compiler options | Dylan Baker | 1 | -4/+4 | |
Most options don't use language prefaced options (std vs c_std) internally, as we don't need that due to namespacing. Let's do that across the board | |||||
2020-10-16 | compilers/cuda: Use format_map(mapping) instead of format(**mapping) | Carlos Bederian | 1 | -2/+2 | |
2020-10-16 | compilers/cuda: Fix has_header_symbol check | Carlos Bederian | 1 | -4/+17 | |
2020-10-01 | compilers/cuda: make type safe | Dylan Baker | 1 | -49/+65 | |
2020-10-01 | compilres: move depfile_for_object to compiler | Dylan Baker | 1 | -4/+1 | |
2020-10-01 | compilers: move get_dependency_gen_args to base Compiler | Dylan Baker | 1 | -3/+0 | |
So that every subclass doesn't have to reimplement it. Especially since the Gnu implementation moved out of the CCompiler and into the GnuLikeCompiler mixin | |||||
2020-10-01 | compilers/cpp: Add type annotations | Dylan Baker | 1 | -1/+1 | |
2020-09-24 | compilers: put name_string method in base compiler | Dylan Baker | 1 | -3/+0 | |
Every language had the exact same implementation | |||||
2020-09-24 | compilers/compilers: Fully type annotate | Dylan Baker | 1 | -2/+2 | |
2020-07-13 | Fix native builds on Windows ARM64 machines | Nirbheek Chauhan | 1 | -3/+0 | |
I made the mistake of always selecting the debug CRT for compiler checks on Windows 4 years ago: https://github.com/mesonbuild/meson/pull/543 https://github.com/mesonbuild/meson/pull/614 The idea was to always build the tests with debugging enabled so that the compiler doesn't optimize the tests away. But we stopped doing that a while ago, and also the debug CRT has no relation to that. We should select the CRT in the same way that we do for building targets: based on the options. On Windows ARM64, the debug CRT for ARM64 isn't always available, and the release CRT is available only after installing the runtime package. Without this, we will always try to pick the debug CRT even when --buildtype=debugoptimized or release. | |||||
2020-05-16 | Let .pc files specify rpath. | Dan Kegel | 1 | -3/+4 | |
Fixes #4027 | |||||
2020-01-08 | types: import typing as T (fixes #6333) | Daniel Mensinger | 1 | -8/+8 | |
2019-12-12 | compilers: Make get_display_language a class or static method | Dylan Baker | 1 | -3/+0 | |
Currently this is done at the instance level, but we need it at the class level to allow compiler "lang" args to be gotten early enough. This patch also removes a couple of instance of branch/leaf classes providing their own implementation that is identical to the Compiler version. | |||||
2019-12-12 | compilers: move language attribute to the class level | Dylan Baker | 1 | -2/+1 | |
We know that if a compiler class inherits CCompiler it's language will be C, so doing this at the class level makes more sense. | |||||
2019-11-18 | Use strict function prototypes | Michael Hirsch, Ph.D | 1 | -1/+1 | |
2019-11-06 | Fix typos found by codespell | Wolfgang Stöggl | 1 | -2/+2 | |
- Typos were found by codespell v1.16.0 | |||||
2019-11-05 | dependency('cuda') | Aleksey Gurtovoy | 1 | -1/+4 | |
2019-10-07 | compilers: replace CompilerType with MachineInfo | Dylan Baker | 1 | -2/+4 | |
Now that the linkers are split out of the compilers this enum is only used to know what platform we're compiling for. Which is what the MachineInfo class is for | |||||
2019-09-24 | CUDA support on Windows | Aleksey Gurtovoy | 1 | -18/+101 | |
2019-09-05 | Create CUDA linker with CUDA compiler | Kramer Peace | 1 | -6/+2 | |
Since they are laways paired there is no need to "search" for the cuda linker. |