aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-09-14 20:26:14 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-09 21:07:23 +0200
commit24221d71ccd341759b008cf1918826910c40247c (patch)
tree16edc7011ba57678fbe8393d7076966dc70564df /mesonbuild/environment.py
parent9cf0991a1d332cb1f492376bf718aa75020519e4 (diff)
downloadmeson-24221d71ccd341759b008cf1918826910c40247c.zip
meson-24221d71ccd341759b008cf1918826910c40247c.tar.gz
meson-24221d71ccd341759b008cf1918826910c40247c.tar.bz2
Created a Python 3 module for simpler building of Python extension modules.
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