Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
0b957997
Commit
0b957997
authored
11 years ago
by
Matei Zaharia
Browse files
Options
Downloads
Plain Diff
Merge pull request #908 from pwendell/master
Fix target JVM version in scala build
parents
04cfb3aa
27bd74c8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
project/SparkBuild.scala
+7
-1
7 additions, 1 deletion
project/SparkBuild.scala
with
7 additions
and
1 deletion
project/SparkBuild.scala
+
7
−
1
View file @
0b957997
...
...
@@ -33,6 +33,10 @@ object SparkBuild extends Build {
// HBase version; set as appropriate.
val
HBASE_VERSION
=
"0.94.6"
// Target JVM version
val
SCALAC_JVM_VERSION
=
"jvm-1.5"
val
JAVAC_JVM_VERSION
=
"1.5"
lazy
val
root
=
Project
(
"root"
,
file
(
"."
),
settings
=
rootSettings
)
aggregate
(
allProjects
:
_
*
)
lazy
val
core
=
Project
(
"core"
,
file
(
"core"
),
settings
=
coreSettings
)
...
...
@@ -77,7 +81,9 @@ object SparkBuild extends Build {
organization
:=
"org.apache.spark"
,
version
:=
"0.8.0-SNAPSHOT"
,
scalaVersion
:=
"2.9.3"
,
scalacOptions
:=
Seq
(
"-unchecked"
,
"-optimize"
,
"-deprecation"
),
scalacOptions
:=
Seq
(
"-unchecked"
,
"-optimize"
,
"-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
},
retrieveManaged
:=
true
,
retrievePattern
:=
"[type]s/[artifact](-[revision])(-[classifier]).[ext]"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment