[glib/wip/meson: 40/53] meson: Print output for more compiler checks
- From: Tim-Philipp Müller <tpm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/meson: 40/53] meson: Print output for more compiler checks
- Date: Sat, 13 May 2017 14:10:48 +0000 (UTC)
commit 9e6872138465fae1f83688cf34aa3b68a5dd9180
Author: Nirbheek Chauhan <nirbheek centricular com>
Date: Tue Mar 21 16:41:40 2017 +0530
meson: Print output for more compiler checks
When no 'name:' kwarg is specified for cc.run, no output is printed.
This makes it difficult to figure out what is causing a pause in the
configure process.
meson.build | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5ee927c..c8dbe99 100644
--- a/meson.build
+++ b/meson.build
@@ -1104,12 +1104,12 @@ else
error('FIX POLL* defines')
endif
-value_POLLIN = cc.run(templ.format('POLLIN')).stdout().strip()
-value_POLLOUT = cc.run(templ.format('POLLOUT')).stdout().strip()
-value_POLLPRI = cc.run(templ.format('POLLPRI')).stdout().strip()
-value_POLLERR = cc.run(templ.format('POLLERR')).stdout().strip()
-value_POLLHUP = cc.run(templ.format('POLLHUP')).stdout().strip()
-value_POLLNVAL = cc.run(templ.format('POLLNVAL')).stdout().strip()
+value_POLLIN = cc.run(templ.format('POLLIN'), name : 'POLLIN value').stdout().strip()
+value_POLLOUT = cc.run(templ.format('POLLOUT'), name : 'POLLOUT value').stdout().strip()
+value_POLLPRI = cc.run(templ.format('POLLPRI'), name : 'POLLPRI value').stdout().strip()
+value_POLLERR = cc.run(templ.format('POLLERR'), name : 'POLLERR value').stdout().strip()
+value_POLLHUP = cc.run(templ.format('POLLHUP'), name : 'POLLHUP value').stdout().strip()
+value_POLLNVAL = cc.run(templ.format('POLLNVAL'), name : 'POLLNVAL value').stdout().strip()
glibconfig_conf.set('g_pollin', value_POLLIN)
glibconfig_conf.set('g_pollout', value_POLLOUT)
@@ -1150,7 +1150,7 @@ int main(int argc, char **argv) {
if not meson.has_exe_wrapper()
error('Fix sys define detection for cross build')
endif
- val = cc.run(templ.format(glib_inet_includes, d[0])).stdout().strip()
+ val = cc.run(templ.format(glib_inet_includes, d[0]), name : d[0] + ' value').stdout().strip()
glibconfig_conf.set(d[1], val)
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]