Skip to content

Commit

Permalink
Merge pull request apache#64 from Shopify/kevincox-parallel-compile
Browse files Browse the repository at this point in the history
Use multiple processes while building.
  • Loading branch information
kevincox committed Aug 24, 2015
2 parents f7b4551 + 57c350d commit 24c40b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/setup
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ fi
FWDIR="$(cd `dirname $0`/..; pwd)"
export HADOOP_OPTIONS="$(cat $FWDIR/SHOPIFY_HADOOP_OPTIONS)"
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
build/mvn $HADOOP_OPTIONS -DskipTests clean package
build/mvn $HADOOP_OPTIONS -DskipTests -T1C clean package
2 changes: 1 addition & 1 deletion script/watch
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e
FWDIR="$(cd `dirname $0`/..; pwd)"
export HADOOP_OPTIONS="$(cat $FWDIR/SHOPIFY_HADOOP_OPTIONS)"
export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"
mvn $HADOOP_OPTIONS scala:cc
build/mvn $HADOOP_OPTIONS -T1C scala:cc

0 comments on commit 24c40b7

Please sign in to comment.