nia
246b49fe75
Support NetBSD aarch64 and earm.
5 years ago
James Hilliard
315ab997b4
Add tests for sources that are disablers.
...
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
Vedran Miletić
ab5bb8bcba
Add RxDock
5 years ago
Michael Hirsch, Ph.D
11e34ca7fc
correct logic for too old cmake
5 years ago
Daniel Mensinger
f097b96883
cmake: fix missing -lpthread ( fixes #5821 )
5 years ago
Dylan Baker
6864058b10
Fix type annotations in linkers for python < 3.5.4
...
Before python 3.5.4 typing didn't have the NoReturn type, use a string
to forward declare it.
aside: I can't wait to be able to use python 3.7's
__future__.annotations and not have to deal wit hthis anymore.
Fixes #5822
5 years ago
Jussi Pakkanen
3db6dcb3b8
Rerun configuration for all potential input files. Closes #5809 .
5 years ago
Jussi Pakkanen
1ea3ddc6ad
Merge pull request #5681 from dcbaker/dynamic-linker-split
...
split dynamic linker representations from compilers
5 years ago
Phillip Cao
0384487fc5
Fix CCRX linking external dependencies
5 years ago
Jakub Jermář
53289cb98c
Add HelenOS to Users.md
5 years ago
Jussi Pakkanen
80ef6fd69f
Pass optimization flags to rustc properly. Closes : #5788 .
5 years ago
Rachel Mant
f431cff809
Make .extract_objects() work correctly as an input to custom_target
5 years ago
Norbert Nemec
1cb6177f03
avoid cmake syntax error due to "\" path separators on windows
5 years ago
Jussi Pakkanen
a201499306
Only iterate over existing libdirs.
5 years ago
Thibault Saunier
edec2ee0ee
gnome: Handle overriden g-ir-scanner
...
When g-ir-scanner is overriden, we can't call it at configure time
but we know what options are avalaible (as it started using meson
after checked options where added) so do not try to call it to retrieve
the version as it will fail.
Also see https://github.com/mesonbuild/meson/issues/3442
5 years ago
Michael Hirsch, Ph.D
fd7e8c5400
expand tilde when looking up libraries -Dfoo=~/mylib
...
It is often desirable to use ~ for home directory in -D compilation args.
Why the transform to pathlib.Path and back to str? Because this is one of many
places where the list(map(str,..))) will be eliminated upon Python 3.6 being
minimum Meson Python requirement.
5 years ago
Dylan Baker
142012ab73
docs: add snippet for l_undef on apple
...
I didn't really mean to, but in splitting the linkers and compilers I
got this all working.
5 years ago
Dylan Baker
931a1b9187
docs: Add snippet for compiler linker split
5 years ago
Dylan Baker
c55285351a
Interpreter: identify the linker being used, if there is one
5 years ago
Dylan Baker
06dcbd50ee
compilers: Dispatch to dynamic linker class
...
Most of the cuda code is from Olexa Bilaniuk.
Most of the PGI code is from Michael Hirsc
5 years ago
Dylan Baker
2bd85c614a
unittests: Create a fake DynamicLinker when necessary
5 years ago
Dylan Baker
3fbb450166
environment: Detect dynamic linker class
5 years ago
Dylan Baker
38d588bc6e
compilers/mixins: Add a module for mixins for compilers that are linkers
...
This is currently meant to solve problems for D's DMD compiler, however
it may be useful in other cases.
5 years ago
Dylan Baker
4e74867f4b
linkers: Add DMDs optlink
5 years ago
Dylan Baker
1bb5d53b5a
linkers: Add SolarisDynamicLinker
...
A dynamic linker for solaris/opensolaris. This is still completely
untested and probably doesn't work.
5 years ago
Dylan Baker
c77414a20b
linkers: Add intel xilink
5 years ago
Dylan Baker
d9b6b5de31
linkers: Add MSVC like linkers
5 years ago
Michael Hirsch, Ph.D
7c5b25ce51
linkers: Add PGIDynamicLinker
5 years ago
Dylan Baker
cd134b78c0
linkers: Add the armclang dynamic linker
5 years ago
Dylan Baker
5ababa413c
linkers: Add ArmDynamicLinker class
...
Much of this code was written by Vasu Penugonda
5 years ago
Dylan Baker
686fd03af5
linkers: Add Ccrx Dynamic Linker
5 years ago
Dylan Baker
3406b315be
linkers: Add class for Intel Xild linker.
5 years ago
Dylan Baker
c0a1ec9346
linkers: Add the AppleDynamicLinker
5 years ago
Dylan Baker
43d47899f8
linkers: Add LLVM linker
5 years ago
Dylan Baker
d708b274a1
linkers: Add GNU linkers
5 years ago
Dylan Baker
b5b48f33bc
linkers: Add a PosixDynamicLinkerMixin
...
This is a mixin class for DynamicLinkers that aims to provide only the
most basic posix-like linker arguments, in other words bits that gnu ld,
apple's ld, solaris's ld, and other completely disjoint linkers that are
used on Unix-like OSes share.
5 years ago
Dylan Baker
6770af4d36
linkers: Add a Dynamiclinker base class
...
This class defines a few basics, and sets up the other methods that a
linker needs to implement.
5 years ago
Dylan Baker
b0f4ee2f94
compilers/rust: Proxy extra kwargs to Compiler.__init__
5 years ago
Dylan Baker
18b1bf9292
compilers: Make MSVClike compilers proxy extra keyword arguments
5 years ago
Dylan Baker
16e04a9bde
compilers/fortran: Make ifort (windows) proxy extra args to Compiler
5 years ago
Dylan Baker
61255eca16
compilers/cuda: pass through extra kwargs
5 years ago
Dylan Baker
1f66e6708b
compilers/swift: Pass extra args to the Compiler constructor
5 years ago
Dylan Baker
b5c76a6c02
compilers/fortran: fix ifort (linux, mac) dependency generation
...
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.
5 years ago
Dylan Baker
29f351c05a
environment: Handle OBJC[PP] clang detection like C[PP]
...
Which fixes using a non Apple clang for objc and objc++ on macOS.
5 years ago
Dylan Baker
e7db288e19
compilers/objc[pp]: Pass extra keyword arguments to Compiler constructor
5 years ago
Dylan Baker
1c455ee630
environment: Use a single function to check for ObjC and ObjC++
...
These two functions are different only in the classes that they use, a
couple of simple in-line ternaries takes care of that and reduces code
duplication.
5 years ago
Dylan Baker
499c44dc77
compilers/cuda: don't use re for replacement
...
Even with the check (for extra safety) string.replace is more than twice
as fast.
5 years ago
Dylan Baker
9b3a1fabc5
unittests: add b_lundef=false to address sanitizer test
...
Clang doesn't really like having no-undefined plus the address sanitizer, but
gcc doesn't mind. This all happens to work with clang + gnu ld, but with clang
+ apple ld this turns into a dumpster fire. Just add b_lundef=false to make
everyone happy.
5 years ago
Michael Hirsch, Ph.D
f5f7a7bbb3
compilers/mixins/pgi: simplify pic logic
5 years ago
Michael Hirsch, Ph.D
571deb5f9e
tests/153: skip with PGI as macros are unique
5 years ago