Skip to content
Back to formatted view

Raw Message

Message-ID: <20251230120430.27986b8d@Tarkus>
Date: 2025-12-30T09:04:30Z
From: Ivan Krylov
Subject: data.table does not find openmp support
In-Reply-To: <1259A1E8-6C08-4577-8B0A-350B367C8EC8@hotmail.com>

? 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