spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matei Zaharia <matei.zaha...@gmail.com>
Subject Re: Building Spark against Scala 2.10.1 virtualized
Date Thu, 05 Jun 2014 20:51:56 GMT
You can modify project/SparkBuild.scala and build Spark with sbt instead of Maven.


On Jun 5, 2014, at 12:36 PM, Meisam Fathi <meisam.fathi@gmail.com> wrote:

> Hi community,
> 
> How should I change sbt to compile spark core with a different version
> of Scala? I see maven pom files define dependencies to scala 2.10.4. I
> need to override/ignore the maven dependencies and use Scala
> virtualized, which needs these lines in a build.sbt file:
> 
> scalaOrganization := "org.scala-lang.virtualized"
> 
> scalaVersion := "2.10.1"
> 
> libraryDependencies += "EPFL" %% "lms" % "0.3-SNAPSHOT"
> 
> scalacOptions += "-Yvirtualize"
> 
> 
> Thanks,
> Meisam


Mime
View raw message