mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
- Use openmp by default - Fix tests with upstream patch ChangeLog: https://cran.r-project.org/web/packages/data.table/news/news.html
16 lines
502 B
Text
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
|