Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2021 18:19:53 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566496 - head/benchmarks/libcelero
Message-ID:  <202102241819.11OIJrmZ085205@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Feb 24 18:19:53 2021
New Revision: 566496
URL: https://svnweb.freebsd.org/changeset/ports/566496

Log:
  benchmarks/libcelero: Update 2.6.0 -> 2.7.0
  
  Reported by:	portscout

Modified:
  head/benchmarks/libcelero/Makefile
  head/benchmarks/libcelero/distinfo

Modified: head/benchmarks/libcelero/Makefile
==============================================================================
--- head/benchmarks/libcelero/Makefile	Wed Feb 24 18:12:58 2021	(r566495)
+++ head/benchmarks/libcelero/Makefile	Wed Feb 24 18:19:53 2021	(r566496)
@@ -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 localbase:ldflags
+USES=		cmake compiler:c++14-lang localbase:ldflags
+USE_LDCONFIG=	yes
+
 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>

Modified: head/benchmarks/libcelero/distinfo
==============================================================================
--- head/benchmarks/libcelero/distinfo	Wed Feb 24 18:12:58 2021	(r566495)
+++ head/benchmarks/libcelero/distinfo	Wed Feb 24 18:19:53 2021	(r566496)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102241819.11OIJrmZ085205>