conda-forge / r-rstan-feedstock

A conda-smithy repository for r-rstan.
BSD 3-Clause "New" or "Revised" License
1 stars 9 forks source link

tbb-devel needed? #36

Open wolfv opened 5 days ago

wolfv commented 5 days ago

Solution to issue cannot be found in the documentation.

Issue

The r-stan and r-stanheaders seem to both vendor rcpp-parallel files.

The files contain a libtbb.dylib in the $PREFIX/lib/R/library/RcppParallel/lib/libtbb.dylib folder.

This library links has an rpath to $PREFIX/lib and links to libtbb.dylib. However, the tbb package nowadays only ships libtbb.12.dylib. The "simple" libtbb.dylib is in the tbb-devel package.

The easiest fix would be to add a dependency on tbb-devel.

Installed packages

///

Environment info

///
mfansler commented 4 days ago

Possibly related: https://github.com/conda-forge/r-rcppparallel-feedstock/issues/29. Though that was specifically about win-64 vendoring - I wasn't aware this was also vendoring on other platforms.