Stéphane Cerveau
958df63dac
envconfig: add pkg_config_libdir property
...
In order to unify the use of sysroot in the cross-file,
the pkg_config_libdir can now be passed directly in the file.
5 years ago
Nirbheek Chauhan
c5c0c467fe
tests/windows/16: Use pefile module instead of objdump/dumpbin
...
The pefile module is a CI dependency now, so we can use that instead
of objdump/dumpbin which greatly simplifies the test. Of course, this
module is also cross-platform so it will work if we add cross-win32 CI
at some point.
5 years ago
Nirbheek Chauhan
bd17c9ad4f
tests: Add a unit test for checksums
...
Adds a CI dependency on the `pefile` python module.
5 years ago
Nirbheek Chauhan
b293852d07
vs: Write checksums in PE binaries (DLLs and EXEs)
...
This is needed for detecting data corruption, and its absence (or
an incorrect value) is also used as a hint by anti-viruses that the
binary may be malware.
Flag is only supported by MSVC `link.exe`, not `lld-link.exe`
https://docs.microsoft.com/en-us/cpp/build/reference/release-set-the-checksum
5 years ago
Nirbheek Chauhan
89b132f240
linkers: Accept both str and List[str] for _apply_prefix
...
Simplifies some usage.
5 years ago
Nirbheek Chauhan
38db769aaf
linkers: Clarify a comment about rspfiles
5 years ago
Jussi Pakkanen
ad687462e1
Add link to PDF manual site on the front page. [skip ci]
5 years ago
Jussi Pakkanen
21eba740e7
Reformat user list page. [skip ci]
5 years ago
Dylan Baker
04c4bbccb7
Merge pull request #6481 from jon-turney/osx-qt-dep-crash
...
Fix dependency('qt') crash with old Qt on OSX
5 years ago
Niklas Hambüchen
b44501b02d
docs: Fix typo in link
...
Commit 1404f404
(#4744 ) introduced this typo, making the link not jump to the correct section when clicked.
5 years ago
Marc-Andre Lureau
24174abfb2
Users.md: add qboot [skip ci]
...
It's worth to list a meson project building a firmware.
5 years ago
Sebastien Bacher
82f6790d5c
Use python3 in some tests which were still using python
...
The unversioned command is deprecated and removed from some distributions
5 years ago
alex-tee
646c928b34
add zrythm to Users.md [skip ci]
5 years ago
Jon Turney
d2e5a82fb5
Fix 'qt4test' test executable when only Qt4 is present
...
This always tries to load a 'qt5core_fr' translation file, when it is
actually named 'qtNcore_fr'(where N is the qt version).
5 years ago
Jon Turney
c272c8de38
Make the 'framework/4 qt' test more flexible
...
Make the 'framework/4 qt' test more flexible about what version of Qt is
expected to be present in the CI environment. Currently, this is
hard-coded as Qt5. We add an option to specify it so we can run this
test under CI with just Qt4 present.
5 years ago
Jon Turney
3ae34b4386
Add macOS Qt4 framework test to ci-actions
5 years ago
Xavier Claessens
61993f893b
Fix typo in error message
5 years ago
Amit D
2558e9c4a5
Update Users.md
5 years ago
Amit D
163a8cabb0
Update Users.md
...
Remove "(not the default yet)" from Glib, Orc and Pango
5 years ago
Xavier Claessens
711969c3b5
wrap: Fix support of file:// URLs
...
Fixes : #6445
5 years ago
Jon Turney
65cb6852ae
Fix dependency('qt') crash with old Qt on OSX
...
Don't fail with 'KeyError: QMAKE_XSPEC' if `qmake -query` doesn't report
QMAKE_XSPEC. (Seen with 4.8.7)
5 years ago
Dylan Baker
b092aaff06
envconfig: s390x is 64bit
...
s390 is the 31/32bit variant, s390x is the 64 bit.
5 years ago
Dylan Baker
3b691a89bd
Add s390 to list of known architectures
...
Fixes #6411
5 years ago
Nirbheek Chauhan
b9d0c7a169
run_tests: Fix detection of ninja 1.9
...
`get_backend_commands()` doesn't get called when we run tests as
subprocesses, so detect ninja on import. This should speed up CI.
Fixes https://github.com/mesonbuild/meson/issues/5888
5 years ago
Amit D
cfc2b92e92
Update Users.md
5 years ago
Nirbheek Chauhan
04e275cdcc
find_program: Always use USERPROFILE instead of HOME
...
On MSYS2 and MSYS, Python reads HOME instead of USERPROFILE, which
gets the path wrong.
Serves me right for not writing a test!!
5 years ago
Michael Hirsch, Ph.D
c7cc734132
dependency: add curses
...
fixes #6096 .
Didn't use CMake because Curses is a real corner-case for CMake that
would require Curses-specific enhancements to Meson's CMake interface.
5 years ago
Luke Drummond
4e41acb022
Add .wrap file syntax detection for vim
...
wrap files are ini syntax, and vim has support for this via the `dosini`
syntax type
[skip ci]
5 years ago
Nirbheek Chauhan
64432e9448
find_program: Ignore programs in the WindowsApps directory
...
The latest Windows 10 release in May 2019 added zero-sized files that
act as stubs which when launched from cmd.exe spawn the Windows Store
to install those apps. This also includes python.exe and python3.exe:
https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update/
Unfortunately, `import('python').find_installation('python3')` will
then think that python3.exe is available on Windows. Or, worse, if the
user has a fresh installation of Windows 10 and then installs the
Python 3 using the official installer (not the Windows Store app), we
will *still* pickup this stub because it will be first in `PATH`.
Always remove the WindowsApps directory from `PATH` while searching.
First reported at https://gitlab.freedesktop.org/gstreamer/cerbero/issues/223
5 years ago
Eli Schwartz
71bbcc7669
pkgconfig module: add FeatureNew for requires: dependency('foo')
...
Introduced in https://github.com/mesonbuild/meson/pull/3131
5 years ago
Michael Hirsch, Ph.D
ff822990d1
bugfix: hdf5 depenedency: make sure variable is always defined
5 years ago
Daniel Mensinger
cb262ab481
types: Fix/ignore flake8 B014/F811
5 years ago
Daniel Mensinger
09b53c534f
types: import typing as T ( fixes #6333 )
5 years ago
Vadim Zhukov
f3199edaf8
mention lack of up-to-date dependencies explicitly [skip ci]
...
Requested by scivision@
5 years ago
Vadim Zhukov
dd5b374e99
[skip ci] Use more up-to-date wording for package managers
...
Most of the OSes Meson supports actually do have package managers,
and at least some of them are not harder to use than Linux ones.
5 years ago
Jussi Pakkanen
c2b1e7d58c
Rename test dirs to sequential order.
5 years ago
Jussi Pakkanen
74d245a8c0
Bump version number for new development.
5 years ago
Jussi Pakkanen
8d576eba91
Prepare new release.
5 years ago
Jussi Pakkanen
a1d2444e4a
One more symlink test skip.
5 years ago
Dylan Baker
a8caf988c6
environment: Fix detection of icc on macOS
...
Which wouldn't call the function to detect c_args and friends.
5 years ago
Jussi Pakkanen
7ec3af95e5
Updated linker MR ( #6407 )
...
* environment: Fix passing always args to a number of less common linkers
These are mostly (oops xilink) proprietary linkers I can't use for
various reasons.
Fixes : #6332
* Add intelfix from scivision.
* Ifort fix from scivision.
* PGI fix from scivision.
* Cuda fix from scivision.
* Fix linker passing for armclang.
5 years ago
Jussi Pakkanen
6e7d5a0c61
Make D template work even if dub is not available.
5 years ago
Jussi Pakkanen
e9158b477f
Only run symlink test from git checkout.
5 years ago
Daniel Mensinger
4f6453bc32
cmake: Use trace for missing link flags ( fixes #6386 )
...
This is neccessary for static libraries, since the
CMake file API does not add link flags here.
5 years ago
Michael Hirsch, Ph.D
d67423ab11
bugfix: netcdf pkgconfig stop if found
5 years ago
Jussi Pakkanen
8dd4e63eb3
Merge pull request #6380 from scivision/cuda_qc
...
refactor/doc: cuda tests
5 years ago
Michael Hirsch, Ph.D
e1dd310333
bugfix: check len before index
5 years ago
Michael Hirsch, Ph.D
9aa766da64
refactor: cuda no unused args
5 years ago
Michael Hirsch, Ph.D
a910ba133a
doc: cuda windows comment
5 years ago
Michael Hirsch, Ph.D
9e341ce81c
doc: examples of run_project_tests.py options
5 years ago