Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 08:30:53 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344840 - head/science/py-scikit-learn
Message-ID:  <201402180830.s1I8UrDY021897@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Tue Feb 18 08:30:53 2014
New Revision: 344840
URL: http://svnweb.freebsd.org/changeset/ports/344840
QAT: https://qat.redports.org/buildarchive/r344840/

Log:
  Allow to choose between cblas and atlas ports.
  
  Submitted by:	glebius

Modified:
  head/science/py-scikit-learn/Makefile

Modified: head/science/py-scikit-learn/Makefile
==============================================================================
--- head/science/py-scikit-learn/Makefile	Tue Feb 18 08:30:23 2014	(r344839)
+++ head/science/py-scikit-learn/Makefile	Tue Feb 18 08:30:53 2014	(r344840)
@@ -12,11 +12,20 @@ MAINTAINER=	demon@FreeBSD.org
 COMMENT=	Machine learning algorithms for python
 
 BUILD_DEPENDS=	${PYNUMPY}
-LIB_DEPENDS=	libcblas.so:${PORTSDIR}/math/cblas
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0.8.0:${PORTSDIR}/science/py-scipy
 
 USES=		fortran
+
+OPTIONS_SINGLE=		BLAS
+OPTIONS_SINGLE_BLAS=	CBLAS ATLAS
+OPTIONS_DEFAULT=	CBLAS
+CBLAS_DESC=	Use math/cblas as BLAS library
+ATLAS_DESC=	Use math/atlas as BLAS library
+
+CBLAS_LIB_DEPENDS=	libcblas.so:${PORTSDIR}/math/cblas
+ATLAS_LIB_DEPENDS=	libcblas.so:${PORTSDIR}/math/atlas
+
 LATEST_LINK=	py-${PORTNAME}
 
 USE_PYTHON=	yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402180830.s1I8UrDY021897>