On 28 August 2025 at 13:25, quirin stier wrote:
| 
D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include/current/armadillo_bits/config.hpp:373:72:
 note: '#pragma message: NOTE: option ARMA_CRIPPLED_LAPACK is not supported'

That is a side effect from CRAN and me trying to figure out how to accomodate
breaking changes in the new Armadillo upstream. Ignore this for now, this is
a likely side-effect of a tested version being on the CRAN machine when this
ran. The released RcppArmadillo will not trigger ut,



| * installing *source* package ‘GeneralizedUmatrixGPU’ ...
| ** this is package ‘GeneralizedUmatrixGPU’ version ‘0.0.1’
| ** using staged installation
| ** libs
| using C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’
| clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG  
-I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' 
-I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' 
-I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppParallel/include' 
-I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3   -fpic  -g 
-O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw 
-Wdeprecated-literal-operator  -c RcppExports.cpp -o RcppExports.o
| clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG  
-I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' 
-I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppArmadillo/include' 
-I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppParallel/include' 
-I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3   -fpic  -g 
-O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw 
-Wdeprecated-literal-operator  -c trainSESOM.cpp -o trainSESOM.o
| In file included from trainSESOM.cpp:2:
| ./ocl.h:9:10: fatal error: 'CL/cl.hpp' file not found
|      9 | #include <CL/cl.hpp>
|        |          ^~~~~~~~~~~
| 1 error generated.
| make: *** [/home/hornik/tmp/R/etc/Makeconf:209: trainSESOM.o] Error 1
| ERROR: compilation failed for package ‘GeneralizedUmatrixGPU’
| * removing 
*‘/srv/hornik/tmp/CRAN_pretest/GeneralizedUmatrixGPU.Rcheck/GeneralizedUmatrixGPU’

Do you ensure the CL headers are installed?  On Debian these come for example
from package opencl-clhpp-headers [1] (but you have no general control over what
is installed).  At least package gpuR ships it for R, and you check how few
other packages test for this via a search at github.org/cran (a mirror) [2].

It looks to me like you need to take better care of the 'configure does not
find cl.hpp' case (and you need to add logic to your package to have that test).

Dirk

[1] 
https://packages.debian.org/search?searchon=contents&keywords=CL%2Fcl.hpp&mode=path&suite=unstable&arch=any
[2] https://github.com/search?q=org%3Acran%20CL%2Fcl.hpp&type=code

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to