summaryrefslogtreecommitdiff
path: root/cross
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Add cross testsDaniel Mensinger2020-10-135-0/+35
|
* Rename [properties] to [built-in options]Nirbheek Chauhan2020-09-171-1/+1
| | | | This is the new syntax. Avoids loud deprecation warnings.
* Add support for the CompCert C CompilerSebastian Meyer2020-09-151-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add preliminary support for the CompCert C Compiler The intention is to use this with the picolibc, so some GCC flags are automatically filtered. Since CompCert uses GCC is for linking, those GCC-linker flags which are used by picolibc, are automatically prefixed with '-WUl', so that they're passed to GCC. Squashed commit of the following: commit 4e0ad66dca9de301d2e41e74aea4142afbd1da7d Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:20:39 2020 +0200 remove '-fall' from default arguments, also filter -ftls-model=.* commit 41afa3ccc62ae72824eb319cb8b34b7e6693cb67 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:13:55 2020 +0200 use regex for filtering ccomp args commit d68d242d0ad22f8bf53923ce849da9b86b696a75 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 13:54:36 2020 +0200 filter some gcc arguments commit 982a01756266bddbbd211c54e8dbfa2f43dec38f Author: Sebastian Meyer <meyer@absint.com> Date: Fri Aug 28 15:03:14 2020 +0200 fix ccomp meson configuration commit dce0bea00b1caa094b1ed0c6c77cf6c12f0f58d9 Author: Sebastian Meyer <meyer@absint.com> Date: Thu Aug 27 13:02:19 2020 +0200 add CompCert to meson (does not fully work, yet) * remove unused import and s/cls/self/ fixes the two obvious LGTM warnings * CompCert: Do not ignore unsupported GCC flags Some are safe to ignore, however, as per https://github.com/mesonbuild/meson/pull/7674, they should not be ignored by meson itself. Instead the meson.build should take care to select only those which are actually supported by the compiler. * remove unused variable * Only add arguments once. * Apply suggestions from code review Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Remove erroneous ' ' from '-o {}'.format() As noticed by @dcbaker * added release note snippet for compcert * properly split parameters As suggested by @dcbaker, these parameters should be properly split into multiple strings. Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Update add_compcert_compiler.md Added a sentence about the state of the implementation (experimental); use proper markdown * properly separate arguments Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
* Add a test run of MSVC ARM64 cross on Windows x64Jon Turney2020-09-112-0/+35
| | | | | | | | | | | | | | Add a cross-file for MSVC UWP ARM64. Bump cidata tag to get an updated install.ps1 script (run by run.ps1) which sets the vcvars environment correctly when cross-compiling. Since arranging the correct environment for simultaneous cross and native 'cl' use is hard, this is test run uses '--cross-only' so we don't require a native compiler. Extend '--cross-only' so it also explicitly uses a machine file which makes all build machine compilers unusable.
* Interpreter: Fix c_stdlib usageXavier Claessens2020-08-181-1/+1
| | | | | | | - 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.
* Allow setting built-in options from cross/native filesDylan Baker2020-08-0110-18/+23
| | | | | | | | | | 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.
* Add property to disable compiler sanity checks during cross compilation.Jussi Pakkanen2020-03-221-0/+2
|
* -Add xc16 and c2000 C,Cpp toolchain supportalanNz2020-03-212-0/+50
|
* -Fixed Renesas RX Family compiler to work with latest meson, updated ↵alanNz2020-01-301-3/+5
| | | | cross-file, fixed assembly file use
* tests: Add a test case for finding ldDylan Baker2020-01-222-0/+2
|
* Updated linker MR (#6407)Jussi Pakkanen2020-01-061-1/+1
| | | | | | | | | | | | | | | | | | | * 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.
* Add basic Webassembly support via Emscripten.Jussi Pakkanen2019-08-051-0/+19
|
* Make ARM compilers work on Linux.Jussi Pakkanen2019-08-021-0/+35
|
* Added tvOS cross fileRoman Shpuntov2019-06-131-0/+27
|
* Handle strings in cross file args. Closes #4671.Jussi Pakkanen2019-01-021-1/+1
|
* Add support for Renesas CC-RX toolchainPhillip Cao2018-11-081-0/+20
|
* Added ARMCLANG compiler support for C/C++ (#3717)Vasu Penugonda2018-06-211-0/+20
|
* Add MinGW-w64 64-bit to the Travis CINirbheek Chauhan2018-06-053-25/+40
| | | | Includes new cross files for MinGW-w64
* Merged Arm CC support.Jussi Pakkanen2018-04-161-0/+20
|\
| * Updates to CPP support and update review changesSomasekhar Penugonda2018-03-271-1/+10
| |
| * Meson Github pull request - 3186 requested changesSomasekhar Penugonda2018-03-071-0/+11
| | | | | | | | | | - 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
* | Imported Debian fixes by Matthias Klose.Jussi Pakkanen2018-04-021-2/+2
|/
* Add cross-compilation support for `rustc`Adam C. Foltzer2018-01-291-0/+1
| | | | | | This patch is largely modeled on the relatively-straightforward code for Fortran cross-compilation, so there might be some intricacies missing.
* Use GCC 7 for cross compilation tests.Jussi Pakkanen2017-10-281-2/+2
|
* cross: Fix host_machine.system in the example iphone cross config.Ole André Vadla Ravnås2017-05-211-1/+1
|
* Always pass cross-file {lang}_args to compiler checksNirbheek Chauhan2017-04-271-0/+3
| | | | | | Includes a test for this that will only run on the CI. Closes https://github.com/mesonbuild/meson/issues/1665
* Fix cross test and run them if a cross compiler is available.Jussi Pakkanen2016-12-201-2/+2
|
* Made cstdlib a subproject.Jussi Pakkanen2016-05-211-0/+13
|
* Fix Vala cross compilation. Closes #370.Jussi Pakkanen2016-02-171-0/+1
|
* Added cpu family property to system information.Jussi Pakkanen2015-10-184-3/+8
|
* Converted alignment check to work also when cross compiling.Jussi Pakkanen2015-09-052-8/+0
|
* Converted sizeof check to work also when cross compiling.Jussi Pakkanen2015-09-052-8/+0
|
* Created iphone cross file and made it possible to specify compile and link ↵Jussi Pakkanen2015-09-051-0/+34
| | | | args in the cross file.
* Use system() instead of name() which is a confusing term.Jussi Pakkanen2015-08-163-4/+4
|
* make consistent styleIgor Gnatenko2015-07-281-2/+2
|
* Cleanups.Jussi Pakkanen2015-07-281-3/+3
|
* Support target-only cross compilation properly.Jussi Pakkanen2015-07-271-0/+12
|
* Now host_machine, build_machine and target_machine are properly separated ↵Jussi Pakkanen2015-07-272-5/+8
| | | | and return correct values.
* Changed cross compilation file to new format.Jussi Pakkanen2015-07-272-3/+22
|
* Use cross file's pkgconfig binary when cross compiling. Closes #138.Jussi Pakkanen2015-06-061-1/+1
|
* Some more cross tweaking.Jussi Pakkanen2015-05-091-1/+1
|
* Fix cross compilation tests.Jussi Pakkanen2015-05-091-5/+5
|
* Fix ARM strip binary path.Jussi Pakkanen2013-08-311-1/+1
|
* Can build both cross and native binaries at the same time.Jussi Pakkanen2013-08-302-0/+6
|
* Get alignment from cross file.Jussi Pakkanen2013-08-241-1/+6
|
* Get has_function from cross file.Jussi Pakkanen2013-08-241-0/+3
|
* Get sizeof info from cross file if it exists and write an error if it can ↵Jussi Pakkanen2013-08-241-0/+8
| | | | not be determined.
* Run cross build tests with exe wrapper.Jussi Pakkanen2013-08-231-1/+1
|
* Can generate a very simple cross environment.Jussi Pakkanen2013-08-231-1/+1
|
* A journey to cross-compilation starts with a single step.Jussi Pakkanen2013-08-231-0/+5