diff options
author | Reynold Xin <rxin@apache.org> | 2013-09-26 13:58:10 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2013-09-26 13:58:10 -0700 |
commit | 3f283278b00fc0a98a6c8cccd704bfc476f5d765 (patch) | |
tree | 3f5d85e375b999998cf7bf3f351090e0822d31ca | |
parent | c514cd15879d510406712b1cebdaf0c0db9151c9 (diff) | |
download | spark-3f283278b00fc0a98a6c8cccd704bfc476f5d765.tar.gz spark-3f283278b00fc0a98a6c8cccd704bfc476f5d765.tar.bz2 spark-3f283278b00fc0a98a6c8cccd704bfc476f5d765.zip |
Removed scala -optimize flag.
-rw-r--r-- | pom.xml | 1 | ||||
-rw-r--r-- | project/SparkBuild.scala | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -557,7 +557,6 @@ <useZincServer>true</useZincServer> <args> <arg>-unchecked</arg> - <arg>-optimise</arg> <arg>-deprecation</arg> </args> <jvmArgs> diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 99cdadb9e7..aef246d8a9 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -81,7 +81,7 @@ object SparkBuild extends Build { organization := "org.apache.spark", version := "0.9.0-incubating-SNAPSHOT", scalaVersion := "2.9.3", - scalacOptions := Seq("-Xmax-classfile-name", "120", "-unchecked", "-optimize", "-deprecation", + scalacOptions := Seq("-Xmax-classfile-name", "120", "-unchecked", "-deprecation", "-target:" + SCALAC_JVM_VERSION), javacOptions := Seq("-target", JAVAC_JVM_VERSION, "-source", JAVAC_JVM_VERSION), unmanagedJars in Compile <<= baseDirectory map { base => (base / "lib" ** "*.jar").classpath }, |