aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Longros <chris.longros@gmail.com>2026-05-13 19:25:56 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2026-05-13 19:31:01 +0000
commite35a06c79a064bf9fa889eabbc42798648cd6bb1 (patch)
tree6b35d97a60bd121cdf3c48afe53593ec1874bf57
parentaf5d2b4c0a78495e55b7a12869455307d1bf0a3d (diff)
math/R-cran-RcppParallel: New port: Parallel programming tools for Rcpp
- Submitter becomes maintainer High-level parallel programming primitives for the R language. Includes the Intel TBB and RcppParallel libraries. WWW: https://rcppcore.github.io/RcppParallel/ PR: 294584 Differential Revision: https://reviews.freebsd.org/D56355
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-RcppParallel/Makefile25
-rw-r--r--math/R-cran-RcppParallel/distinfo3
-rw-r--r--math/R-cran-RcppParallel/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 011ff37818bb..fc38b13ea4b4 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -27,6 +27,7 @@
SUBDIR += R-cran-NMF
SUBDIR += R-cran-RcppArmadillo
SUBDIR += R-cran-RcppEigen
+ SUBDIR += R-cran-RcppParallel
SUBDIR += R-cran-RcppRoll
SUBDIR += R-cran-Rmpfr
SUBDIR += R-cran-Rsolnp
diff --git a/math/R-cran-RcppParallel/Makefile b/math/R-cran-RcppParallel/Makefile
new file mode 100644
index 000000000000..2dc62bc9a0c8
--- /dev/null
+++ b/math/R-cran-RcppParallel/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= RcppParallel
+DISTVERSION= 5.1.11-2
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= chris.longros@gmail.com
+COMMENT= Parallel programming tools for Rcpp
+WWW= https://rcppcore.github.io/RcppParallel/
+
+LICENSE= GPLv3
+
+LIB_DEPENDS= libtbb.so:devel/onetbb
+TEST_DEPENDS= R-cran-knitr>0:print/R-cran-knitr \
+ R-cran-Rcpp>0:devel/R-cran-Rcpp \
+ R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
+ R-cran-RUnit>0:devel/R-cran-RUnit
+
+USES= cran:auto-plist,compiles gmake localbase
+
+CONFIGURE_ENV= TBB_LIB=${LOCALBASE}/lib \
+ TBB_INC=${LOCALBASE}/include
+MAKE_ENV= TBB_LIB=${LOCALBASE}/lib \
+ TBB_INC=${LOCALBASE}/include
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-RcppParallel/distinfo b/math/R-cran-RcppParallel/distinfo
new file mode 100644
index 000000000000..1ddddc612237
--- /dev/null
+++ b/math/R-cran-RcppParallel/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775929540
+SHA256 (RcppParallel_5.1.11-2.tar.gz) = 350d013d62cd80175e1b13fd5bbf973755e331a5d4d4590a163778a24b27980b
+SIZE (RcppParallel_5.1.11-2.tar.gz) = 1634090
diff --git a/math/R-cran-RcppParallel/pkg-descr b/math/R-cran-RcppParallel/pkg-descr
new file mode 100644
index 000000000000..399d8d8d0f03
--- /dev/null
+++ b/math/R-cran-RcppParallel/pkg-descr
@@ -0,0 +1,4 @@
+High level functions for parallel programming with Rcpp. For example,
+the parallelFor function can be used to convert the work of a standard
+serial for loop into a parallel one, and the parallelReduce function
+can be used for accumulating aggregate or other values.