From 801629215651e387c1796ce574e84017fb64618e Mon Sep 17 00:00:00 2001 From: LTLA Date: Thu, 5 Sep 2024 10:51:47 -0700 Subject: [PATCH] Don't attempt OpenMP support as this fails with forking. --- inst/NEWS.Rd | 2 +- src/Makevars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index eb33dbc..2313f48 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -6,7 +6,7 @@ \item Switched to the new \pkg{knncolle} C++ libaries for all implementations. This greatly streamlines the internals and allows downstream packages to re-use the search indices in their own C++ code. -\item Parallelization is now performed using OpenMP (where available) and the standard \code{} library (otherwise). +\item Parallelization is now performed using the standard \code{} library. This avoids the overhead of forking or starting new processes via \pkg{BiocParallel}. \item All \code{*Index} classes have been removed. diff --git a/src/Makevars b/src/Makevars index fb3d30b..1d35f88 100644 --- a/src/Makevars +++ b/src/Makevars @@ -1 +1 @@ -PKG_CXXFLAGS=-I../inst/include +PKG_CPPFLAGS=-I../inst/include