| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
The bundled python is deprecated, metal is unlikely to be deprecated any
time soon, so let's use that.
|
|
|
|
|
|
|
| |
This tries to link the system provided python, which is deprecated and
will result in an ambiguous error like "your binary is not an allowed
client of .../Library/Frameworks/python.framework/python.tbd for
architecture x86_64".
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Depending on whether hdf5 is compiled with parallel support, the
same config-tool program may be installed with a mysterious "p" in the
name. In this case, dependency lookup will totally fail, unless of
course you use the superior pkg-config interface in which case you get a
predictable name.
Work around this insanity by checking for both types of config-tool
name.
Fixes #9555
|
|
|
|
|
|
|
| |
When input kwarg is missing in i18n.merge_file() it was crashing with a
backtrace because of kwargs['input'][0]. That code was useless anyway
because CustomTarget now uses first output as default name which is what
we need here.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
While the horizontal line and the other pictograms in mtest have an ASCII-only
version, the spinner does not. This causes mtest to fail with a
UnicodeEncodeError exception on non-Unicode locales.
Fixes: #9538
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
|
| |
`typed_pos_args` ensures that the length of args is always true.
|
|
|
|
| |
This looks like it was probably removed in a bad rebase
|
|
|
|
|
|
|
|
|
| |
Virtualenvs do not have their Python DLLs etc in the `sys.prefix`
directory, but in the `sys.base_prefix` directory. This directory is
the same as `sys.prefix` if not in a virtualenv, so is safe for either
case:
https://docs.python.org/3/library/sys.html#sys.base_prefix
|
|\
| |
| | |
Add typed_kwargs to some of the gnome module functions
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This removes the `packages` keyword argument, which was added in
80d665e8decd644d737930d450f0bc66d6b5b02c, but beyond not warning about
unknown arguments has never done anything, and has never been
documented. The only users I could find were in our own test suite. If
someone is using this we can add it back with a deprecation warning.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The `packages` argument to `gnome.generate_gir` was allowed, but never
did anything, so stop passing it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the LTO threads == 0 clang will default to the same argument we
manually pass, which meant we dropped support for admittedly ancient
versions of clang that didn't yet add that option.
Drop the extraneous argument, and add a specific error condition when
too old versions of clang are detected.
Fixes #9569
|
|\ \
| | |
| | | |
reject run_target in test or install script arguments
|
| | |
| | |
| | |
| | |
| | |
| | | |
Without this patch, the name of the RunTarget is passed to the
install script; for the enclosed test, meson setup (incorrectly)
succeeds, but installation fails.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes the following error in the testcase:
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/ninjabackend.py", line 548, in generate
self.generate_tests()
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/ninjabackend.py", line 1093, in generate_tests
self.serialize_tests()
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/backends.py", line 567, in serialize_tests
self.write_test_file(datafile)
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/backends.py", line 943, in write_test_file
self.write_test_serialisation(self.build.get_tests(), datafile)
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/backends.py", line 1017, in write_test_serialisation
pickle.dump(self.create_test_serialisation(tests), datafile)
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/backends.py", line 1002, in create_test_serialisation
cmd_args.append(self.construct_target_rel_path(a, t.workdir))
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/backends.py", line 1021, in construct_target_rel_path
return self.get_target_filename(a)
File "/usr/lib/python3.10/site-packages/mesonbuild/backend/backends.py", line 253, in get_target_filename
assert(isinstance(t, build.BuildTarget))
|
| | |
| | |
| | |
| | |
| | | |
The same method that the BSDs use should also work for android. Also
update the tests and docs where appropriate.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't hardcode one of the three possible source types, thus ignoring the
needed vapis for dependencies using .gs or .vapi sources.
Fixes #9544
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is a trivial typo. Fix projeccts to projects.
Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
|
| | | |
|
|/ /
| |
| |
| | |
output and include args.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We currently enable this only for rcc (where this really really matters)
but it can often matter for moc as well, and is just generally more
correct.
Really, this should have been added in #7451 too, but I neglected it
since the module warned about inaccurate dependencies only for rcc...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
find_library(has_headers)
All kwargs inherited from has_header need to be prefixed `header_` so we
cannot just do straight inheritance. And the part of the description
that highlighted the way kwargs are derived and evolved, went entirely
missing.
Fixes #9551
|
| | |
|
| | |
|
|\ \
| | |
| | | |
depfixer: drop unused and unnecessary printing code
|
| | |
| | |
| | |
| | | |
The messages are not useful unless we know what file they are about.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When installing with 'meson install --quiet' I'd get the following output:
This file does not have an rpath.
This file does not have a runpath.
(It turns out that of the couple hundred of binaries that are installed,
this message was generated for /usr/lib/systemd/boot/efi/linuxx64.elf.stub.)
There doesn't seem to be any good reason for this output by default. But those
functions can still be used for debugging. Under a debugger, returning the
string is just as useful as printing it, but more flexible. So let's suppress
printing of anything by default, but keep the extractor functions.
The code was somewhat inconsistent wrt. to when .decode() was done. But it
seems that we'll get can expect a decodable text string in all cases, so
just call .decode() everywhere, because it's nicer to print decoded strings.
|
| | | |
|
|/ /
| |
| |
| |
| | |
Using pathlib ensure propre platform specific path handling, such as
case sensitivity.
|
|/ |
|
|
|
| |
fixes #9528
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
String formatting should validly assume that printing a list means
printing the list itself. Instead, something like this broke:
'one is: @0@ and two is: @1@'.format(['foo', 'bar'], ['baz'])
which would evaluate as:
'one is: foo and two is: bar'
or:
'the value of array option foobar is: @0@'.format(get_option('foobar'))
which should evaluate with '-Dfoobar=[]' as
'the value of array option foobar is: []'
But instead produced:
meson.build:7:0: ERROR: Format placeholder @0@ out of range.
Fixes #9530
|
|
|
|
|
|
|
|
|
| |
It's supposed to emit an error message, but instead it did a traceback.
It used to be, if no install_dir was specified then it was simply not in
kwargs, but due to typed_kwargs it will now be there, but not have
viable contents, so the dict membership check got skipped.
Fixes #9522
|
|
|
|
|
|
| |
Since 0.59.0 Meson downloads multiple wraps in parallel, so the
packagecache directory could be created by one then the 2nd would hit
error when calling os.mkdir() because it already exists.
|
| |
|
|
|
|
|
| |
It has to lookup the dependency with required=False otherwise it raises
an exception when the first candidate (pkg-config) failed.
|
|
|
|
| |
This seems to come up fairly often, so having an FAQ entry seems useful.
|
| |
|
|
|
|
|
|
| |
fixes #6314
in case of backend is vs2017 or vs2019 place LanguageStandard tag with stdcpp version and LanguageStandard_C tag with stdc version in .vcxproj file
|
| |
|
|
|
|
|
| |
This was probably supposed to be percent-formatted but got typoed to a
comma instead. Rewrite as an f-string.
|