diff options
author | Ismael Juma <ismael@juma.me.uk> | 2011-08-02 10:31:55 +0100 |
---|---|---|
committer | Ismael Juma <ismael@juma.me.uk> | 2011-08-02 10:34:41 +0100 |
commit | 2b6fd3198d182cfbde18444865bbb8be0d06a83e (patch) | |
tree | 0f867b8d46e295f635905e0bb80cd87e0990e3d5 /project | |
parent | 59c7131dff345d7ac314a5a75d21b8c855aa874e (diff) | |
download | spark-2b6fd3198d182cfbde18444865bbb8be0d06a83e.tar.gz spark-2b6fd3198d182cfbde18444865bbb8be0d06a83e.tar.bz2 spark-2b6fd3198d182cfbde18444865bbb8be0d06a83e.zip |
Fix issue #69: Enable -optimize in the build
Diffstat (limited to 'project')
-rw-r--r-- | project/SparkBuild.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index fc14e40d38..8392c63d74 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -17,7 +17,7 @@ object SparkBuild extends Build { organization := "org.spark-project", version := "0.4-SNAPSHOT", scalaVersion := "2.9.0-1", - scalacOptions := Seq(/*"-deprecation",*/ "-unchecked"), // -deprecation is too noisy due to usage of old Hadoop API, enable it once that's no longer an issue + scalacOptions := Seq(/*"-deprecation",*/ "-unchecked", "-optimize"), // -deprecation is too noisy due to usage of old Hadoop API, enable it once that's no longer an issue unmanagedJars in Compile <<= baseDirectory map { base => (base ** "*.jar").classpath }, retrieveManaged := true, transitiveClassifiers in Scope.GlobalScope := Seq("sources"), |