Daniel Mensinger
96f354ebde
Load source dir from meson-info.json
6 years ago
Daniel Mensinger
243eca6cee
mintro: Check meson-info.json version instead of loading coredata
6 years ago
Marco Trevisan (Treviño)
95c1cdf776
interpreter: obey to the install argument in configure_file
...
If a configure_file has an install_dir set, the supported install
argument is ignored, while this should have actually higher priority
than the install_dir itself.
Also check that correct types are used for `install` and `install_dir`.
Add test to verify this.
Fixes #3983
6 years ago
Antoine Jacoutot
e02b79dc1e
OpenBSD: register machine cpu "macppc" as cpu_family "ppc"
...
On OpenBSD, the main PowerPC machine is known as macppc, while the processor
family is powerpc:
$ uname -{m,p}
macppc powerpc
$ echo 'import platform; print (platform.machine())' | python3
macppc
$ echo 'import platform; print (platform.processor())' | python3
powerpc
This allows for e.g. GLib configure to properly detect that cpu:
Build machine cpu family: ppc
Build machine cpu: macppc
While it failed before with: WARNING: Unknown CPU family 'macppc' <snip>
6 years ago
Jon Turney
680d266591
Fix a typo in an error message
6 years ago
John Ericson
8165fa6ad0
Fix finding the static linker for native compiler in cross build
...
Native ar and cross ar are not the same!
6 years ago
Alistair Thomas
b204a74917
rpm: Bring RPM module back in to a working state
6 years ago
John Ericson
913c87b327
`environment.cross_info.need_cross_compiler()` doesn't exist
...
It is no longer needed either.
6 years ago
John Ericson
17a602a4ec
Remove spurious case in interpreter
...
`need_cross_compiler = is_cross_build()`, so the condition is always
false.
6 years ago
Phillip Cao
13fe2e40eb
Add get_werror_args for CCRX C compiler
6 years ago
Jussi Pakkanen
198de0de5d
Report parisc64 as parisc. Closes #4714 .
6 years ago
Daniel Mensinger
5c139032b8
Deprecated --target-files API
6 years ago
Daniel Mensinger
a1d8c1d3e9
Changed introspection target format
6 years ago
Jussi Pakkanen
d085002d18
Calculate target paths correctly when workdir is set.
6 years ago
Robert Bragg
f2223fcf54
ninjabackend: Adding missing shell quotes for compiler arguments
...
Since trying to cross compile for Windows from Linux (WSL) and having
paths like this:
'-L/mnt/c/Program Files (x86)/Microsoft Visual Studio/2017/\
Community/VC/Tools/MSVC/14.15.26726/lib/x64'
I found that the spaces and brackets in the paths weren't properly
escaped by the Ninja backend.
6 years ago
Martin Hostettler
768fa502ac
Add new meson.py unstable-coredata subcommand.
...
This adds a hidden option to dump the current otherwise hidden peristant
state in coredata.dat.
This interface is unstable as meson has no compatibility promises about
coredata.dat.
6 years ago
Nicolas Schneider
3232f780d8
use same code for printing options in mconf and msetup
...
Also, options are now responsible for providing a suitable printable
representation of their value instead of handling this at the caller.
6 years ago
Daniel Mensinger
b82cbbdd4c
Fixed missing newline
6 years ago
Daniel Mensinger
ab32f1fe00
Added meson-info.json
6 years ago
Daniel Mensinger
38241f5fce
Introspection refactoring
6 years ago
Nicolas Schneider
735e138382
fix meson configure exception when install_umask is not an int
6 years ago
Xavier Claessens
aa840afb3a
Always flatten include_directories lists
6 years ago
Daniel Mensinger
bcb8146280
Indent flag only toggles
6 years ago
Daniel Mensinger
aa6e3dc470
Fixed flake8 issues
6 years ago
Daniel Mensinger
9c214f4a70
Fixed buildoptions form source
6 years ago
Daniel Mensinger
4b17bbc753
Better list prepending
6 years ago
Daniel Mensinger
25618c6a4d
Atomic write
6 years ago
Daniel Mensinger
df1434d5a5
Fixed CI issues
6 years ago
Daniel Mensinger
9d025f1374
Make custom command sources slightly more useful
6 years ago
Daniel Mensinger
ca808a0702
More os.pathsep
6 years ago
Daniel Mensinger
477b69b505
Use os.pathsep
6 years ago
Daniel Mensinger
681532452c
Handle java correct
6 years ago
Daniel Mensinger
b97046ea0f
Fixed hash
6 years ago
Daniel Mensinger
9eca2e46a0
Added more compiler option support
6 years ago
Daniel Mensinger
bd8bad46c3
Code cleanup and renamed variables
6 years ago
Daniel Mensinger
63e16fbcc3
Fixed flake8
6 years ago
Daniel Mensinger
e1719c5d37
Load coredata
6 years ago
Daniel Mensinger
9742927903
Absolute path generation refactoring
6 years ago
Daniel Mensinger
2487e0a1fb
Simplefied absolute path generation
6 years ago
Daniel Mensinger
02734cc5c3
Better documentation
6 years ago
Daniel Mensinger
c33df1fd73
Revert to old behavior
6 years ago
Daniel Mensinger
3588786138
Some small fixes
6 years ago
Daniel Mensinger
84948ea6cd
Renamed `--force-new` to `--force-dict-output`
6 years ago
Daniel Mensinger
5c39dd0668
Doc updates and throw if no target type is set
6 years ago
Daniel Mensinger
2e81631d0c
Keep 'filename' and 'install_filename' as strings
6 years ago
Daniel Mensinger
f75e219297
Simplified code and improved preformance
6 years ago
Daniel Mensinger
7691b0460c
Ninja backend target introspection
6 years ago
Daniel Mensinger
d4ac832bf6
Split the monolithic introspection file into chunks
6 years ago
Daniel Mensinger
b11df88395
Documentation and unit test update
6 years ago
Daniel Mensinger
b034f52656
Filenames are now lists
6 years ago