You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/07/11 06:58:00 UTC
git commit: [SPARK-2358][MLLIB] Add an option to include native
BLAS/LAPACK loader in the build
Repository: spark
Updated Branches:
refs/heads/master 10b59ba23 -> 2f59ce7db
[SPARK-2358][MLLIB] Add an option to include native BLAS/LAPACK loader in the build
It would be easy for users to include the netlib-java jniloader in the spark jar, which is LGPL-licensed. We can follow the same approach as ganglia support in Spark, which could be enabled by turning on "-Pganglia-lgpl" at build time. We can use "-Pnetlib-lgpl" flag for this.
Author: Xiangrui Meng <me...@databricks.com>
Closes #1295 from mengxr/netlib-lgpl and squashes the following commits:
aebf001 [Xiangrui Meng] add a profile to optionally include native BLAS/LAPACK loader in mllib
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/2f59ce7d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/2f59ce7d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/2f59ce7d
Branch: refs/heads/master
Commit: 2f59ce7dbe2fe2ff31e2629bb34572d39098d638
Parents: 10b59ba
Author: Xiangrui Meng <me...@databricks.com>
Authored: Thu Jul 10 21:57:54 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Thu Jul 10 21:57:54 2014 -0700
----------------------------------------------------------------------
mllib/pom.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/2f59ce7d/mllib/pom.xml
----------------------------------------------------------------------
diff --git a/mllib/pom.xml b/mllib/pom.xml
index 87afd7e..92b07e2 100644
--- a/mllib/pom.xml
+++ b/mllib/pom.xml
@@ -78,6 +78,19 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>netlib-lgpl</id>
+ <dependencies>
+ <dependency>
+ <groupId>com.github.fommil.netlib</groupId>
+ <artifactId>all</artifactId>
+ <version>1.1.2</version>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>