aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-01-09 16:36:00 -0500
committerGitHub <noreply@github.com>2017-01-09 16:36:00 -0500
commit34caf6471c0fad8823ce145d3d38afb81ee181ba (patch)
tree17d4a5db37d2df3c3748ec767701f74882fa912e /mesonbuild/environment.py
parent9cf0991a1d332cb1f492376bf718aa75020519e4 (diff)
parent6ac9a8e738dae97c64308da83949931fb726bbe7 (diff)
downloadmeson-34caf6471c0fad8823ce145d3d38afb81ee181ba.zip
meson-34caf6471c0fad8823ce145d3d38afb81ee181ba.tar.gz
meson-34caf6471c0fad8823ce145d3d38afb81ee181ba.tar.bz2
Merge pull request #787 from mesonbuild/py3module
Created a Python 3 module for simpler building of Python extension mo…
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index e4a55b3..64d9f8b 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -899,3 +899,11 @@ class CrossBuildInfo():
self.config['host_machine']['system'] == detect_system():
return False
return True
+
+
+class MachineInfo:
+ def __init__(self, system, cpu_family, cpu, endian):
+ self.system = system
+ self.cpu_family = cpu_family
+ self.cpu = cpu
+ self.endian = endian