ports/devel/R-cran-data.table/files/patch-configure
Nuno Teixeira 2a132052a9 devel/R-cran-data.table: Update to 1.16.4
- Use openmp by default
- Fix tests with upstream patch

ChangeLog: https://cran.r-project.org/web/packages/data.table/news/news.html
2025-01-03 14:38:03 +00:00

16 lines
502 B
Text

Enable openmp by default
See also:
https://github.com/Rdatatable/data.table/issues/6559#issuecomment-2407642567
--- configure.orig 2025-01-03 12:25:30 UTC
+++ configure
@@ -84,7 +84,7 @@ detect_openmp () {
detect_openmp () {
- if [ "$(uname)" = "Linux" ]; then
+ if [ "$(uname)" = "Linux" ] || [ "$(uname)" = "FreeBSD" ]; then
printf "%s" "* checking if R installation supports OpenMP without any extra hints... "
if "${R_HOME}/bin/R" CMD SHLIB test-omp.c >> config.log 2>&1; then