aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
AgeCommit message (Collapse)AuthorFilesLines
2021-07-21msubprojects: catch exceptions and continue with othersXavier Claessens1-1/+5
If the command fails for one subproject we should still continue with others. Failed subprojects are reported at the end. This issue became more problematic when doing parallel tasks because the reason the command fails was completely hidden by other parallel tasks.
2021-07-21Fix meson.version().version_compare() regression in subprojectXavier Claessens4-4/+4
2021-07-18Cuda: Fix linking with shared versioned internal libsDavid Seifert1-2/+6
2021-07-18Cuda: Enable PGODavid Seifert1-0/+6
2021-07-18Cuda: Filter -isystem with system pathsDavid Seifert1-12/+19
2021-07-18Cuda: Pass -DNDEBUG throughDavid Seifert1-0/+3
2021-07-18Merge pull request #8953 from dcbaker/submit/interpreter-easy-typingJussi Pakkanen2-104/+74
Do some of the easy type checking of in the interpreter
2021-07-18gnome: Always pass absolute -L paths to g-ir-scannerNirbheek Chauhan1-2/+6
g-ir-scanner does not convert relative -L paths to runtime paths which are added to -Wl,-rpath and LD_LIBRARY_PATH / DYLD_LIBRARY_PATH / PATH. This means that the local library will either not be found at runtime (while building introspection data), or the system-wide library will be picked instead. See: giscanner/ccompiler.py:get_internal_link_flags() in gobject-introspection for more details.
2021-07-18Bump version number for new development.Jussi Pakkanen1-1/+1
2021-07-18Merge pull request #8972 from bonzini/C-symlinkJussi Pakkanen6-15/+27
resolve symlinks passed to -C
2021-07-18Merge pull request #8996 from bonzini/fix8746Jussi Pakkanen6-41/+23
Do not add SONAME to shared modules
2021-07-18Set up the 0.59.0 release.0.59.0Jussi Pakkanen1-1/+1
2021-07-17Update linkers.pyIan Harvey1-0/+6
Add /subsystem:xxx to xilink command line, either as specified in the build settings or as "console" by default.
2021-07-14linkers: remove is_shared_module argument to get_soname_argsPaolo Bonzini6-36/+19
The argument is now unused, drop it.
2021-07-14do not add SONAME to shared modulesPaolo Bonzini2-7/+6
For an ELF targets, shared_module() builds a module with SONAME field (using -Wl,-soname argument). This is wrong: only the shared_library() needs SONAME, while shared_module() does not. Moreover, tools such as debian's dpkg-shlibdeps use presence of SONAME field as an indicator that this is shared library as opposed to shared module (e.g., for the module it is okay to have unresolved symbols which are imported from the executable which loads the module, while a library should have all symbols resolved). This was in fact already the behavior on Darwin; extend it to ELF targets as well. Fixes: #8746 Reported-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-07-13modules/python: fix up a few simply typing warnings/errorsDylan Baker1-8/+24
These were spotted by mypy and pyright. One is a string where a Path is expected, another other is a possibly unbound variable, and the third is bound but unused variables.
2021-07-13dependencies: drop Dependency.methods and Dependency.get_methods()Dylan Baker10-121/+5
Both of these are artifacts of the time before Dependency Factories, when a dependency that could be discovered multiple ways did ugly stuff like finding a specific dependency, then replacing it's own attributes with that dependency's attributes. We don't have cases of that left in the tree, so let's get rid of this code too
2021-07-13modules/python: Allow trying a macos framework as well other methodsDylan Baker1-2/+18
2021-07-13modules/python: make some internal helpers protectedDylan Baker1-4/+4
2021-07-13modules/pkgconfig: remove handling of .pcdepDylan Baker1-11/+1
Nothing uses this anymore, so don't check for it.
2021-07-13modules/python: use factory for dependencyDylan Baker1-90/+83
This removes the odd 'pkgdep' attribute thing, and makes it behave more like a proper dependency
2021-07-13modules/python: simplify a number of interfacesDylan Baker2-36/+33
Including not calling back into `Interpreter.func_*`, which is not a good idea both from a type saftey and perforamance point of view. Instead there's now a shared _impl method
2021-07-13modules/python: use typed_pos_argsDylan Baker1-10/+15
And note that the way that find_installation works is completely broken in regards to machine files
2021-07-13modules/python: Add type annotationsDylan Baker1-80/+96
There's still a number of things that don't properly type check, that's expected though as the input is often unvalidated and assumed good.
2021-07-13modules/python: sort importsDylan Baker1-8/+9
2021-07-13Clang: Apply `-O0`Pamplemousse1-1/+1
Fix #8986
2021-07-12Update version number for rc2.0.59.0.rc2Jussi Pakkanen1-1/+1
2021-07-10fix: Fix recursive _unholder permissive kwarg (fixes #8977)Daniel Mensinger1-2/+2
2021-07-07interpreter: remove stringArgs usesDylan Baker1-2/+1
It's only used now on a files that always raises an exception anyway, might as well just not do any checking and reduces the uses of that function
2021-07-07interpreter: use typed_pos_args for filesDylan Baker1-17/+11
2021-07-07interpreter: use typed_pos_args for add_langaugesDylan Baker1-6/+7
2021-07-07interpreter: use typed_pos_args for projectDylan Baker1-5/+3
2021-07-07interpreter: use typed_pos_args for subdirDylan Baker1-2/+2
2021-07-07interpreter: use typed_pos_args for assertDylan Baker1-12/+6
2021-07-07interpreter: use typed_pos_args for subprojectDylan Baker1-4/+2
2021-07-07interpreter: use typed_pos_args for get_optionDylan Baker1-4/+3
2021-07-07interpreter: use typed_pos_args configuration_dataDylan Baker1-6/+3
2021-07-07interpreter: use typed_pos_args for alias_targetDylan Baker1-10/+4
2021-07-07interpreter: use typed_kwargs for include_directoriesDylan Baker2-3/+8
2021-07-07interpreter: use typed_pos_args for include_directoriesDylan Baker1-3/+4
2021-07-07interpreter: use typed_pos_args for add_test_setupDylan Baker1-4/+2
2021-07-07interpreter: use typed_pos_args for join_pathsDylan Baker1-3/+3
2021-07-07interpreter: use typed_pos_args for set_variableDylan Baker1-3/+2
2021-07-07interpreter: use typed_pos_args for get_variableDylan Baker1-12/+9
2021-07-07interpreter: use typed_pos_args for is_variableDylan Baker1-6/+3
2021-07-07interpreter: use typed_pos_args for is_disablerDylan Baker1-5/+4
2021-07-07cleanup self.options.wdPaolo Bonzini3-6/+2
It is never None and always an absolute path
2021-07-07resolve symlinks passed to -CPaolo Bonzini6-9/+25
"meson setup" is resolving symlinks for the build directory in validate_core_dirs. For consistency with it, do the same when the build directory is passed via -C to devenv, dist, init, install and test. This ensures for example that the path to test dependencies is computed correctly in "meson test". Fixes: #8765
2021-07-07windows: Support wrc resource compilerConnor Abbott1-1/+6
It has a similar interface to windres, but it produces ELF instead of COFF binaries. It uses its own preprocessor which doesn't support creating depfiles, but we can convince it to use the system preprocessor instead and pass those arguments using the --preprocessor option. Together with some hacks to override the shared library/executable suffix and some wine patches [1] this is enough to compile dxvk when ripping out the hand-rolled rc support. [1] https://www.winehq.org/pipermail/wine-devel/2021-July/190100.html https://www.winehq.org/pipermail/wine-devel/2021-July/190098.html https://www.winehq.org/pipermail/wine-devel/2021-July/190099.html https://www.winehq.org/pipermail/wine-devel/2021-July/190101.html
2021-07-06Fix unsupported linker error messageAndrea Pappacoda1-1/+1
An `f` was dropped in bd6f46e723813dfadaba1f7c87d3b0b751d05219