Xavier Claessens
1c403e20e7
Interpreter: Fix c_stdlib usage
...
- Exceptions raised during subproject setup were ignored.
- Allow c_stdlib in native file, was already half supported.
- Eliminate usage of subproject variable name by overriding
'<lang>_stdlib' dependency name.
4 years ago
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
alanNz
7460292810
-Add xc16 and c2000 C,Cpp toolchain support
5 years ago
alanNz
1682058dec
-Fixed Renesas RX Family compiler to work with latest meson, updated cross-file, fixed assembly file use
5 years ago
Dylan Baker
255fa5a320
tests: Add a test case for finding ld
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
f41bdae368
Add basic Webassembly support via Emscripten.
5 years ago
Jussi Pakkanen
9a62d6932b
Make ARM compilers work on Linux.
5 years ago
Roman Shpuntov
bf1323a48c
Added tvOS cross file
6 years ago
Jussi Pakkanen
6c76ac8017
Handle strings in cross file args. Closes #4671 .
6 years ago
Phillip Cao
68c83cb213
Add support for Renesas CC-RX toolchain
6 years ago
Vasu Penugonda
7140afc0a8
Added ARMCLANG compiler support for C/C++ ( #3717 )
6 years ago
Nirbheek Chauhan
21dc45dbbb
Add MinGW-w64 64-bit to the Travis CI
...
Includes new cross files for MinGW-w64
7 years ago
Jussi Pakkanen
c72b4e1b9c
Imported Debian fixes by Matthias Klose.
7 years ago
Somasekhar Penugonda
e62b8109eb
Updates to CPP support and update review changes
7 years ago
Somasekhar Penugonda
a470835778
Meson Github pull request - 3186 requested changes
...
- Fixing flake8 error in compilers.py - [E124] closing bracket does not match visual indentation
- Updating ARMCCompiler constructor in c.py to raise error as per comments
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
Ole André Vadla Ravnås
c352c34ff1
cross: Fix host_machine.system in the example iphone cross config.
8 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
695aa0b8c2
Made cstdlib a subproject.
9 years ago
Jussi Pakkanen
53e90acda9
Fix Vala cross compilation. Closes #370 .
9 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
2c5688445b
Created iphone cross file and made it possible to specify compile and link args in the cross file.
9 years ago
Jussi Pakkanen
78739afd9c
Use system() instead of name() which is a confusing term.
9 years ago
Igor Gnatenko
ca8d25f832
make consistent style
9 years ago
Jussi Pakkanen
642db009a3
Cleanups.
9 years ago
Jussi Pakkanen
30d0c2292f
Support target-only cross compilation properly.
9 years ago
Jussi Pakkanen
463d08d545
Now host_machine, build_machine and target_machine are properly separated and return correct values.
9 years ago
Jussi Pakkanen
eb3cdb6f8d
Changed cross compilation file to new format.
9 years ago
Jussi Pakkanen
bf02849d59
Use cross file's pkgconfig binary when cross compiling. Closes #138 .
10 years ago
Jussi Pakkanen
8be84a4a7c
Some more cross tweaking.
10 years ago
Jussi Pakkanen
572587f5ce
Fix cross compilation tests.
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
Jussi Pakkanen
6780050cbf
Run cross build tests with exe wrapper.
11 years ago
Jussi Pakkanen
354bdca920
Can generate a very simple cross environment.
11 years ago
Jussi Pakkanen
5d38cbfade
A journey to cross-compilation starts with a single step.
11 years ago