Add ulimit -s
11530000 (set stack limit to 11GiB) to src_compile() to
try to avoid stack overflow errors.
Closes: https://bugs.gentoo.org/644352
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15433
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
}
src_compile() {
+ # Increase stack limit to 11GiB to avoid stack overflow error.
+ ulimit -s 11530000
emake byte
use ocamlopt && emake native
}
}
src_compile() {
+ # Increase stack limit to 11GiB to avoid stack overflow error.
+ ulimit -s 11530000
emake byte
use ocamlopt && emake native
}
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
}
src_compile() {
+ # Increase stack limit to 11GiB to avoid stack overflow error.
+ ulimit -s 11530000
emake byte
use ocamlopt && emake native
}