Skip to content

Commit

Permalink
Move analysisBudget to scalacOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
tedyu committed Mar 17, 2016
1 parent 298c8fe commit a5403b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ object SparkBuild extends PomBuild {
// in the same way as Maven which handles -Dname as -Dname=true before executes build process.
// see: https://github.com/apache/maven/blob/maven-3.0.4/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L1082
System.setProperty("scala-2.10", "true")
System.setProperty("scalac.patmat.analysisBudget", "512")
}
profiles
}
Expand Down Expand Up @@ -193,6 +192,7 @@ object SparkBuild extends PomBuild {

scalacOptions in Compile ++= Seq(
s"-target:jvm-${scalacJVMVersion.value}",
"-Dscalac.patmat.analysisBudget=512",
"-sourcepath", (baseDirectory in ThisBuild).value.getAbsolutePath // Required for relative source links in scaladoc
),

Expand Down

0 comments on commit a5403b1

Please sign in to comment.