Age | Commit message (Collapse) | Author | Files | Lines |
|
The xcode backend is still incomplete and fails many tests.
|
|
|
|
Added cross_test_log.txt for review
Change-Id: I6af9c4926dc8a63fa030ae7fe28868bf772d2099
|
|
- Fixing flake8 error in compilers.py - [E124] closing bracket does not match visual indentation
- Updating ARMCCompiler constructor in c.py to raise error as per comments
|
|
This instructs tools like pip that meson requires python 3.5 or greater,
so if one tries to install on an older version pip will fall back to an
older version of meson.
This won't fix 0.45 since it's already in the wild (unless someone wants
to delete and re-upload the version on pypi). But it should fix future
versions.
Retain the hand rolled version check, but update it to enforce our
actual requirements.
|
|
Get generated headers from link_whole_targets as meson does for link_targets
|
|
[skip ci]
|
|
* The example for executable()'s install_dir: should use join_paths()
* Clarify how to use directory options which are potentially not prefix
relative
This is mentioned in https://github.com/mesonbuild/meson/issues/1637 and see
also https://patchwork.freedesktop.org/patch/200373/ for an example of this
usage, and the possible confusion that can arise.
|
|
|
|
Starting from 8fc424418720da4ef61bde9348f4cc1a149d1cb2, tests
failed on my system (python 3.6 arch) because
shutil.which('meson.py') returns 'meson.py', not './meson.py'.
Refactor that codepath by using os.path.isabs instead of
"m_dir == '.'", also remove the adjacent comment because
it doesn't make much sense.
|
|
|
|
|
|
This test covers usage of generated files in static_library
that is later linked into shared_library.
|
|
Add declare_dependency() link_whole parameter
|
|
Sometimes it is needed to run the current compiler with specific options
not to compile a file but rather to obtain additional info. For example,
GCC has several -print-* options to query it about the paths to
different libraries and development files. One use case is to get the
location of development files for GCC plugins, which is not easily
obtainable by other means:
gcc -print-file-name=plugin
For this purpose, it would be convenient if the compiler object returned
by meson.get_compiler(lang) could be used in run_command() directly.
This commit implements it.
Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
|
|
|
|
|
|
Document that dependencies must be explicitly signalled, just like with a custom target.
|
|
|
|
|
|
|
|
|
|
Change-Id: I15d8258e84d392baaccb8f670e33eefcfe8cd49a
|
|
Enable linux-like unit tests on all posix-like platforms
|
|
in a non-empty directory.
|
|
|
|
|
|
|
|
v2:
Qt5 only
Fix Qt PATH
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
Enable linux-like unit tests on all posix-like platforms, not just linux,
skipping tests where appropriate. This enables these tests for OSX and
Cygwin in CI.
* Allow in-process (as well as out of process) tests to be skipped by
returning MESON_SKIP_TEST
This is needed to allow test_old_gnome_module_codepaths to be skipped when
'test cases/frameworks/7 gnome' is missing it's pre-prequisites
* Skip PIC tests on platforms where it's irrelevant
* Apple Clang reports the XCode version number, not the LLVM version number,
so the check for stdc(|++)17 needs adjusting
* Skip tests that only pertain to ELF or RPATH mechanics when irrelevant
* Skip tests that require valac if missing
* Skip asan test on Cygwin
|
|
ExtraFrameworkDependency doesn't support any method: other than auto, so
handing down the method: used from QtBaseDependency leads to (sic):
meson.build:13:2: ERROR: Unsupported detection method: qmake, allowed methods are auto and auto
|
|
Ensure that from_text is set to the name of the qmake executable we used,
rather than the return value of _framework_detect(), which is always 'None'
|
|
At the moment, QtBaseDependency._framework_detect sets is_found if at least
one module is found. This gives the incorrect result in the case where both
found and not-found modules are given.
Fix it so it only sets is_found if all the modules given are found.
|
|
subprocess.getoutput() takes a string, not a list. I'm going to guess this
is the cause of the mysterious behaviour alluded to in the comment...
|
|
Fix dependency('qt4|5', method: 'qmake') detection when shared library
extension isn't .so
Note that OSX already has a special case to look for .framework
|
|
mconf: re-implement print_aligned fixes #3149
|
|
Fixes https://github.com/mesonbuild/meson/issues/3156
|
|
Fix flake8 issues
|
|
|
|
|
|
|
|
|
|
If a dict is empty it will evaluate to False
|
|
|
|
Calling sorted or list on a dictionary will return the keys.
|
|
It is now more readable, more pythonic and fixes #3149
|
|
It is inconsistent with other option groups. It also breaks
print_aligned as it handles lists.
|
|
|
|
|
|
|