blob: 2f07c4f8b78a64023fac98e89db6be0191ec5c01 (
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
29
30
31
|
PORTNAME= tfhe
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1-30
DISTVERSIONSUFFIX= -ga085efe
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast Fully Homomorphic Encryption (FHE) library over the Torus
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 # because of arch-specific assembly
BUILD_DEPENDS= cmake:devel/cmake
TEST_DEPENDS= fftw3>0:math/fftw3 \
googletest>0:devel/googletest
USES= compiler:c++11-lang gmake localbase:ldflags
USE_GITHUB= yes
USE_LDCONFIG= yes
BINARY_ALIAS= make=${GMAKE}
TEST_TARGET= test # -avx and -fma will fail where no such hardware optimization is available
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
.include <bsd.port.mk>
|