diff options
author | Eric Dodd <eric.e.dodd@gmail.com> | 2020-05-21 08:45:44 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-06-10 20:21:47 +0300 |
commit | b9ef132576905049fdf3945ca863eb2674bcc777 (patch) | |
tree | eee40ca09da3c0790fa6469504bcfccca1bcd937 /mesonbuild/envconfig.py | |
parent | 29ef4478df6d3aaca40c7993f125b29409be1de2 (diff) | |
download | meson-irixfix.tar.gz |
Updated to resolve issue identifying SGI CPUs on IRIX systemsirixfix
Diffstat (limited to 'mesonbuild/envconfig.py')
-rw-r--r-- | mesonbuild/envconfig.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py index b74be3521..b0dde6555 100644 --- a/mesonbuild/envconfig.py +++ b/mesonbuild/envconfig.py @@ -64,7 +64,7 @@ known_cpu_families = ( 'wasm32', 'wasm64', 'x86', - 'x86_64' + 'x86_64', ) # It would feel more natural to call this "64_BIT_CPU_FAMILES", but @@ -299,6 +299,10 @@ class MachineInfo: """ return self.system == 'gnu' + def is_irix(self) -> bool: + """Machine is IRIX?""" + return self.system.startswith('irix') + # Various prefixes and suffixes for import libraries, shared libraries, # static libraries, and executables. # Versioning is added to these names in the backends as-needed. |