Commit Graph

19 Commits

Author SHA1 Message Date
Xavier Claessens 62a5673b98
env2mfile: Take binaries from env for cross file too 2023-06-12 15:08:28 -04:00
Xavier Claessens 1ab7d3b28e
env2mfile: Not all compilers have env for flags 2023-06-12 15:08:26 -04:00
Jussi Pakkanen 65482497d3 Import cpu detection fix from Debian.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033579
2023-03-28 11:50:44 +03:00
Jussi Pakkanen 5ccac0699f Add detection code for powerpc64le.
Originally from:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019413
2023-02-28 20:24:51 +02:00
Jussi Pakkanen 38b6d6d61a Add a deb_ prefix to constants that are only used in Debian system detection. 2023-02-28 20:24:51 +02:00
Jussi Pakkanen 2aa4d6e54e Handle a cross compilation setup that only has a C compiler. 2023-02-28 20:24:51 +02:00
Jussi Pakkanen bc38db035e Add Debian platform autodetect to env2mfile. 2023-02-28 20:24:51 +02:00
Eli Schwartz c9ac73a4da
simplify instantiation of builtin type using builtins instead of functions 2023-02-01 17:01:30 -05:00
Jussi Pakkanen fd43842041 Fix writing single strings in env2mfile. 2022-11-22 02:19:59 +02:00
Jussi Pakkanen 611bd4e6db Add CMake to cross file.
Original patch by Helmut Grohne.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023744
2022-11-12 14:21:47 +02:00
Jussi Pakkanen 318579b367 Fix ppc64 detection in Debian.
Original patch by Helmut Grohne.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023744
2022-11-12 14:21:47 +02:00
Dylan Baker 8c819ab805
pylint: enable unspecified-encoding 2022-10-03 00:02:02 -04:00
Eli Schwartz 388cb0f805 env2mfile: reuse logical lists of interesting facts from meson itself
Meson internally knows about many languages and tools, and *FLAGS
variables, and which languages to use them for. Instead of duplicating
this logic, import it from mesonbuild.*

This logic was originally standalone, but now that it is merged into the
Meson tree we can have a single source of truth.
2022-09-01 01:05:48 +03:00
Eli Schwartz 462b35e4b1 flake8: fix various whitespace nits 2022-06-13 13:34:39 +03:00
Eli Schwartz a49cd00d64 treewide: various cleanups to move imports for mypy into typechecking blocks
Along the way, add __future__ annotations where lacking.
2022-06-10 09:15:48 -04:00
Jussi Pakkanen b78d33f0b5 Fix typo that breaks g++ cross detection on Debian. 2022-04-23 23:57:15 +03:00
Jussi Pakkanen 04ef7ec45d Add new env2mfile command. 2022-03-09 18:02:04 -05:00
Eli Schwartz 7cc4ca2cbb
Revert "Add new env2cross command."
This reverts commit e257a870fe.

The PR adding this command had infinitely hanging CI, and now that it is
merged to master we cannot get any CI on any PR to succeed.
2022-03-08 21:34:39 -05:00
Jussi Pakkanen e257a870fe Add new env2cross command. 2022-03-08 23:40:03 +02:00