Dylan Baker
6cbbbd546e
llvm: Add modules to libs check
...
Which is required for statically linking with LLVM.
7 years ago
Dylan Baker
3e004ae611
llvm: check for components (modules) before libs.
...
For statically linking we need to pass the modules to llvm-config, so we
need to validate them and have them ready to use before then.
7 years ago
Dylan Baker
cadf5f3c04
llvm: Add optional modules
...
These will become more relevant later in the series.
7 years ago
Dylan Baker
7841210b4f
llvm: Add helper function for checking modules
...
This will be used in a later patch.
7 years ago
Dylan Baker
ab83cde966
llvm test: Replace tinfo with something else
...
Archlinux doesn't package tinfo, and the non-distro maintained package
(in the AUR), doesn't provide a pkgconfig, it just symlinks libncurses.
So just pick something else. glib-2.0 is used elsewhere in meson's test
suite, so that should be safe.
7 years ago
Jussi Pakkanen
c178a5766b
Because people are very creative in working around limitations based on good faith.
7 years ago
Jay Sherby
a3da9f77c4
Fix inconsistent header levels
7 years ago
Jussi Pakkanen
831a8cff45
Merge pull request #2464 from jeandet/Qt4_Qt5_factorization
...
Factorized Qt4 and Qt5 modules in one base class.
7 years ago
Luis Menina
3dcc562e6d
docs: Fix date being interpreted as an ordered list item
7 years ago
Jussi Pakkanen
cc4a9bcf35
Merge pull request #2516 from dcbaker/submit/llvm-fix-lib-path
...
LLVM: Don't add -L<system path> to link args
7 years ago
Kevin Anderson
562c50f229
Update references from mesonconf to meson configure
...
Fixes #2372
7 years ago
Luis Menina
92866d8d5f
docs: Remove unnecessary trailing whitespaces
7 years ago
Luis Menina
36eb7bf0aa
docs: Markdown headers don't need trailing hash signs
...
This is a cosmetic change because github seems to interpret those
correctly. Nonetheless, it adds unnecessary noise and makes people
modifying the pages think it might be needed.
See syntax guide at https://guides.github.com/features/mastering-markdown/
7 years ago
Luis Menina
be36b05544
docs: Fix markdown in 'design rationale' page
7 years ago
Jonas Platte
e43332318b
Fix invalid example in Syntax.md
7 years ago
Dylan Baker
9262236322
llvm: strip system libraries from link arguments
...
v2: - use clang and gcc's -print-system-libs option as suggested by
Daniel Stone.
Fixes #2437
7 years ago
Dylan Baker
4e394b3341
dependencies: Add function to strip system -L paths
...
PkgConfig automatically removes -L paths from libdirs if the -L points
to a system path. It knows what these paths are by taking this as a
configure option at build time, which the distro maintainers set
appropriately and everything works. This allows one to have two
versions of a package installed, a system and non system, and then
override PKG_CONFIG_PATH to use the non system version, and everything
just works. For non-pkgconfig dependencies (such as LLVM) meson needs to
strip these themselves to avoid breaking the above use case.
7 years ago
getzze
6ce42e2ec5
Error for Libs in package_config function
...
Without specifying a custom install directory string, get_custom_install_dir() returns True. So for the `Libs` entry I was getting this:
Libs: -L${prefix}/True -lfoo
Now it behaves as expected:
Libs: -L${libdir} -lfoo
7 years ago
Niklas Claesson
3fcf4ad272
MSI: Fix regenerate with visual studio
...
Fixes #2461
7 years ago
Narendra Vardi
6083eb29d0
Do not allow escaping the subprojects directory.
...
Fixes #2306
7 years ago
Corentin Noël
fd860482e5
Allow to give source files to GtkDoc by respecting the File class
7 years ago
liugang
36d85db5d4
fix all subproject using wrap-file broken
...
subproject using wrap-file is broken since commit (68bd64c
Prevent
projects from directly grabbing files from other subprojects. )
subproject with wrap-file usually have version number after name
- **sproj_name** is `zlib-1.2.8` according to `directory = zlib-1.2.8`
of zlib.wrap
- but **self.subproject** `zlib`
7 years ago
Jussi Pakkanen
3f18e3b89f
Arguments, not flags.
7 years ago
Niklas Claesson
c97e7749a6
Boost: Jamfile has two syntaxes for boost libraries
...
Fixes #2456
7 years ago
Jussi Pakkanen
756e682f2a
Merge pull request #2477 from 1ace/fix/man-mesonconf
...
Couple fixes for the man pages
7 years ago
Carlos Garcés
f1c410fc98
Link to MesonPorting is not rendered as URL
7 years ago
Zbigniew Jędrzejewski-Szmek
92219a2739
rpm: print test logs on failure
...
References: https://bugzilla.redhat.com/show_bug.cgi?id=1500248
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years ago
Alexis Jeandet
94cfb42222
Fixes Qt4 plugin build and mixed Qt4/Qt5 tests builds.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Alexis Jeandet
4410c73efa
Factorized Qt compilers version probing.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Eric Engestrom
39f2eeb233
man: fix copy/paste typo in mesonintrospect(1)
7 years ago
Eric Engestrom
0ecb300021
man: remove references to `mesonconf` in meson(1)
...
`mesonconf` is deprecated, and shouldn't be suggested to users anymore.
7 years ago
Jon Turney
79b850dfcb
Typo and grammar fixes for 0.43.0 release note
7 years ago
Niklas Claesson
16aa40875e
MSI: Find VC redistributable with python 32bit on windows 64bit
7 years ago
Alexis Jeandet
f7f439caeb
Factorized Qt4 and Qt5 modules in one base class.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
TingPing
b5eb77ddff
docs: Improve code snippets in release notes
7 years ago
Jussi Pakkanen
b4fa4e37b9
Added release note page for 0.44.
7 years ago
Jussi Pakkanen
6f066af61f
Updated version number for new development.
7 years ago
Jussi Pakkanen
5626df4645
Bump version number for release.
7 years ago
Jussi Pakkanen
683947d943
Collated release note snippets to main file.
7 years ago
Jussi Pakkanen
93aa32219f
Add system dependencies for LLVM test.
7 years ago
Jussi Pakkanen
2fbc857ff4
Better error message when using external libraries incorrectly. Closes #2447 .
7 years ago
Rico Tzschichholz
8b8e1ee620
gnome: g-ir-scanner accepts multiple symbol-prefix arguments
7 years ago
Jussi Pakkanen
68bd64cd38
Prevent projects from directly grabbing files from other subprojects.
7 years ago
Jussi Pakkanen
d2022f9c65
Merge pull request #2426 from dcbaker/submit/options-permitted-kwargs
...
options: Add a permitted_kwargs function
7 years ago
Corentin Noël
93d2ced31f
Create the .po file with the `update_po` subcommand if it doesn't exist
7 years ago
Jan Niklas Hasse
7b36897ff9
Use get_default_include_dirs to detect BOOST_ROOT
...
This removes the need to specify BOOST_ROOT for cross-compilers.
7 years ago
Jussi Pakkanen
a3e655d20d
Package the Visual C runtime. Closes #2417 .
7 years ago
Dylan Baker
e8df59cc5f
llvm: don't add --system-libs
...
On LLVM < 4.0 this adds linker arguments like -lm, which we don't want.
Related #2442 , 2437
7 years ago
Nirbheek Chauhan
97cf0ec01b
appveyor: Use a mirror for get-pip.py
...
pypa.io has an HSTS policy that forces http, and the https cert is
broken on Windows.
7 years ago
Nirbheek Chauhan
e7bb122b22
appveyor: Attempt to fix MSYS/MinGW setup failure
7 years ago