Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-08-22 | Merge pull request #7447 from scivision/nvc | Jussi Pakkanen | 1 | -4/+13 | |
Add support for NVidia HPC SDK compilers | |||||
2020-08-20 | Correctly determine C++ stds for Elbrus compiler | makise-homura | 1 | -5/+13 | |
2020-07-19 | fix msvc not recognising b_ndebug | Elliot Haisley | 1 | -1/+1 | |
fixes #7404 | |||||
2020-07-13 | add Nvidia HPC SDK compilers | Michael Hirsch, Ph.D | 1 | -4/+13 | |
2020-05-22 | compilers: add fetching of define list for clang | Yevhenii Kolesnikov | 1 | -2/+3 | |
Simmilar to gcc, the list of pre-processor defines can be fetched with `-dM -E` option. The way cpu_family is determined on linux relies on this list. Fixes incorrect value of cpu_family on linux, when crosscompiling: ``` CC="clang -m32" meson ./build ``` Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com> Co-authored-by: Dylan Baker <dylan@pnwbakers.com> | |||||
2020-05-16 | Call to CPPCompilers initilisation function was missing the info parameter â” | Drew Reed | 1 | -1/+3 | |
during ArmClangCPPCompiler initialisation | |||||
2020-04-20 | Compiler options per lang | John Ericson | 1 | -89/+144 | |
A current rather untyped storage of options is one of the things that contributes to the options code being so complex. This takes a small step in synching down by storing the compiler options in dicts per language. Future work might be replacing the langauge strings with an enum, and defaultdict with a custom struct, just like `PerMachine` and `MachineChoice`. | |||||
2020-03-29 | compilers: Fix C++ stdlib flags used for Apple's Clang | Ole André Vadla RavnÄs | 1 | -2/+2 | |
Should target libc++, not libstdc++. | |||||
2020-03-23 | Fix legacy env var support with cross | John Ericson | 1 | -1/+1 | |
Fix #3969 | |||||
2020-03-21 | -Add xc16 and c2000 C,Cpp toolchain support | alanNz | 1 | -0/+33 | |
2020-03-08 | Merge pull request #6688 from dcbaker/emcc-linker-bugs | Jussi Pakkanen | 1 | -2/+2 | |
Emcc linker bugs and improvments | |||||
2020-03-03 | Set c_winlibs/cpp_winlibs for Clang in the same way as for GCC | Martin Storsjö | 1 | -0/+6 | |
clang-cl is handled as a separate case (ClangClCCompiler), which already gets c_winlibs from VisualStudioLikeCCompilerMixin. | |||||
2020-02-27 | compilers/linkers: Add a representation for wasm-ld | Dylan Baker | 1 | -2/+2 | |
Emscripten does have a stand alone linker, wasm-ld. This patch adds the linker, adds detection for the linker, and removes the IsLinkerMixin for emscripten. This is a little more correct, and makes the code a lot cleaner and more robust. | |||||
2020-02-27 | compilers/mixins/emscripten: Implement thread support | Dylan Baker | 1 | -1/+1 | |
Emscripten has pthread support (as well as C++ threads), but we don't currently implement them. This fixes that by adding the necessary code. The one thing I'm not sure about is setting the pool size. The docs suggest that you really want to do this to ensure that your code works correctly, but the number should really be configurable, not sure how to set that. Fixes #6684 | |||||
2020-02-27 | compilers/emcc: Fix inheritance order | Dylan Baker | 1 | -1/+1 | |
Sot hat the BasicLinkerIsCompilerMixin comes before ClangCCompiler, which hides its "call the linker" methods, as emcc doesn't have a separate linker. | |||||
2020-01-28 | compilers: Split ClangCL and MSVC mixins | Dylan Baker | 1 | -5/+5 | |
Instead of checking the compiler id inside the VisualStudioLikeCompiler class, this creates two subclasses that each represent the divergent behavior of the two compilers | |||||
2020-01-27 | Remove RTTI option from get_option_compile_args() for Elbrus compiler | makise-homura | 1 | -0/+13 | |
2020-01-27 | Fix missing 'defines' argumet for Elbrus compiler | makise-homura | 1 | -1/+1 | |
...But somehow it still remains in C++ compiler. | |||||
2020-01-08 | types: import typing as T (fixes #6333) | Daniel Mensinger | 1 | -4/+4 | |
2019-12-17 | Merge pull request #6065 from dcbaker/pass-options-to-linker-detection | Jussi Pakkanen | 1 | -2/+4 | |
Pass options to linker detection | |||||
2019-12-13 | compilers: make use of mlog.log_once | Dylan Baker | 1 | -1/+1 | |
I'm sure there are other places that could use this, but I didn't see any right off that bat. | |||||
2019-12-12 | compilers: Make get_display_language a class or static method | Dylan Baker | 1 | -1/+2 | |
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 | -1/+2 | |
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 | -2/+2 | |
2019-11-06 | Fix typos found by codespell | Wolfgang Stöggl | 1 | -1/+1 | |
- Typos were found by codespell v1.16.0 | |||||
2019-11-02 | Add option for controlling RTTI. | Jussi Pakkanen | 1 | -0/+15 | |
2019-11-02 | Pass explicit command line argument to disable exceptions with MSVC. | Jussi Pakkanen | 1 | -1/+3 | |
2019-10-18 | Refactor duplicate Emscripten code into a mixin | Andrei Alexeyev | 1 | -13/+2 | |
2019-10-15 | Fix emscripten C compiler initialization | Andrei Alexeyev | 1 | -3/+4 | |
2019-10-14 | Implement get_linker_output_args in Emscripten compilers | Andrei Alexeyev | 1 | -0/+3 | |
2019-10-14 | Implement get_allow_undefined_link_args in EmscriptenCPPCompiler | Andrei Alexeyev | 1 | -0/+3 | |
2019-10-07 | compilers: replace CompilerType with MachineInfo | Dylan Baker | 1 | -35/+61 | |
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-10-07 | compilers: Add a specific type for AppleClangC | Dylan Baker | 1 | -0/+5 | |
This allows us to detect use classes rather than methods to determine what C standards are available. | |||||
2019-08-14 | compilers: Dispatch to dynamic linker class | Dylan Baker | 1 | -16/+2 | |
Most of the cuda code is from Olexa Bilaniuk. Most of the PGI code is from Michael Hirsc | |||||
2019-08-14 | compilers: Make MSVClike compilers proxy extra keyword arguments | Dylan Baker | 1 | -6/+6 | |
2019-08-05 | Add basic Webassembly support via Emscripten. | Jussi Pakkanen | 1 | -1/+34 | |
2019-07-30 | PGI: cpp_pch precompiled headers functionality | Michael Hirsch, Ph.D | 1 | -1/+0 | |
* PGI C++ PCH enable PGI compilers support precompiled headers for C++ only. The common/13 pch test passes if run manually with no spaces in the build path. However, since Meson run_project_tests.py makes temporary build directories with spaces in each tests, PGI --pch_dir can't handle this and fails. So we skip the test for PGI despite it working for usual case with no-spaces in build dir. Note: it's fine to have spaces in full path for sourcedir, just no spaces in relative path to builddir. * doc | |||||
2019-07-15 | compilers: split pgi compiler out of compilers module | Dylan Baker | 1 | -1/+1 | |
2019-07-15 | compilers: put elbrus in mixins | Dylan Baker | 1 | -1/+1 | |
2019-07-15 | compilers: Put clang mixin in a module | Dylan Baker | 1 | -1/+1 | |
2019-07-15 | compilers: move ArmClang into mixins/arm.py | Dylan Baker | 1 | -2/+1 | |
2019-07-15 | compilers: Put Intel compiler classes into the mixins folder | Dylan Baker | 1 | -2/+1 | |
2019-07-15 | compilers: split gnu and gnulike compilers out of compilers | Dylan Baker | 1 | -1/+1 | |
I debated a bit whether both classes really belong in the same module, and decided that they do because the share a number of helpers. | |||||
2019-07-15 | compilers: Move the VisualStudioLikeCompiler class into mixins | Dylan Baker | 1 | -1/+1 | |
2019-07-15 | compilers: Move ArmCompiler to a mixin module | Dylan Baker | 1 | -1/+1 | |
2019-07-15 | compilers: move ccrx compiler abstraction into mixins | Dylan Baker | 1 | -1/+2 | |
2019-07-15 | compilers: Move clike into a mixins directory | Dylan Baker | 1 | -1/+1 | |
The compilers module is rather large and confusing, with spaghetti dependencies going every which way. I'm planning to start breaking out the internal representations into a mixins submodule, for things that shouldn't be required outside of the compilers module itself. | |||||
2019-07-14 | Do not fail on passing `-Werror=unused-parameter` from environment | David Seifert | 1 | -1/+1 | |
2019-07-08 | Add (v)c++latest to VC_VERSION_MAP | Robin Kertels | 1 | -0/+2 | |
2019-06-11 | compilers/cpp: Fix removal of name from Combo options for Armclang | sompen | 1 | -2/+1 | |