summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-12-13 15:25:00 +0100
committerMartin Kosek <mkosek@redhat.com>2013-12-13 15:25:00 +0100
commit737922c563e684edb451f6541665d0ce842e207e (patch)
tree6b97e8766816d5be64f2400e7928a611c16f262b /Makefile
parentee87f1cc3e858b9daa365aac9d93f3e081ce19ea (diff)
downloadfreeipa.git-737922c563e684edb451f6541665d0ce842e207e.tar.gz
freeipa.git-737922c563e684edb451f6541665d0ce842e207e.tar.xz
freeipa.git-737922c563e684edb451f6541665d0ce842e207e.zip
Increase stack size for Web UI builder
Web UI build fails on some architectures or configuration due to StackOverflow. This patch increases the stack size to solve it. 512k is usually enough but we encountered fail on ppc64 even with 2m, therefore the 8m. The build is single threaded so it shouldn't waste much memory.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a21cf7e3..eeeb605c 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,11 @@ endif
PYTHON ?= $(shell rpm -E %__python)
+# Uncomment to increase Java stack size for Web UI build in case it fails
+# because of stack overflow exception. Default should be OK for most platforms.
+#JAVA_STACK_SIZE ?= 8m
+#export JAVA_STACK_SIZE
+
all: bootstrap-autogen server tests
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \