DataSlingers/ExclusiveLasso

OpenMP Support

Closed this issue · 0 comments

Recent versions of Armadillo (and hence RcppArmadillo) come with OpenMP support, used to speed
up certain expensive elementwise operators. Compiler support for OpenMP is inconsistent (particularly on MacOS) so we should disable this for now and re-enable it when the upstream fix is on CRAN.[1]

  • Disable OpenMP for now
  • Add dependency on recent RcppArmadillo when released to CRAN
  • Re-enable OpenMP (conditionally)

[1] See RcppCore/RcppArmadillo#177 and RcppCore/RcppArmadillo#185, especially RcppCore/RcppArmadillo@dc294cb