blob: 466b1d27372bbcd4d60351f16bb0f9c1472e68e5 (
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
|
PORTNAME= randomx
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Proof of work algorithm based on random code execution
WWW= https://github.com/tevador/RandomX
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64le= compilation error: vectorized code fails to compile, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276282
USES= cmake:testing compiler:c++11-lang
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= tevador
GH_PROJECT= RandomX
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_TESTING_TARGET=
PLIST_FILES= include/randomx.h \
lib/librandomx.so
post-test: # run tests
@cd ${BUILD_WRKSRC} && ./randomx-tests
.include <bsd.port.mk>
|