File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,13 @@ tbbLdFlags <- function() {
9898}
9999
100100tbbRoot <- function () {
101+
102+ # TODO: rstan
103+ # parts <- c("libs", if (nzchar(rArch)) rArch, "tbb")
104+
101105 rArch <- .Platform $ r_arch
102- parts <- c(" libs " , if (nzchar(rArch )) rArch , " tbb " )
106+ parts <- c(" lib/tbb " , if (nzchar(rArch )) rArch )
103107 libDir <- paste(parts , collapse = " /" )
104108 system.file(libDir , package = " RcppParallel" )
109+
105110}
Original file line number Diff line number Diff line change 1010 file.copy(" symbols.rds" , dest , overwrite = TRUE )
1111
1212 # copy tbb
13- tbbDest <- file.path(dest , " tbb" )
13+ # TODO: use 'dest' library directory once rstan is updated
14+ tbbDest <- file.path(R_PACKAGE_DIR , " lib/tbb" , R_ARCH )
1415 dir.create(tbbDest , recursive = TRUE , showWarnings = FALSE )
1516
1617 # check for bundled vs. system tbb
You can’t perform that action at this time.
0 commit comments