aboutsummaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-07-25 23:08:13 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-07-27 00:55:27 +0300
commit37b2a195bd24d71044474129cdf4af3540770618 (patch)
tree239d718c31e4ff655d494bfcb52ff133b9cfc9ad /meson.py
parent463d08d5459a05807e63c833b56614bc8c59643a (diff)
downloadmeson-37b2a195bd24d71044474129cdf4af3540770618.zip
meson-37b2a195bd24d71044474129cdf4af3540770618.tar.gz
meson-37b2a195bd24d71044474129cdf4af3540770618.tar.bz2
Get build machine's CPU info too.
Diffstat (limited to 'meson.py')
-rwxr-xr-xmeson.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.py b/meson.py
index 6628a48..6d37c68 100755
--- a/meson.py
+++ b/meson.py
@@ -126,6 +126,7 @@ itself as required.'''
mlog.log('Build type:', mlog.bold('native build'))
b = build.Build(env)
intr = interpreter.Interpreter(b)
+ mlog.log('Build machine cpu:', mlog.bold(intr.builtin['build_machine'].cpu_method([], {})))
if env.is_cross_build():
mlog.log('Host machine cpu:', mlog.bold(intr.builtin['host_machine'].info['cpu']))
mlog.log('Target machine cpu:', mlog.bold(intr.builtin['target_machine'].info['cpu']))