Title: RcppParallel.h disables TBB on Alpine Linux · Issue #231 · RcppCore/RcppParallel · GitHub
Open Graph Title: RcppParallel.h disables TBB on Alpine Linux · Issue #231 · RcppCore/RcppParallel
X Title: RcppParallel.h disables TBB on Alpine Linux · Issue #231 · RcppCore/RcppParallel
Description: Documentation says packages should call tbb only #if RCPP_PARALLEL_USE_TBB, which is false on Alpine Linux due to RcppParallel/inst/include/RcppParallel.h Lines 13 to 17 in 69d50f6 # if defined(__APPLE__) || defined(__gnu_linux__) || (de...
Open Graph Description: Documentation says packages should call tbb only #if RCPP_PARALLEL_USE_TBB, which is false on Alpine Linux due to RcppParallel/inst/include/RcppParallel.h Lines 13 to 17 in 69d50f6 # if defined(__A...
X Description: Documentation says packages should call tbb only #if RCPP_PARALLEL_USE_TBB, which is false on Alpine Linux due to RcppParallel/inst/include/RcppParallel.h Lines 13 to 17 in 69d50f6 # if defined(__A...
Opengraph URL: https://github.com/RcppCore/RcppParallel/issues/231
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RcppParallel.h disables TBB on Alpine Linux","articleBody":"[Documentation](https://rcppcore.github.io/RcppParallel/tbb.html#portability) says packages should call tbb only `#if RCPP_PARALLEL_USE_TBB`, which is false on Alpine Linux due to\n\u003chttps://github.com/RcppCore/RcppParallel/blob/69d50f65fa6cfc8163cccf09c6a500e55f1e24a7/inst/include/RcppParallel.h#L13-L17\u003e\nI was able to successfully install RcppParallel using the system TBB (via `--configure-vars='TBB_LIB=/usr/lib TBB_INC=/usr/include'`), but the above means packages LinkingTo RcppParallel won't usually use TBB anyway.\n\nFurthermore, several packages don't seem to use TBB conditionally, at least\n\n- CaseBasedReasoning\n- DER\n- FLSSS\n- GenomeAdmixR\n- RcppMeCab\n- ~Scalelink~\n- evesim\n- junctions\n- secsse\n\nfail to compile on Alpine Linux with errors such as \"error: 'tbb' does not name a type\" or \"error: 'tbb' has not been declared\" (see the corresponding outputs at \u003chttps://github.com/bastistician/Rcheck/tree/results/musl/issues\u003e).\n\nIs there something RcppParallel[.h] could do better with regard to its default setting so TBB is used by packages on Alpine Linux if RcppParallel was installed with the system TBB?","author":{"url":"https://github.com/bastistician","@type":"Person","name":"bastistician"},"datePublished":"2024-12-22T17:15:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/231/RcppParallel/issues/231"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a9609a40-5531-05a0-b310-4a0eacfee47c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A49A:22E260:3713F24:4A1D4D6:6970769C |
| html-safe-nonce | 59271c5eea1d5fbee299299a0571f78fe4e3f1c44a54f5bfb28433885d37709b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDlBOjIyRTI2MDozNzEzRjI0OjRBMUQ0RDY6Njk3MDc2OUMiLCJ2aXNpdG9yX2lkIjoiNTc1MTU5NzQ0MDUzOTMzNzI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 84d8c422a8eb7dc70bbdb24d4130676b8aeae0d5df3b2eb215889f8ec2f877ec |
| hovercard-subject-tag | issue:2754754567 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RcppCore/RcppParallel/231/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4122d004f70168ceaeb38ff8ec6ddee8feddd5bca6c60f2c0a4e3c24804a32f7/RcppCore/RcppParallel/issues/231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4122d004f70168ceaeb38ff8ec6ddee8feddd5bca6c60f2c0a4e3c24804a32f7/RcppCore/RcppParallel/issues/231 |
| og:image:alt | Documentation says packages should call tbb only #if RCPP_PARALLEL_USE_TBB, which is false on Alpine Linux due to RcppParallel/inst/include/RcppParallel.h Lines 13 to 17 in 69d50f6 # if defined(__A... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bastistician |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/RcppCore/RcppParallel git https://github.com/RcppCore/RcppParallel.git |
| octolytics-dimension-user_id | 5811336 |
| octolytics-dimension-user_login | RcppCore |
| octolytics-dimension-repository_id | 21576989 |
| octolytics-dimension-repository_nwo | RcppCore/RcppParallel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21576989 |
| octolytics-dimension-repository_network_root_nwo | RcppCore/RcppParallel |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width