2026-05-07 06:07 UTC
In an R package, I am linking against R's LAPACK but ideally would like to have access to the the single precision float routines, which are not bundled there (on windows) because R does not use them. Does anyone have a recommendation how to also get access to f32 routines on windows? #rstats
Replies (1)
-
@funkylab@mastodon.social 2026-05-07 13:32
@sebffischer@mastodon.social bit confused, I've never built R on Windows (and I presume there's more than one toolchain you could use to do that), but I'd presume there's a normal liblapack.dll shipped with that, against which your R was built. get the .lib (MSVC)/ .a (GCC-style toolchains) used to build your R and build your plugin against that? If that's not possible, the cleanest way is just to build your own liblapack (e.g. using Flexiblas or directly using openBLAS or netlib LAPACK), and linking against…