From 63b206b26446e4882603c63d95e3dc5ca39ae1b6 Mon Sep 17 00:00:00 2001 From: lavakin Date: Tue, 8 Oct 2024 17:14:47 +0200 Subject: [PATCH 1/2] disable parallel. on linux --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a040585e..0e5d9bf3 100755 --- a/configure +++ b/configure @@ -87,7 +87,7 @@ detect_openmp () { export PKG_CXXFLAGS="" export PKG_CPPFLAGS="" if [ "$(uname)" = "Linux" ]; 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 echo "yes" @@ -107,6 +107,7 @@ detect_openmp () { else echo "no" fi + ' fi # uname=Linux if [ "$(uname)" = "Darwin" ]; then From 30fc59654e39e6a399bd34d9d4b0c6d957f35b81 Mon Sep 17 00:00:00 2001 From: lavakin Date: Tue, 8 Oct 2024 17:19:59 +0200 Subject: [PATCH 2/2] merge --- test | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 test diff --git a/test b/test deleted file mode 100644 index df9c866a..00000000 --- a/test +++ /dev/null @@ -1,6 +0,0 @@ -if echo | ${CC} -fopenmp -dM -E - 2>/dev/null | grep -q "openmp" && [ -d -"/usr/local/opt/libomp/include" ]; then - echo "Both OpenMP and libomp are supported." -else - echo "Either OpenMP is not supported or libomp is not installed." -fi