summaryrefslogtreecommitdiff
path: root/math/hptt/Makefile
blob: 3f7471d1a920d4a9b376b2f4412d8dafb4e6b014 (plain)
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
PORTNAME=	hptt
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.5-18
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g9425386
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	High-Performance Tensor Transpose library
WWW=		https://github.com/springer13/hptt

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

TEST_DEPENDS=	gmake:devel/gmake

USES=		cmake:testing compiler:c++11-lang
USE_GCC=	yes # workaround for https://github.com/springer13/hptt/issues/21

USE_GITHUB=	yes
GH_ACCOUNT=	springer13

CMAKE_ON=	BUILD_SHARED_LIBS

do-test: # tests fail to build, see https://github.com/springer13/hptt/issues/23
	@cd ${WRKSRC}/testframework && ${SETENV} ${MAKE_ENV} ${GMAKE} FREEBSD_GCC_DEFAULT=${GCC_DEFAULT} all

.include <bsd.port.mk>