-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
33 lines (27 loc) · 1.32 KB
/
Portfile
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
32
33
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup R 1.0
R.setup cran RcppCore RcppParallel 5.1.9
revision 0
categories-append devel
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
license GPL-3
description High level functions for parallel programming with Rcpp
long_description {*}${description}
homepage https://rcppcore.github.io/RcppParallel
checksums rmd160 b6a008b22124aa107d8ee13aaeefba72be2fa289 \
sha256 fd0861f3f0f7be4e0ef29c021e75beb351ae2eb18ce5d79e21f2725da4da114f \
size 1632664
# Use our standalone OneTBB instead of the bundled one,
# which does not work correctly in some instances.
# https://github.com/stan-dev/rstan/issues/979
depends_lib-append port:onetbb
build.env-append TBB_INC=${prefix}/libexec/onetbb/include \
TBB_LIB=${prefix}/libexec/onetbb/lib
depends_test-append port:R-knitr \
port:R-Rcpp \
port:R-rmarkdown \
port:R-RUnit
test.run yes
test.env-append TBB_INC=${prefix}/libexec/onetbb/include \
TBB_LIB=${prefix}/libexec/onetbb/lib