Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move analysisBudget to scalacOptions
  • Loading branch information
tedyu committed Mar 17, 2016
commit a5403b12ef97c6ee2acad00c3e5fd7bfe28dc144
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