| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Refactor duplicate Emscripten code into a mixin | Andrei Alexeyev | 2019-10-18 | 3 | -26/+37 | |
| | | ||||||
| * | Fix emscripten C compiler initialization | Andrei Alexeyev | 2019-10-15 | 2 | -6/+8 | |
| | | ||||||
| * | Workaround broken get_allow_undefined_link_args in DmdLikeCompilerMixin | Andrei Alexeyev | 2019-10-14 | 1 | -0/+3 | |
| | | | | | | Previously it worked by accident because BasicLinkerIsCompilerMixin had that method misspelled. | |||||
| * | Revert "Remove BasicLinkerIsCompilerMixin from LDC and DMD" | Andrei Alexeyev | 2019-10-14 | 1 | -2/+2 | |
| | | | | | This reverts commit 04d6a439457d76b9cf4c4f98fce238219366e241. | |||||
| * | Remove BasicLinkerIsCompilerMixin from LDC and DMD | Andrei Alexeyev | 2019-10-14 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | These compilers invoke external linkers and have the appropriate .linker property set. Therefore, BasicLinkerIsCompilerMixin appears to be misplaced. It used to work by chance, because BasicLinkerIsCompilerMixin failed to override the get_allow_undefined_link_args method. The D compilers do not provide their own get_allow_undefined_link_args, because they expect to inherit it from Compiler, which simply delegates it to the linker. Now that BasicLinkerIsCompilerMixin correctly overrides that method with a stub, it broke compilers that relied on the buggy behavior. | |||||
| * | Implement get_linker_output_args in Emscripten compilers | Andrei Alexeyev | 2019-10-14 | 2 | -0/+6 | |
| | | ||||||
| * | Implement get_buildtype_linker_args in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 2019-10-14 | 1 | -0/+3 | |
| | | ||||||
| * | Implement get_asneeded_args in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 2019-10-14 | 1 | -0/+3 | |
| | | ||||||
| * | Implement get_allow_undefined_link_args in EmscriptenCPPCompiler | Andrei Alexeyev | 2019-10-14 | 1 | -0/+3 | |
| | | ||||||
| * | Implement get_allow_undefined_link_args in EmscriptenCCompiler | Andrei Alexeyev | 2019-10-14 | 1 | -0/+4 | |
| | | ||||||
| * | Implement get_linker_debug_crt_args in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 2019-10-14 | 1 | -0/+3 | |
| | | ||||||
| * | Fix misnamed method in BasicLinkerIsCompilerMixin | Andrei Alexeyev | 2019-10-14 | 1 | -1/+1 | |
| | | | | | | get_allow_undefined_link_args is the compiler method get_allow_undefined_args is the linker method | |||||
| * | compilers: Fix version requirements for ClangC and AppleClangC | Ting-Wei Lan | 2019-10-11 | 1 | -4/+4 | |
| | | | | | | | Commit ff4a17dbef08a1d8afd075f57dbab0f5c76951ab modified the version requirements wrongly. AppleClangC should be the one with higher version numbers. Exchange them to fix the check. | |||||
| * | intel-cl: correct argument order | Michael Hirsch, Ph.D | 2019-10-10 | 1 | -2/+2 | |
| | | ||||||
| * | Fix for issue 5355 | Michael Lenczewski | 2019-10-09 | 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 | |||||
| * | compilers: replace uses of mesonlib.is_<os>() with self.info.is_<os>() | Dylan Baker | 2019-10-07 | 2 | -23/+19 | |
| | | | | | Since these are cross compilation safe, while the former is not. | |||||
| * | compilers: replace CompilerType with MachineInfo | Dylan Baker | 2019-10-07 | 21 | -231/+330 | |
| | | | | | | | 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 | |||||
| * | compilers: Add a specific type for AppleClangC | Dylan Baker | 2019-10-07 | 3 | -4/+27 | |
| | | | | | | This allows us to detect use classes rather than methods to determine what C standards are available. | |||||
| * | Merge pull request #5953 from mensinda/isystem | Jussi Pakkanen | 2019-10-06 | 4 | -7/+41 | |
| |\ | | | | | Add is_system to dependency | |||||
| | * | cache all gnulike_default_include_dirs invocations | Daniel Mensinger | 2019-10-03 | 1 | -5/+4 | |
| | | | ||||||
| | * | Use -isystem instead of -idirafter | Daniel Mensinger | 2019-10-03 | 1 | -1/+17 | |
| | | | ||||||
| | * | Handle -idirafter in unix_args_to_native | Daniel Mensinger | 2019-10-03 | 2 | -1/+20 | |
| | | | ||||||
| * | | cmake: fix detection of libraries with .so version | Daniel Mensinger | 2019-10-03 | 1 | -1/+1 | |
| |/ | ||||||
| * | Correctly handle platform-specific LDFLAGS options | Aleksey Gurtovoy | 2019-09-27 | 2 | -0/+17 | |
| | | ||||||
| * | CUDA support on Windows | Aleksey Gurtovoy | 2019-09-24 | 3 | -20/+118 | |
| | | ||||||
| * | mesonbuild: fix exception name. | Jehan | 2019-09-23 | 1 | -1/+1 | |
| | | | | | CrossNoRunException is in compilers module, not mesonlib. | |||||
| * | the solaris linker also needs start/end-group for circular linking | Dylan Baker | 2019-09-09 | 1 | -2/+2 | |
| | | ||||||
| * | fix objc freestanding sanitycheck | Nguyen, Giang (G. Yakiro) | 2019-09-08 | 1 | -1/+1 | |
| | | ||||||
| * | Merge pull request #5823 from scivision/linker-pgi-linux | Jussi Pakkanen | 2019-09-05 | 1 | -1/+5 | |
| |\ | | | | | PGI compiler fixes | |||||
| | * | PGI cannot accept -pthread | Michael Hirsch, Ph.D | 2019-09-05 | 1 | -0/+4 | |
| | | | ||||||
| | * | PGI: use ar link wrapper on Windows | Michael Hirsch, Ph.D | 2019-09-05 | 1 | -1/+1 | |
| | | | ||||||
| * | | mesonlib.split_args/quote_arg/join_args | Aleksey Gurtovoy | 2019-09-05 | 2 | -9/+8 | |
| |/ | ||||||
| * | Create CUDA linker with CUDA compiler | Kramer Peace | 2019-09-05 | 1 | -6/+2 | |
| | | | | | | Since they are laways paired there is no need to "search" for the cuda linker. | |||||
| * | Add a CUDA linker object | Kramer Peace | 2019-09-05 | 1 | -1/+5 | |
| | | | | | Fixes issue #5870 | |||||
| * | compilers: Move the compiler argument to proxy linker flags to the compiler ↵ | Dylan Baker | 2019-08-30 | 6 | -11/+26 | |
| | | | | | | | | | | | | | 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. | |||||
| * | Fix gcc include dot | Dylan Baker | 2019-08-28 | 1 | -0/+2 | |
| | | ||||||
| * | Merge pull request #5681 from dcbaker/dynamic-linker-split | Jussi Pakkanen | 2019-08-20 | 21 | -835/+533 | |
| |\ | | | | | split dynamic linker representations from compilers | |||||
| | * | compilers: Dispatch to dynamic linker class | Dylan Baker | 2019-08-14 | 18 | -686/+273 | |
| | | | | | | | | | | | Most of the cuda code is from Olexa Bilaniuk. Most of the PGI code is from Michael Hirsc | |||||
| | * | compilers/mixins: Add a module for mixins for compilers that are linkers | Dylan Baker | 2019-08-14 | 1 | -0/+124 | |
| | | | | | | | | | | | This is currently meant to solve problems for D's DMD compiler, however it may be useful in other cases. | |||||
| | * | compilers/rust: Proxy extra kwargs to Compiler.__init__ | Dylan Baker | 2019-08-14 | 1 | -2/+2 | |
| | | | ||||||
| | * | compilers: Make MSVClike compilers proxy extra keyword arguments | Dylan Baker | 2019-08-14 | 2 | -12/+12 | |
| | | | ||||||
| | * | compilers/fortran: Make ifort (windows) proxy extra args to Compiler | Dylan Baker | 2019-08-14 | 1 | -2/+2 | |
| | | | ||||||
| | * | compilers/cuda: pass through extra kwargs | Dylan Baker | 2019-08-14 | 1 | -2/+2 | |
| | | | ||||||
| | * | compilers/swift: Pass extra args to the Compiler constructor | Dylan Baker | 2019-08-14 | 1 | -2/+2 | |
| | | | ||||||
| | * | compilers/fortran: fix ifort (linux, mac) dependency generation | Dylan Baker | 2019-08-14 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | Ifort can generate dependency information (.d files), it just does it differently than GNU compilers do. This also fixes a bug caused by adding the dependency generation commands to the GNULike class later in this series. | |||||
| | * | compilers/objc[pp]: Pass extra keyword arguments to Compiler constructor | Dylan Baker | 2019-08-14 | 2 | -12/+12 | |
| | | | ||||||
| | * | compilers/cuda: don't use re for replacement | Dylan Baker | 2019-08-14 | 1 | -3/+2 | |
| | | | | | | | | | | | Even with the check (for extra safety) string.replace is more than twice as fast. | |||||
| | * | compilers/mixins/pgi: simplify pic logic | Michael Hirsch, Ph.D | 2019-08-14 | 1 | -3/+3 | |
| | | | ||||||
| | * | re-architect the D compiler abstractions | Dylan Baker | 2019-08-14 | 1 | -215/+197 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We support 3 D compilers, DMD, LDC, and GDC. DMD is the reference compiler, and LDC attempts to largely mirror it's command line usage. GDC does not, it instead acts like GCC (which makes sense). The current abstraction puts DMD behavior in the base D compiler and then overrides then in the GnuDCompiler class. This is messy, but it becomes more problematic when splitting the linker and compiler abstractions apart. I've opted to instead split the DCompiler class into two separate classes. The DCompiler implements core D functinoality, and DmdLikeCompilerMixin, which implements the DMD and LDC command line arguments. I've then mxed that into the DmdDCompiler and LLVMDCompiler classes, and mixed the GnuCompiler into the GnuDCompiler class to get Gnu command line behavior. | |||||
| * | | Fix CCRX linking external dependencies | Phillip Cao | 2019-08-20 | 1 | -0/+2 | |
| | | | ||||||
