Commit Graph

10778 Commits

Author SHA1 Message Date
Jussi Pakkanen e75e3976fa Condense test directory names. 2021-04-26 23:39:15 +01:00
Olexa Bilaniuk 53fe7c2f0a Update CUDA Toolkit driver version table. 2021-04-26 23:34:40 +01:00
Jussi Pakkanen 8de47b688a
Merge pull request #8680 from dcbaker/submit/wrap-mconf-output
Wrap mconf output
2021-04-26 21:04:16 +01:00
Tristan Partin cc54284885
Fix issue where multiple dist files were not being produced for comma separated formats value 2021-04-26 17:13:13 +01:00
Jason Francis 39c751b94c introspection: export all sources for custom targets
Also adds some test cases for source files in target_sources.
2021-04-26 17:08:26 +01:00
Tristan Partin bb12587e0b Add subprojects purge wrap-git coverage 2021-04-26 12:06:12 -04:00
Dylan Baker d4e867809b store the list of initializes subprojects in the coredata structure
We need to konw on rconfigure which options have already bee set not
just for the super project, but also for the subproject. However, using
first_invocation is not sufficient, as a reconfigure could add a new
subpproject that wasn't present before, and we need to initialize that
project's builtins.
2021-04-26 17:05:44 +01:00
Xavier Claessens 3af39a463b Interpreter: Fallback when required is false but forcefallback is true 2021-04-26 17:04:57 +01:00
Tristan Partin b6d277c140 Add 'subprojects purge' command
This will help facilitate cache busting in certain situations, and
replaces hand-rolled solutions of writing a length command to remove
various files/folders within the subprojects directory.
2021-04-26 16:42:29 +03:00
Jussi Pakkanen a10a6284d2 Merge if and else tests to a single project. 2021-04-26 02:08:51 +03:00
Jussi Pakkanen 1a31882f59 Xcode: make Swift projects work. 2021-04-25 15:35:13 +03:00
Jussi Pakkanen 1cd80985b4 Xcode: add objective C++ flags to plain C++ because Xcode requires it. 2021-04-25 15:35:13 +03:00
Jussi Pakkanen 0e4c358f35 Xcode: add objective C flags to plain C because Xcode requires it. 2021-04-25 15:35:13 +03:00
Jussi Pakkanen 8f2155f4f7 Xcode: some more skips. 2021-04-24 19:41:27 +03:00
Jussi Pakkanen aa2a153afb Xcode: fix linking to customtargetindex objects. 2021-04-24 19:41:27 +03:00
Jussi Pakkanen 3e3e81ccf0 Xcode: one more skip. 2021-04-23 23:03:26 +03:00
Jussi Pakkanen e80a13af73 Xcode: do not reuse objs in both_libraries because Xcode fails on targets with no sources. 2021-04-23 23:03:26 +03:00
Jussi Pakkanen 10197aa9d1 Xcode: a few more skips. 2021-04-23 23:03:26 +03:00
Jussi Pakkanen 22d0e6dd55 Xcode: even more command line argument expansion. 2021-04-23 23:03:26 +03:00
Jussi Pakkanen 0785ec3317 Xcode: Quote McQuoteface. 2021-04-23 23:03:26 +03:00
Jussi Pakkanen ee2363dbb7 Xcode: handle CustomTargetIndexes. 2021-04-23 17:29:29 +03:00
Jussi Pakkanen a2fd31f6c6 Xcode: skip one more object extraction test. 2021-04-23 17:29:29 +03:00
Jussi Pakkanen 2a341dd4ec Xcode: ever more quoting. 2021-04-23 17:29:29 +03:00
Jussi Pakkanen 7fba94997f Xcode: only add source and build dirs if implicit_include_directories is set. 2021-04-23 17:29:29 +03:00
Dan fde305e359 Add trailing -- parameter to git checkouts. 2021-04-22 16:23:48 -04:00
Jussi Pakkanen bff85e2a6c Xcode: do not link shared modules against executables. 2021-04-22 16:53:43 +03:00
Jussi Pakkanen 40fb466513 Xcode: add missing quote character. 2021-04-22 16:53:43 +03:00
Jussi Pakkanen 965f7e18fa Xcode: fix shell quotings. 2021-04-22 16:53:43 +03:00
Jussi Pakkanen b9b00c714e Xcode: use native path naming scheme. 2021-04-22 16:53:43 +03:00
Jussi Pakkanen 4881c2cf98 Xcode: skip link language override test. 2021-04-22 16:53:43 +03:00
Jussi Pakkanen 59e8962c25 Xcode: one more whole-archive skip. 2021-04-21 17:16:01 +03:00
Jussi Pakkanen 674538d8c9 Xcode: put all include dirs via a property rather than a cmd line arg. 2021-04-21 17:16:01 +03:00
Jussi Pakkanen b42a5e21d0 Xcode: add target private dir to include path. 2021-04-21 17:16:01 +03:00
Jussi Pakkanen 3f99830f74 Xcode: quote some entries as needed. 2021-04-21 17:16:01 +03:00
Dylan Baker d3003ebb41 mconf: line wrap columns nicely
I've picked 160 characters as a default because anything less than that
looks terrible and has awful wrapping going on. However, this respects
the $COLUNNS environment variable if set, and otherwise will query the
terminal to determine the size.

This is all achieved through an application of shtuil.get_terminal_size,
textwrap, print formatters, and iteration.

Fixes #6965
2021-04-20 20:14:33 -07:00
Dylan Baker 8fa7f3a9c3 mconf: print core options for subprojects
Looking in the right dictionary is pretty useful, actually.
2021-04-20 17:43:24 -04:00
Dylan Baker cd8c334788 mconf: cleanup up and sort imports 2021-04-20 13:38:13 -07:00
Dylan Baker 10c19e1206 mconf: print core options for subprojects
Looking in the right dictionary is pretty useful, actually.
2021-04-20 13:25:08 -07:00
Dylan Baker e308f116cb dependencies/OpenMP: If the version returned is not supported fail gracefully
Currently if the version returned is not a supported version, then you
get a lovely stack trace. This is not nice. This can be triggered easily
by adding gcc's `-fdirectives-only` flag, which stops the preprocessor
from doing certain macro expansions, including those used to detect
OpenMP.

Fixes #8652
2021-04-20 17:56:04 +03:00
Jussi Pakkanen d116d94f92 Xcode: fix file objects in various places. 2021-04-20 17:23:50 +03:00
Jussi Pakkanen 07117c4225 Xcode: skip all-object library test. 2021-04-20 17:23:50 +03:00
Jussi Pakkanen 7803405128 Xcode: fix compiling shared modules. 2021-04-20 17:23:50 +03:00
Jussi Pakkanen 6f76fce904 Xcode: regenerato project file when build conf changes. 2021-04-19 17:59:40 +03:00
Jussi Pakkanen 045893bb18 Xcode: disable asm and LLVM ir projects. 2021-04-19 17:59:40 +03:00
Jussi Pakkanen 8943945efe Xcode: replace all backslashes with eight backslashes. Because obviously. 2021-04-19 17:59:40 +03:00
Xavier Claessens 3c64ecaf86 pkgconfig: Add support for CustomTarget objects in generator
Fixes: #8618.
2021-04-19 17:57:34 +03:00
Xavier Claessens 8f6ad8e52e pkgconfig: Fix broken paths in -uninstalled.pc on Windows
Fixes: #8668
2021-04-18 22:17:21 +03:00
Jussi Pakkanen 68dda2a241 Xcode: fix generators that take custom targets as inputs. 2021-04-18 19:19:29 +03:00
Jussi Pakkanen e422e9c634 Xcode: add proper target dependencies to custom targets. 2021-04-18 19:19:29 +03:00
Jussi Pakkanen 126db6de12 Xcode: fix running commands that lie in the build root dir. 2021-04-18 19:19:29 +03:00