Without these, compilation fails in a package that uses parallelReduce() with a Worker . (Compilation works on Windows with the same package.) I haven't checked if work happens in parallel when I add these flags.
RcppParallel::RcppParallelLibs()
RcppParallel:::tbbLdFlags()
#> [1] ""
Created on 2020-08-30 by the reprex package (v0.3.0)
Example package
I was unable to whip up a reprex using Rcpp::compileFunction() .
Error message
undefined symbol: _ZN3tbb4task13note_affinityEt
Without these, compilation fails in a package that uses
parallelReduce()with aWorker. (Compilation works on Windows with the same package.) I haven't checked if work happens in parallel when I add these flags.Created on 2020-08-30 by the reprex package (v0.3.0)
Example package
I was unable to whip up a reprex using
Rcpp::compileFunction().Error message