aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/swift.py
AgeCommit message (Collapse)AuthorFilesLines
2019-08-30compilers: Move the compiler argument to proxy linker flags to the compiler ↵Dylan Baker1-0/+3
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-14compilers: Dispatch to dynamic linker classDylan Baker1-12/+0
Most of the cuda code is from Olexa Bilaniuk. Most of the PGI code is from Michael Hirsc
2019-08-14compilers/swift: Pass extra args to the Compiler constructorDylan Baker1-2/+2
2019-06-09Purge `is_cross` and friends without changing user interfacesJohn Ericson1-9/+5
In most cases instead pass `for_machine`, the name of the relevant machines (what compilers target, what targets run on, etc). This allows us to use the cross code path in the native case, deduplicating the code. As one can see, environment got bigger as more information is kept structured there, while ninjabackend got a smaller. Overall a few amount of lines were added, but the hope is what's added is a lot simpler than what's removed.
2019-03-27Sanity check with external argsJohn Ericson1-2/+14
Previously cross, but not native, external args were used. Then in d451a4bd97f827bb492fd0c0e357cb20b6056ed9 the cross special cases were removed, so external args are never used. This commit switches that so they are always used. Sanity checking works just the same as compiler checks like has header / has library.
2019-02-15Remove get_cross_extra_flagsJohn Ericson1-2/+1
This is no longer needed, we just remove conditionals around it.
2019-01-06Added more compiler option supportDaniel Mensinger1-1/+1
2019-01-06Absolute path generation refactoringDaniel Mensinger1-0/+7
2019-01-06Added unit testDaniel Mensinger1-1/+1
2019-01-06Fixed list_target_files and list_targetsDaniel Mensinger1-1/+1
2018-08-18Convert buildtype to optimization and debug options (#3489)Jussi Pakkanen1-1/+15
2017-06-23Split out languages from compilers.pyAlistair Thomas1-0/+99