System tbb autodetection
Would you be interested in this? I.e., a piece of code that detects tbb and sets TBB_LIB and TBB_INC automatically. If so,
- I can work on this (low priority, for a future release).
- What's the proper place for this? I'm willing to contribute the Unix version, and thus the most natural way for this would be shell code in the
configurescript.
I would definitely welcome that.
RcppParallel uses configure for configuring (I wrote an R package for this because of how much I hate writing shell / autoconf scripts), so the right place to add this auto-configure code would be around here:
https://github.com/RcppCore/RcppParallel/blob/master/tools/config/configure.R
Note that this runs on both Windows + Unix by default, so you'd want to shield with .Platform$OS.type or something similar for unix-specific stuff.
Perfect, I'll prepare a PR when I find some time.
Is this still something worth exploring?
Yes, please keep this open. Apologies for the delay.