data.table does not find openmp support
? Tue, 30 Dec 2025 04:30:16 +0000 Naresh Gurbuxani <naresh_gurbuxani at hotmail.com> ?????:
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