Xavier Claessens
dbb857dd71
env2mfile: Take pkg-config properties from env
2 years ago
Xavier Claessens
62a5673b98
env2mfile: Take binaries from env for cross file too
2 years ago
Xavier Claessens
1ab7d3b28e
env2mfile: Not all compilers have env for flags
2 years ago
Jussi Pakkanen
65482497d3
Import cpu detection fix from Debian.
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033579
2 years ago
Jussi Pakkanen
5ccac0699f
Add detection code for powerpc64le.
...
Originally from:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019413
2 years ago
Jussi Pakkanen
38b6d6d61a
Add a deb_ prefix to constants that are only used in Debian system detection.
2 years ago
Jussi Pakkanen
2aa4d6e54e
Handle a cross compilation setup that only has a C compiler.
2 years ago
Jussi Pakkanen
bc38db035e
Add Debian platform autodetect to env2mfile.
2 years ago
Eli Schwartz
c9ac73a4da
simplify instantiation of builtin type using builtins instead of functions
2 years ago
Jussi Pakkanen
fd43842041
Fix writing single strings in env2mfile.
2 years ago
Jussi Pakkanen
611bd4e6db
Add CMake to cross file.
...
Original patch by Helmut Grohne.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023744
2 years ago
Jussi Pakkanen
318579b367
Fix ppc64 detection in Debian.
...
Original patch by Helmut Grohne.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023744
2 years ago
Dylan Baker
8c819ab805
pylint: enable unspecified-encoding
2 years ago
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.
2 years ago
Eli Schwartz
462b35e4b1
flake8: fix various whitespace nits
3 years ago
Eli Schwartz
a49cd00d64
treewide: various cleanups to move imports for mypy into typechecking blocks
...
Along the way, add __future__ annotations where lacking.
3 years ago
Jussi Pakkanen
b78d33f0b5
Fix typo that breaks g++ cross detection on Debian.
3 years ago
Jussi Pakkanen
04ef7ec45d
Add new env2mfile command.
3 years ago
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.
3 years ago
Jussi Pakkanen
e257a870fe
Add new env2cross command.
3 years ago