svn commit: r378618 - head/devel/embb
Thomas Zander
riggs at FreeBSD.org
Sat Feb 7 20:19:53 UTC 2015
Author: riggs
Date: Sat Feb 7 20:19:52 2015
New Revision: 378618
URL: https://svnweb.freebsd.org/changeset/ports/378618
QAT: https://qat.redports.org/buildarchive/r378618/
Log:
- Update to upstream version 0.2.2
- Introduce non-default OPTION to run tests during the build process
Modified:
head/devel/embb/Makefile
head/devel/embb/distinfo
head/devel/embb/pkg-plist
Modified: head/devel/embb/Makefile
==============================================================================
--- head/devel/embb/Makefile Sat Feb 7 20:11:53 2015 (r378617)
+++ head/devel/embb/Makefile Sat Feb 7 20:19:52 2015 (r378618)
@@ -2,34 +2,47 @@
# $FreeBSD$
PORTNAME= embb
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.2
CATEGORIES= devel
MAINTAINER= riggs at FreeBSD.org
-COMMENT= Embedded Multicore Building Blocks
+COMMENT= C/C++ library for parallel programming
LICENSE= BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
USE_GITHUB= yes
-GH_ACCOUNT= riggs-
-GH_COMMIT= d40a5c3
+GH_ACCOUNT= siemens
+GH_COMMIT= d9c1d0c
GH_TAGNAME= ${GH_COMMIT}
USES= cmake:outsource compiler:c11
-CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX} \
- -DBUILD_TESTS=OFF
+CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX}
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES TESTS
+
+TESTS_DESC= Build and run parallel unit tests
DOCS_CMAKE_OFF= -DINSTALL_DOCS=OFF
+TESTS_CMAKE_OFF=-DBUILD_TESTS=OFF
+
OPTIONS_SUB= yes
+.include <bsd.port.options.mk>
+
post-patch:
${RM} ${WRKSRC}/doc/examples/CMakeLists.txt
${MV} ${WRKSRC}/doc/examples ${WRKSRC}
+ ${REINPLACE_CMD} -e \
+ 's|$${INSTALL_PREFIX_DOCS} PARENT_SCOPE|"${DOCSDIR}" PARENT_SCOPE|' \
+ ${WRKSRC}/CMakeCommon/SetInstallPaths.cmake
+
+.if ${PORT_OPTIONS:MTESTS}
+post-build:
+ (cd ${BUILD_WRKSRC}/binaries && ./run_tests.sh)
+.endif
post-install:
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}/${EXAMPLESDIR}
Modified: head/devel/embb/distinfo
==============================================================================
--- head/devel/embb/distinfo Sat Feb 7 20:11:53 2015 (r378617)
+++ head/devel/embb/distinfo Sat Feb 7 20:19:52 2015 (r378618)
@@ -1,2 +1,2 @@
-SHA256 (embb-0.2.1.tar.gz) = ff4b0b82cbb4e9596576117f1c24dcb4e1899e8e486b4422da39bd47c0394a29
-SIZE (embb-0.2.1.tar.gz) = 1447957
+SHA256 (embb-0.2.2.tar.gz) = 9e7ec9e5983edb025e7b59302fe88da8cd9ac4c8de1429dff7b0920dc9d6d3b0
+SIZE (embb-0.2.2.tar.gz) = 1451333
Modified: head/devel/embb/pkg-plist
==============================================================================
--- head/devel/embb/pkg-plist Sat Feb 7 20:11:53 2015 (r378617)
+++ head/devel/embb/pkg-plist Sat Feb 7 20:19:52 2015 (r378618)
@@ -1,6 +1,5 @@
include/embb/algorithms/algorithms.h
include/embb/algorithms/count.h
-include/embb/algorithms/execution_policy.h
include/embb/algorithms/for_each.h
include/embb/algorithms/identity.h
include/embb/algorithms/internal/count-inl.h
@@ -126,9 +125,9 @@ include/embb/dataflow/internal/tuple.h
include/embb/dataflow/internal/typelist.h
include/embb/dataflow/network.h
include/embb/mtapi/action.h
-include/embb/mtapi/affinity.h
include/embb/mtapi/c/mtapi.h
include/embb/mtapi/continuation.h
+include/embb/mtapi/execution_policy.h
include/embb/mtapi/group.h
include/embb/mtapi/mtapi.h
include/embb/mtapi/node.h
More information about the svn-ports-all
mailing list