Jussi Pakkanen
1e3e22c66e
Merge pull request #938 from centricular/fix-unity-builds
...
Several commits that fix unity builds
2016-10-22 14:38:06 -07:00
Patrick Griffis
8b27a48d56
Don't default to lib64 if symlink
...
Some distros, such as Arch, symlink lib64 to lib for compat reasons
and programs shouldn't actually install there.
2016-10-22 14:37:46 -07:00
Jouni Kosonen
1ed3317a8b
Only default to dpkg-architecture output in Debian derivatives
2016-10-22 14:00:46 +03:00
Nirbheek Chauhan
57ce7d4618
Add support for extracting objects in unity builds
...
Not only does extract_all_objects() now work properly again,
extract_objects() also works if you specify a subset of sources all of
which have been compiled into a single unified object.
So, for instance, this allows you to extract all the objects
corresponding to the C sources compiled into a target consisting of
C and C++ sources.
2016-10-21 08:00:39 +05:30
Nirbheek Chauhan
a0551d7d6e
dependencies/boost: Fix 32-bit vs 64-bit on Windows
...
Fixes https://github.com/mesonbuild/meson/issues/526
Also removes useless and incorrect mesonlib.is_32bit() function. We
cannot trust that the architecture that Python is built for is the same
as the one we're targetting.
2016-09-27 00:27:38 +05:30
Tim-Philipp Müller
3aebdb717a
configuration_data: can pass descriptions to setters ( #783 )
...
Add support for passing a description to configuration data
setter methods via a 'description' kwarg. The description
string will be used when meson generates the entire configure
file without a template, autoconf-style.
2016-09-25 18:56:49 +03:00
Jussi Pakkanen
c8213aaf1e
Better file existance checks.
2016-09-01 23:15:48 +03:00
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
2016-08-27 18:29:55 -04:00
Elliott Sales de Andrade
ae12656555
Use global id instead of local for hg tag. ( #710 )
2016-08-27 13:42:35 +03:00
Jussi Pakkanen
e3783f0f59
Check input file for existance. Closes #697 .
2016-08-21 13:50:48 +03:00
Nirbheek Chauhan
4516e8a49f
Add repr() implementations for build targets and File
...
This aids debugging
2016-07-01 20:50:47 +05:30
Jussi Pakkanen
bcec44b93b
Merge pull request #573 from centricular/dependency-versions
...
Several fixes to how versioned dependencies are handled + tests
2016-06-05 13:51:03 +03:00
Jussi Pakkanen
177e286b3c
Can generate config headers without an input file. Closes #549 .
2016-06-01 20:25:14 +03:00
Nirbheek Chauhan
d3e1fe6e1a
mesonlib: Fix typo in version_compare error
2016-05-30 03:35:02 +05:30
Nirbheek Chauhan
8cd359acbb
Regex used for configuration data substitution was too broad ( #520 )
2016-04-17 22:51:25 +03:00
Hemmo Nieminen
af6f4c9b9c
coredata: Centralize builtin option descriptions and definitions.
2016-04-04 02:52:30 +03:00
Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
2016-04-01 00:52:45 +03:00
Nirbheek Chauhan
11f63105d0
New builtin option: libexecdir for installation of helper executables
2016-03-17 16:17:06 +05:30
Tim-Philipp Müller
48a2b201ea
config file: write commented undef lines same as autoconf
...
For easier diffing to see if anything is missing when porting.
2016-03-12 09:34:35 +00:00
Jussi Pakkanen
f74d6201eb
Guard against ALL THE THINGS!
2016-02-21 13:04:31 +02:00
Jussi Pakkanen
9463c5965e
Swallow stderr of helper process invocation because nobody needs to see it and it causes problems in Debian testing framework.
2016-02-21 12:58:59 +02:00
Jussi Pakkanen
84456537da
Fix some issues that break pypi installs and bump version to upload new version.
2016-01-16 20:59:34 +02:00
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
2016-01-16 17:35:29 +02:00