benchmarks/libcelero: Update 2.6.0 -> 2.7.0
Reported by: portscout
This commit is contained in:
parent
0f78ed1c1f
commit
3b9968a19b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566496
2 changed files with 19 additions and 15 deletions
|
@ -2,8 +2,7 @@
|
|||
|
||||
PORTNAME= libcelero
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.6.0
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 2.7.0
|
||||
CATEGORIES= benchmarks
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -13,27 +12,32 @@ LICENSE= APACHE20
|
|||
LICENSE_FILE= ${WRKSRC}/license.txt
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/sys/sysinfo.h:devel/libsysinfo
|
||||
LIB_DEPENDS= libsysinfo.so:devel/libsysinfo
|
||||
TEST_DEPENDS= googletest>0:devel/googletest
|
||||
|
||||
USES= cmake compiler:c++14-lang localbase:ldflags
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USES= cmake compiler localbase:ldflags
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= DigitalInBlue
|
||||
GH_PROJECT= Celero
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
LDFLAGS+= -lsysinfo
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
||||
USE_GCC= yes
|
||||
.else
|
||||
# workaround for breakage with clang-10: https://github.com/DigitalInBlue/Celero/issues/142
|
||||
LLVM_VER= 80
|
||||
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
|
||||
CPP= clang-cpp${LLVM_VER}
|
||||
CC= clang${LLVM_VER}
|
||||
CXX= clang++${LLVM_VER}
|
||||
.if ${ARCH:Mpowerpc64*}
|
||||
. if ${ARCH:Mpowerpc64*}
|
||||
CFLAGS+= -mabi=elfv2
|
||||
.endif
|
||||
. endif
|
||||
.endif
|
||||
|
||||
do-test:
|
||||
@cd ${BUILD_WRKSRC} && \
|
||||
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DCELERO_ENABLE_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
||||
${BUILD_WRKSRC}/celero-test
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1571372103
|
||||
SHA256 (DigitalInBlue-Celero-v2.6.0_GH0.tar.gz) = a5b72da254f81d42369382ba3157229b6b32ebbb670a22b185f80db95535e66e
|
||||
SIZE (DigitalInBlue-Celero-v2.6.0_GH0.tar.gz) = 111712
|
||||
TIMESTAMP = 1614188912
|
||||
SHA256 (DigitalInBlue-Celero-v2.7.0_GH0.tar.gz) = 4a72fe65dec6c9f36e981daaacba52e36fe3b14be19877f421c5507537c7c0ba
|
||||
SIZE (DigitalInBlue-Celero-v2.7.0_GH0.tar.gz) = 113300
|
||||
|
|
Loading…
Reference in a new issue