ports/math/clblas/Makefile
Mark Linimon 724984f2c8 Attempt to fix build on GCC-based systems by removing stray ";" characters.
This fix should go upstream.

However, at least on powerpc64, the patch is necessary but insufficient:

  src/library/tools/tune/tune.c:137: error: 'CLOCK_REALTIME' undeclared (first use in this function)

After spending some time examining the wrkdir, I can't find its declaration.
OTOH the build succeeds on amd64.

This may need to be worked on by the upstream.

Approved by:	portmgr (tier-2 blanket)
2019-06-21 12:18:11 +00:00

38 lines
875 B
Makefile

# Created by: Johannes Dieterich <dieterich@ogolem.org>
# $FreeBSD$
PORTNAME= clblas
PORTVERSION= 2.10
DISTVERSIONPREFIX= v
PORTREVISION= 11
CATEGORIES= math
MAINTAINER= jmd@FreeBSD.org
COMMENT= Software library containing BLAS functions written in OpenCL
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= src/library/tools/tune/tune.c:137: error: 'CLOCK_REALTIME' undeclared (first use in this function)
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
USES= cmake python
USE_LDCONFIG= yes
USE_CXXSTD= gnu++98
USE_GITHUB= yes
GH_ACCOUNT= clMathLibraries
GH_PROJECT= clBLAS
CMAKE_ARGS+= -DBUILD_TEST=OFF \
-DBUILD_KTEST=OFF \
-DCORR_TEST_WITH_ACML=OFF \
-DSUFFIX_LIB=""
CMAKE_SOURCE_PATH= ${WRKSRC}/src
.include <bsd.port.mk>