Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-01-28 | compilers: Split ClangCL and MSVC mixins | Dylan Baker | 1 | -26/+65 | |
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 | Fix Sider errors | makise-homura | 1 | -1/+1 | |
2020-01-27 | Add missing functions to Elbrus compiler class | makise-homura | 1 | -0/+11 | |
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 | 11 | -209/+209 | |
2019-12-17 | Merge pull request #6065 from dcbaker/pass-options-to-linker-detection | Jussi Pakkanen | 1 | -0/+2 | |
Pass options to linker detection | |||||
2019-12-15 | default inc dirs: Fix warning on MSYS (fixes #6336) | Daniel Mensinger | 1 | -5/+8 | |
2019-12-14 | intel/intel-cl: handle arguments in intel-specific way | Michael Hirsch, Ph.D | 1 | -20/+38 | |
intel compiler's defaults are different enough from MSVC and GNU that it's necessary to set specific defaults for Intel compilers. This corrects/improves behaviors initially addressed in b1c8f765fa6e2a | |||||
2019-12-12 | Consider compiler arguments in linker detection logic | Dylan Baker | 1 | -0/+2 | |
If a user passes -fuse-ld=gold to gcc or clang, they expect that they'll get ld.gold, not whatever the default is. Meson currently doesn't do that, because it doesn't pass these arguments to the linker detection logic. This patch fixes that. Another case that this is needed is with clang's --target option This is a bad solution, honestly, and it would be better to use $LD or a cross/native file but this is needed for backwards compatability. Fixes #6057 | |||||
2019-12-11 | Merge pull request #6207 from dcbaker/linker-option | Jussi Pakkanen | 2 | -0/+8 | |
Add a way to select the dynamic linker meson uses | |||||
2019-12-05 | lgtm: fix Multiple calls to __init__ | Daniel Mensinger | 1 | -3/+3 | |
Some slight refactoring for the dependency classes and I switched the elbrus compiler to the GnuLikeCompiler. This is also the correct use according to the documentation of GnuLikeCompiler. | |||||
2019-12-05 | lgtm: Fix redundant code | Daniel Mensinger | 1 | -1/+0 | |
2019-12-05 | lgtm: fix missing raise | Daniel Mensinger | 1 | -1/+1 | |
2019-12-04 | intel/intel-cl: use appropriate buildtype options | Michael Hirsch, Ph.D | 1 | -4/+39 | |
This puts appropriate default options across buildtype for Intel and Intel-Cl compilers, for C, C++ and Fortran. Prior to this PR, the behavior of Intel compilers vs. GNUlike was not the same, in particular, debug traceback available by default for GNUlike compilers was not present with Intel compilers. | |||||
2019-12-02 | Allow selecting the dynamic linker | Dylan Baker | 2 | -0/+8 | |
This uses the normal meson mechanisms, an LD environment variable or via cross/native files. Fixes: #6057 | |||||
2019-11-21 | Fix compute_int() when the value is -1 | Xavier Claessens | 1 | -1/+1 | |
2019-11-18 | Use strict function prototypes | Michael Hirsch, Ph.D | 1 | -19/+19 | |
2019-11-06 | Fix typos found by codespell | Wolfgang Stöggl | 2 | -2/+2 | |
- Typos were found by codespell v1.16.0 | |||||
2019-10-29 | MSVC: support -LIBPATH | Aleksey Gurtovoy | 1 | -2/+4 | |
Fixes #6101 (with a test), following up #5881 | |||||
2019-10-20 | Fix all flake8 warnings | Daniel Mensinger | 2 | -2/+1 | |
2019-10-19 | Fix according to deprecation of usage of non-standard escape sequences | makise-homura | 1 | -1/+1 | |
2019-10-19 | Add a proper way to get include dirs for elbrus compiler | makise-homura | 1 | -0/+13 | |
2019-10-19 | Make search of library dirs correct | makise-homura | 1 | -2/+2 | |
2019-10-18 | default inc dirs: fix warning for unsupporte lang (fixes #6050) | Daniel Mensinger | 1 | -2/+9 | |
2019-10-18 | emscripten: fix false positives in linking tests | Andrei Alexeyev | 1 | -0/+13 | |
2019-10-18 | Refactor duplicate Emscripten code into a mixin | Andrei Alexeyev | 1 | -0/+33 | |
2019-10-14 | Implement get_buildtype_linker_args in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 1 | -0/+3 | |
2019-10-14 | Implement get_asneeded_args in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 1 | -0/+3 | |
2019-10-14 | Implement get_linker_debug_crt_args in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 1 | -0/+3 | |
2019-10-14 | Fix misnamed method in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 1 | -1/+1 | |
get_allow_undefined_link_args is the compiler method get_allow_undefined_args is the linker method | |||||
2019-10-09 | Fix for issue 5355 | Michael Lenczewski | 1 | -0/+12 | |
compiler.get_supported_arguments reports success for certain unsupported flags when using the gnu C/ObjC, C++/ObjC++ compilers. This fix reads the stderr on the has_arguments check to ensure the arguments really are supported and not valid for the language selection | |||||
2019-10-07 | compilers: replace CompilerType with MachineInfo | Dylan Baker | 7 | -38/+27 | |
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-03 | cache all gnulike_default_include_dirs invocations | Daniel Mensinger | 1 | -5/+4 | |
2019-10-03 | Handle -idirafter in unix_args_to_native | Daniel Mensinger | 1 | -0/+12 | |
2019-09-27 | Correctly handle platform-specific LDFLAGS options | Aleksey Gurtovoy | 1 | -0/+12 | |
2019-09-24 | CUDA support on Windows | Aleksey Gurtovoy | 1 | -0/+6 | |
2019-09-23 | mesonbuild: fix exception name. | Jehan | 1 | -1/+1 | |
CrossNoRunException is in compilers module, not mesonlib. | |||||
2019-09-05 | Merge pull request #5823 from scivision/linker-pgi-linux | Jussi Pakkanen | 1 | -1/+5 | |
PGI compiler fixes | |||||
2019-09-05 | mesonlib.split_args/quote_arg/join_args | Aleksey Gurtovoy | 1 | -2/+1 | |
2019-09-05 | PGI cannot accept -pthread | Michael Hirsch, Ph.D | 1 | -0/+4 | |
2019-09-05 | PGI: use ar link wrapper on Windows | Michael Hirsch, Ph.D | 1 | -1/+1 | |
2019-08-30 | compilers: Move the compiler argument to proxy linker flags to the compiler ↵ | Dylan Baker | 1 | -0/+4 | |
class Instead of the DynamicLinker returning a hardcoded value like `-Wl,-foo`, it now is passed a value that could be '-Wl,', or could be something '-Xlinker=' This makes a few things cleaner, and will make it possible to fix using clang (not clang-cl) on windows, where it invokes either link.exe or lld-link.exe instead of a gnu-ld compatible linker. | |||||
2019-08-28 | Fix gcc include dot | Dylan Baker | 1 | -0/+2 | |
2019-08-20 | Merge pull request #5681 from dcbaker/dynamic-linker-split | Jussi Pakkanen | 8 | -373/+153 | |
split dynamic linker representations from compilers | |||||
2019-08-20 | Fix CCRX linking external dependencies | Phillip Cao | 1 | -0/+2 | |
2019-08-14 | compilers: Dispatch to dynamic linker class | Dylan Baker | 7 | -370/+26 | |
Most of the cuda code is from Olexa Bilaniuk. Most of the PGI code is from Michael Hirsc | |||||
2019-08-14 | compilers/mixins: Add a module for mixins for compilers that are linkers | Dylan Baker | 1 | -0/+124 | |
This is currently meant to solve problems for D's DMD compiler, however it may be useful in other cases. | |||||
2019-08-14 | compilers/mixins/pgi: simplify pic logic | Michael Hirsch, Ph.D | 1 | -3/+3 | |
2019-08-02 | Make ARM compilers work on Linux. | Jussi Pakkanen | 1 | -2/+2 | |
2019-07-30 | default libtype to static to allow windows compilers to not skip | Michael Hirsch, Ph.D | 1 | -3/+5 | |
To make Fortran tests useful on Windows, the library_type should default to static, unless needed to specifically test shared. Shared Fortran libs on Windows for non-Gfortran compilers is fragile requiring proprietary code syntax. |