Re: data.table does not find openmp support

Ivan Krylov via R-help <[email protected]> Tue, 30 Dec 2025 12:04:30 +0300
Newsgroups gmane.comp.lang.r.general
Message-ID <20251230120430.27986b8d@Tarkus>
В Tue, 30 Dec 2025 04:30:16 +0000
Naresh Gurbuxani <[email protected]> пишет:

> > Sys.setenv(PKG_LIBS = "/usr/local/lib/libomp.dylib")
> > Sys.getenv("PKG_LIBS")  
> [1] "/usr/local/lib/libomp.dylib"
> > install.packages("data.table", type = "source")  

Sorry, I forgot that the "checking if R installation supports OpenMP
without any extra hints" test only happens on Linux. Looks like the
current ./configure will always add -lomp to PKG_LIBS and break the
build unless you're running Xcode <= 16.2.

If you're interested in testing a development version of data.table,
could you please try compiling from the 'fix-macos-15-image' branch?
https://github.com/Rdatatable/data.table/pull/7318

-- 
Best regards,
Ivan