Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-08-16 | compilers/compilers: Fix some potential issues spotted by pyright | Dylan Baker | 1 | -2/+4 | |
There are two changes here, one is to remove an `elif` that is effectively an `else`, that helps the type checker and provides a small speedup potentially. The second is a potentially unbound variable, that currently isn't hit, but very much could be. | |||||
2021-08-16 | compilers: Fix extra_args parameter | Dylan Baker | 6 | -31/+36 | |
which can also be a callable taking a CompileChekcMode as an argumetn and returning a list of strings. | |||||
2021-08-16 | compilers: Fix annotations for run and cached_compile | Dylan Baker | 2 | -6/+6 | |
Which absolutely should accept `str | File`, but the annotations claim that only strings are accepted. | |||||
2021-08-15 | Revert "compilers/c++: Add MSVC option to make the __cplusplus define accurate" | Jussi Pakkanen | 1 | -11/+0 | |
This reverts commit 0b97d585480e973d8b149618901f7a4ddfa1a906. | |||||
2021-08-11 | compilers/c++: Add MSVC option to make the __cplusplus define accurate | Dylan Baker | 1 | -0/+11 | |
Otherwise it always returns the value for c++98, starting with MSVC 2017 15.7 or later. Earlier versions are not affected by this mis-feature | |||||
2021-08-08 | Add support for finding Javascript source libraries with Emscripten. | Jussi Pakkanen | 2 | -1/+36 | |
2021-07-25 | C2000 compiler also accepts *.cla files | miebka | 1 | -2/+4 | |
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 | 4 | -12/+7 | |
The argument is now unused, drop it. | |||||
2021-07-13 | Clang: Apply `-O0` | Pamplemousse | 1 | -1/+1 | |
Fix #8986 | |||||
2021-07-06 | Fix unsupported linker error message | Andrea Pappacoda | 1 | -1/+1 | |
An `f` was dropped in bd6f46e723813dfadaba1f7c87d3b0b751d05219 | |||||
2021-07-05 | condense lines | Eli Schwartz | 3 | -10/+5 | |
2021-07-05 | simplify mesonlib imports for the sake of line lengths | Eli Schwartz | 1 | -7/+7 | |
2021-07-05 | more f-strings too complex to be caught by pyupgrade | Eli Schwartz | 5 | -16/+14 | |
2021-07-01 | C2000: linker uses now binary setting defined within the cross-file | miebka | 1 | -1/+1 | |
2021-06-29 | fix: Always explicitly set encoding for text files (fixes #8263) | Daniel Mensinger | 9 | -10/+10 | |
2021-06-27 | Update detect.py | Ian Harvey | 1 | -1/+1 | |
Adjust Intel Fortran compiler detection to handle changes in ifort logo with the introduction of the oneapi toolkit. See #8338. | |||||
2021-06-25 | typing: Annotate compilers.detect | Daniel Mensinger | 1 | -62/+73 | |
2021-06-25 | Split compiler detection from Environment | Daniel Mensinger | 3 | -4/+1243 | |
This moves all the compiler detection logic into the new compilers.detect module. This dramatically reduces the size and complexity of Environment. | |||||
2021-06-22 | Fixed style issue as per comments on PR 8911. | Justin Handville | 1 | -2/+1 | |
2021-06-22 | Fix for Issue 8910 (Meson filters CMake asm files) | Justin Handville | 1 | -0/+3 | |
2021-06-18 | holders: Introduce HoldableObject | Daniel Mensinger | 1 | -3/+4 | |
2021-06-18 | interpreter: Refactor interpreter.compiler to use ObjectHolder | Daniel Mensinger | 1 | -0/+2 | |
2021-06-09 | compilers: Fix missing functions in Compiler base class | Daniel Mensinger | 3 | -5/+19 | |
2021-06-07 | upgrade percent formatted strings pyupgrade did not catch | Eli Schwartz | 2 | -16/+14 | |
2021-06-07 | condense lines | Eli Schwartz | 1 | -8/+4 | |
2021-06-07 | more f-strings everywhere | Eli Schwartz | 1 | -73/+57 | |
pyupgrade didn't catch many .format() methods which were too complex (e.g. multiline or applied to templates rather than string literals) | |||||
2021-06-07 | cython: Add an option for selecting python 3 vs python 2 output | Dylan Baker | 1 | -3/+21 | |
2021-06-07 | compilers: Add cython file suffixes | Dylan Baker | 1 | -0/+2 | |
2021-06-07 | compilers: Expose Cython compiler | Dylan Baker | 1 | -0/+2 | |
2021-06-07 | hack: compilers/cython: hardcode python 3 not 2 | Dylan Baker | 1 | -1/+2 | |
2021-06-07 | compilers: Add a cython Compiler | Dylan Baker | 1 | -0/+60 | |
2021-06-05 | typing: Fully annotate dependencies.cuda | Daniel Mensinger | 1 | -0/+2 | |
2021-06-02 | use an immutable list for an lru_cached functions | Dylan Baker | 3 | -4/+7 | |
When mutable items are stored in an lru cache, changing the returned items changes the cached items as well. Therefore we want to ensure that we're not mutating them. Using the ImmutableListProtocol allows mypy to find mutations and reject them. This doesn't solve the problem of mutable values inside the values, so you could have to do things like: ```python ImmutableListProtocol[ImmutableListProtocol[str]] ``` or equally hacky. It can also be used for input types and acts a bit like C's const: ```python def foo(arg: ImmutableListProtocol[str]) -> T.List[str]: arg[1] = 'foo' # works while running, but mypy errors ``` | |||||
2021-05-19 | compilers: Add `get_debug_args` to base Compiler | Dylan Baker | 1 | -0/+4 | |
This was missed, there should be an implementation in the base Compiler class, if for nothing else to help mypy | |||||
2021-05-19 | rust: override get_linker_always_args | Dylan Baker | 1 | -0/+6 | |
instead of opencoding what should be there in the rust compile rule | |||||
2021-05-19 | .C files are now treated as C++ code | Volker-Weissmann | 1 | -2/+4 | |
2021-05-15 | Visual Studio Address Sanitizer updates | Peter Harris | 1 | -1/+1 | |
* Allow address sanitizer for Visual Studio 2019 version 16.9 Address Sanitizer was first supported with the current syntax in Visual Studio 16.9.0 (cl version 19.28.29910). * VS: Convert /fsanitize=address to project file setting | |||||
2021-05-15 | Add gnuXX stds to Objective C. | Jussi Pakkanen | 1 | -1/+1 | |
2021-05-11 | Make objective C use C standard version. Closes #5495. | Jussi Pakkanen | 2 | -2/+39 | |
2021-05-10 | deactivate intrinsic functions if no optimizations are requested | Alexander Neumann | 1 | -1/+1 | |
2021-05-02 | Clean up unused imports | Ralf Gommers | 2 | -4/+2 | |
2021-05-02 | Use sanity_check_impl for objc/objpp | Ralf Gommers | 3 | -48/+5 | |
This gets rid of compile warnings, and simplifies the code. Note that `work_dir` in sanity_check_impl was incorrect, it was used both to prepend to file names and as cwd=work_dir argument to Popen. This is fixed here. Closes gh-7344 | |||||
2021-04-01 | environment: get environment variables for both host and build machines | Dylan Baker | 1 | -8/+15 | |
Fixes #8605 | |||||
2021-03-30 | Split environment variable and command line cflags | Dylan Baker | 1 | -4/+7 | |
They are supposed to have different behavior. The environment variables apply to both the compiler and linker when the compiler acts as a linker, but the command line ones do not. Fixes #8345 | |||||
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. |