aboutsummaryrefslogtreecommitdiffstats
path: root/devel/R-cran-data.table/files/patch-configure
blob: cfb8205ea9e99a9fffea75ef40a5d05b6947723b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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