aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-07-06 11:59:18 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2018-07-07 11:47:42 +0300
commit9bc9e9f306d6418c61e3bc602c3ced60a698c37d (patch)
tree3999a9f42e1268675ed67f75f6d15c5b83b12ec3
parente3e2e4ca14f29bb6b78582092b91fa4567af4fc2 (diff)
downloadmeson-9bc9e9f306d6418c61e3bc602c3ced60a698c37d.zip
meson-9bc9e9f306d6418c61e3bc602c3ced60a698c37d.tar.gz
meson-9bc9e9f306d6418c61e3bc602c3ced60a698c37d.tar.bz2
Ask for more details when warning about unknown arch [skip appveyor]
-rw-r--r--mesonbuild/environment.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index f96e63f..0aa0b32 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -230,7 +230,9 @@ def detect_cpu_family(compilers):
# Add fixes here as bugs are reported.
if trial not in known_cpu_families:
- mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial)
+ mlog.warning('Unknown CPU family {!r}, please report this at '
+ 'https://github.com/mesonbuild/meson/issues/new with the'
+ 'output of `uname -a` and `cat /proc/cpuinfo`'.format(trial))
return trial