Dylan Baker
bbba6a7f36
Allow setting built-in options from cross/native files
...
This is like the project options, but for meson builtin options.
The only real differences here have to do with the differences between
meson builtin options and project options. Some meson options can be set
on a per-machine basis (build.pkg_config_path vs pkg_config_path) others
can be set on a per-subproject basis, but should inherit the parent
setting.
4 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Jussi Pakkanen
9e5c881b06
Add property to disable compiler sanity checks during cross compilation.
5 years ago
Dylan Baker
255fa5a320
tests: Add a test case for finding ld
5 years ago
Jussi Pakkanen
6c76ac8017
Handle strings in cross file args. Closes #4671 .
6 years ago
Jussi Pakkanen
c72b4e1b9c
Imported Debian fixes by Matthias Klose.
7 years ago
Adam C. Foltzer
1d81efb03d
Add cross-compilation support for `rustc`
...
This patch is largely modeled on the relatively-straightforward code
for Fortran cross-compilation, so there might be some intricacies
missing.
7 years ago
Jussi Pakkanen
a4db467669
Use GCC 7 for cross compilation tests.
7 years ago
Nirbheek Chauhan
42267f2afa
Always pass cross-file {lang}_args to compiler checks
...
Includes a test for this that will only run on the CI.
Closes https://github.com/mesonbuild/meson/issues/1665
8 years ago
Jussi Pakkanen
2b65083463
Fix cross test and run them if a cross compiler is available.
8 years ago
Jussi Pakkanen
572ce0f451
Added cpu family property to system information.
9 years ago
Jussi Pakkanen
2e3bd006d3
Converted alignment check to work also when cross compiling.
9 years ago
Jussi Pakkanen
ad5795ed2e
Converted sizeof check to work also when cross compiling.
9 years ago
Jussi Pakkanen
78739afd9c
Use system() instead of name() which is a confusing term.
9 years ago
Jussi Pakkanen
463d08d545
Now host_machine, build_machine and target_machine are properly separated and return correct values.
10 years ago
Jussi Pakkanen
eb3cdb6f8d
Changed cross compilation file to new format.
10 years ago
Jussi Pakkanen
bf02849d59
Use cross file's pkgconfig binary when cross compiling. Closes #138 .
10 years ago
Jussi Pakkanen
6eb4474349
Fix ARM strip binary path.
11 years ago
Jussi Pakkanen
52ed7fd8f8
Can build both cross and native binaries at the same time.
11 years ago
Jussi Pakkanen
195fb0d967
Get alignment from cross file.
11 years ago
Jussi Pakkanen
21e4fcc6b0
Get has_function from cross file.
11 years ago
Jussi Pakkanen
2117814826
Get sizeof info from cross file if it exists and write an error if it can not be determined.
11 years ago