[ocaml-camlp4] Increase stack limit on ppc64 (RHBZ#1204876).
Richard W.M. Jones
rjones at fedoraproject.org
Tue Mar 24 12:03:31 UTC 2015
commit 0736cd447d4fc8be0b966898e04abb445425f8d1
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Mar 24 12:03:17 2015 +0000
Increase stack limit on ppc64 (RHBZ#1204876).
ocaml-camlp4.spec | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/ocaml-camlp4.spec b/ocaml-camlp4.spec
index eb3881c..867fb56 100644
--- a/ocaml-camlp4.spec
+++ b/ocaml-camlp4.spec
@@ -11,7 +11,7 @@
Name: ocaml-camlp4
Version: 4.02.1
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: Pre-Processor-Pretty-Printer for OCaml
@@ -52,7 +52,16 @@ This package contains the development files.
%build
+# For ppc64 we need a larger stack than default to compile some files
+# because the stages in the OCaml compiler are not mutually tail
+# recursive.
+%ifarch ppc64 ppc64le
+ulimit -a
+ulimit -s 65536
+%endif
+
./configure
+
# Incompatible with parallel builds:
unset MAKEFLAGS
%if !%{native_compiler}
@@ -112,6 +121,9 @@ make install \
%changelog
+* Tue Mar 24 2015 Richard W.M. Jones <rjones at redhat.com> - 4.02.1-0.4.gitcf1935d3
+- Increase stack limit on ppc64 (RHBZ#1204876).
+
* Mon Feb 16 2015 Richard W.M. Jones <rjones at redhat.com> - 4.02.1-0.3.gitcf1935d3
- Bump release and rebuild.
More information about the scm-commits
mailing list