From 9bc9e9f306d6418c61e3bc602c3ced60a698c37d Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 6 Jul 2018 11:59:18 +0530 Subject: Ask for more details when warning about unknown arch [skip appveyor] --- mesonbuild/environment.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.1