Commit a12d28f7 authored by Jakub Jirutka's avatar Jakub Jirutka

community/java-snappy: reduce sbt's memory requirements

And also download build dependencies into $builddir instead of /tmp.
parent c3fdec2a
......@@ -35,13 +35,11 @@ prepare() {
build() {
cd "$builddir"
JAVA_HOME=/usr/lib/jvm/default-jvm \
make || return 1
JAVA_HOME="/usr/lib/jvm/default-jvm" make || return 1
msg "Downloading SBT and then building JAR (this will take few minutes)..."
./sbt \
-Dsbt.ivy.home=/tmp/sbt/.ivy2 \
JVM_OPTS="-Xms256m -Xmx256m -Xss2m" \
./sbt -no-share -sbt-launch-dir project/.sbt/launchers package
package() {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment