aboutsummaryrefslogtreecommitdiffstats
path: root/math/clblas/Makefile
blob: d2802420244f6e299df66ec627f34c33cf75ecc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Johannes Dieterich <dieterich@ogolem.org>
# $FreeBSD$

PORTNAME=   clblas
PORTVERSION=    2.10
DISTVERSIONPREFIX=  v
PORTREVISION=   1
CATEGORIES= math

MAINTAINER= dieterich@ogolem.org
COMMENT=    Software library containing BLAS functions written in OpenCL

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  opencl>=0:devel/opencl
LIB_DEPENDS=    libOpenCL.so:devel/ocl-icd \
        libboost_program_options.so:devel/boost-libs
RUN_DEPENDS=    opencl>=0:devel/opencl

BROKEN_FreeBSD_9=   clBLAS is only supported on FreeBSD 10.1 and newer

USE_GITHUB= yes
GH_ACCOUNT= clMathLibraries
GH_PROJECT= clBLAS

USE_LDCONFIG=   yes
USES=       cmake python

CMAKE_ARGS+=    -DBUILD_TEST=OFF \
        -DBUILD_KTEST=OFF \
        -DCORR_TEST_WITH_ACML=OFF \
        -DSUFFIX_LIB=""

CMAKE_SOURCE_PATH=  ${WRKSRC}/src

.include <bsd.port.mk>