1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Allow to choose between cblas and atlas ports.

Submitted by:	glebius
This commit is contained in:
Dmitry Sivachenko 2014-02-18 08:30:53 +00:00
parent fcdd2c9fbd
commit 7eed5932e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344840

View File

@ -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