Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-26 | compilers/c_function_attributes: add retain | Arsen Arsenović | 1 | -0/+1 | |
retain is a relatively young attribute which has proven itself useful for working with --gc-sections -z start-stop-gc. | |||||
2022-01-15 | Fix system include arguments for clang-cl | Gatgat | 1 | -0/+4 | |
2022-01-10 | compilers: push the compiler id to a class variable | Dylan Baker | 21 | -74/+79 | |
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 | |||||
2022-01-10 | Merge pull request #9739 from mathstuf/armclang-support | Jussi Pakkanen | 5 | -1/+59 | |
Armclang support | |||||
2022-01-03 | armltdclang: add support for ARM Ltd.'s `armclang` toolchain | Ben Boeckel | 4 | -1/+48 | |
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 | |||||
2021-12-30 | fix type annotations for compiler toolchain rpaths | Eli Schwartz | 4 | -4/+4 | |
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-12-30 | Fix mypy 0.930 issues | Tristan Partin | 1 | -1/+1 | |
Removed errant "type: ignore". Fixed issue with "fetch" call. This issue was the following: Dict::get() and Dict::pop() have the following signature: T.Callable[[_T, _U], _U | None] OR T.Callable[[_T], _U | None] Note how the return type is _U here. When the fetch() function was actually being called, it had the following signature: T.Callable[[_T, T.List[_U]], T.Union[T.List[_U], _U]] This is incompatible with the previous definitions. The solution is simply to move where the default value is introduced if fetch() produces None. | |||||
2021-12-16 | armclang: clarify that this is support for the Keil cross-compiler | Ben Boeckel | 3 | -0/+11 | |
2021-12-08 | clang-cl: add a translation pass for `-isystem` args to work | Sahnvour | 1 | -0/+14 | |
2021-11-27 | Fix _calculate_toolset_version for VS2022. | Luke Elliott | 1 | -0/+2 | |
2021-11-27 | Add -g for debug builds. | Nathanael Gray | 1 | -1/+1 | |
2021-11-27 | Fix more code which appears copied from CcrxCompiler. | Nathanael Gray | 1 | -4/+6 | |
2021-11-22 | ldc2: invoke -Oz instead of -Os | Denis Feklushkin | 1 | -1/+1 | |
2021-11-16 | Support ancient (<3.4.0) gcc versions | William Toohey | 1 | -1/+4 | |
2021-11-15 | only pass clang LTO arguments when they are needed | Eli Schwartz | 1 | -2/+4 | |
If the LTO threads == 0 clang will default to the same argument we manually pass, which meant we dropped support for admittedly ancient versions of clang that didn't yet add that option. Drop the extraneous argument, and add a specific error condition when too old versions of clang are detected. Fixes #9569 | |||||
2021-11-14 | Remove incorrect arguments for C2000 C++ compiler. Add correct form for ↵ | Nathanael Gray | 1 | -12/+13 | |
output and include args. | |||||
2021-11-08 | compilers/java: Add no_warn_args and debug_args methods | Dylan Baker | 1 | -0/+8 | |
2021-11-01 | various manual conversion of percent-formatted strings to f-strings | Eli Schwartz | 1 | -2/+2 | |
2021-10-31 | Add 64-bit paths to check for unsupported Watcom cl.exe clones. | William D. Jones | 1 | -1/+4 | |
2021-11-01 | migrate python 3.5 compatible superclass variable annotations to 3.6 | Eli Schwartz | 1 | -5/+3 | |
As we now require python 3.6, we can declare their types without initializing them. | |||||
2021-11-01 | Revert "known Python 3.5 on windows workaround for subprocess(cwd=str(Path))" | Eli Schwartz | 1 | -2/+1 | |
This reverts commit c89aa2094170b2ffd7151187c1c092db2a178f44. We no longer support 3.5 so this can go. | |||||
2021-10-29 | Remove duplicated CEXE_MAPPING table | Xavier Claessens | 1 | -5/+0 | |
2021-10-27 | fix various flake8 whitespace errors | Eli Schwartz | 9 | -22/+22 | |
2021-10-25 | Add sccache support. | Jussi Pakkanen | 1 | -2/+7 | |
2021-10-24 | Add stdc++20 support for Visual Studio 2019 v16.11 | Moroz Oleg | 1 | -0/+4 | |
fix #9242 | |||||
2021-10-21 | compilers/rust: fix typo in standard description | Dylan Baker | 1 | -1/+1 | |
2021-10-21 | compilers/rust: add support for the 2021 edition | Dylan Baker | 1 | -1/+1 | |
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 | 7 | -16/+16 | |
2021-10-07 | clike compilers: drop semicolon at function end | VladimÃr ÄŒunát | 1 | -4/+4 | |
warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] | |||||
2021-10-06 | Fix compiler detection for cl/clang-cl | Jesse Natalie | 1 | -1/+1 | |
If the compiler specified is a path to a compiler, the current detection is broken. It needs to use just the compiler name instead. | |||||
2021-10-04 | fix extra whitespace | Eli Schwartz | 5 | -9/+0 | |
discovered via flake8 --select E303 | |||||
2021-10-04 | use idiomatic python for membership tests | Eli Schwartz | 1 | -1/+1 | |
"X not in Y" is preferred over "not X in Y", as the former is more readable. | |||||
2021-09-29 | Fix mypy errors | makise-homura | 2 | -5/+9 | |
2021-09-29 | compilers/elbrus: Deal with C/C++/Fortran stds more correctly | makise-homura | 4 | -14/+43 | |
2021-09-29 | compilers: Select correct clang on e2k for C++ and ObjC++ | makise-homura | 1 | -2/+2 | |
2021-09-29 | compilers: There is clang for e2k (elbrus) platform finally | makise-homura | 1 | -6/+4 | |
2021-09-29 | compilers/elbrus: Support prelinking with lcc correctly | makise-homura | 1 | -0/+3 | |
2021-09-29 | compilers/elbrus: Fix incorrect inheritance model of Elbrus*Compiler | makise-homura | 4 | -13/+14 | |
2021-09-28 | Merge pull request #9014 from bonzini/mixed-language-link | Jussi Pakkanen | 2 | -8/+22 | |
Use appropriate compiler for the source file for "links" tests with file argument | |||||
2021-09-25 | Merge pull request #8773 from dcbaker/submit/rustc-enhancements-clippy | Jussi Pakkanen | 3 | -10/+65 | |
More enhancements for Rust + clippy support | |||||
2021-09-24 | compilers/rust: Add support for clippy | Dylan Baker | 3 | -9/+34 | |
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 | |||||
2021-09-24 | compilers/detect: use linker_always_args as well as linker exe_list | Dylan Baker | 1 | -1/+1 | |
Otherwise we don't get critical arguments like -fuse=lld. | |||||
2021-09-24 | rustc: implement pic args | Dylan Baker | 1 | -0/+9 | |
2021-09-24 | compilers/rust: Implement warning levels | Dylan Baker | 1 | -0/+14 | |
Currently this implements 3 warning levels, 1 and 2 are just the "default" set by rustc, 3, is "everything is a warning", and 0 is "nothign is a warning". | |||||
2021-09-24 | rust: Add werror arguments | Dylan Baker | 1 | -0/+5 | |
2021-09-24 | compilers/detect: avoid mutating rustc compiler list | Dylan Baker | 1 | -0/+2 | |
Because mutation is bad. | |||||
2021-09-25 | compilers: Add default search path stdlib_only_link_flags | Dylan Baker | 3 | -12/+60 | |
This should be done in all cases of language_stdlib_only_link_flags, but I don't have access to all of the compilers to test it. This is required in cases where object files created by gfortran are linked using another compiler with a differen default search path, such as gfortran and clang together. | |||||
2021-09-24 | Merge pull request #9167 from dcbaker/submit/meson-main-type-checking | Jussi Pakkanen | 2 | -2/+3 | |
Add type annotations and type checking to meson main | |||||
2021-09-24 | Add option to to transpile Cython to C++ | Dylan Baker | 1 | -0/+8 | |
This patch adds a new meson built-in option for cython, allowing it to target C++ instead of C as the intermediate language. This can, of course, be done on a per-target basis using the `override_options` keyword argument, or for the entire project in the project function. There are some things in this patch that are less than ideal. One of them is that we have to add compilers in the build layer, but there isn't a better place to do it because of per target override_options. There's also some design differences between Meson and setuptools, in that Meson only allows options on a per-target rather than a per-file granularity. Fixes #9015 |