summaryrefslogtreecommitdiff
path: root/strata/core/libtool.morph
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-09-05 09:26:23 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-25 13:41:36 +0000
commit0bbdac15f6495fe7ae7ba671e7128f7e6960ada7 (patch)
tree7fb8fcea0f58d8d95dfd15e4b3951a000c2fb257 /strata/core/libtool.morph
parent1a43012e5c82b3ac165dcdb03dd5932a59c71830 (diff)
downloaddefinitions-0bbdac15f6495fe7ae7ba671e7128f7e6960ada7.tar.gz
core: Set MAKEFLAGS="-j 1" during libtool preconfigure
I got a seemingly random failure in CI: https://gitlab.com/baserock/definitions/-/jobs/31214873 The log line with the actual error is cut off by BuildStream and I can't reproduce the issue locally, but since it's clearly an intermittent problem I can only put it down to the way BuildStream sets MAKEFLAGS during the configure stage affecting the gnulib bootstrap process (which does run `make` at one point).
Diffstat (limited to 'strata/core/libtool.morph')
-rw-r--r--strata/core/libtool.morph10
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/core/libtool.morph b/strata/core/libtool.morph
new file mode 100644
index 00000000..fc44e6fd
--- /dev/null
+++ b/strata/core/libtool.morph
@@ -0,0 +1,10 @@
+name: libtool
+kind: chunk
+build-system: autotools
+configure-commands:
+- >-
+ export NOCONFIGURE=1; export MAKEFLAGS="-j 1";
+ ./bootstrap
+- ./configure --prefix="$PREFIX"
+ --sysconfdir=/etc
+ --localstatedir=/var