Binbin,

On 27 October 2020 at 11:35, binbi...@whu.edu.cn wrote:
| Many thanks for your response. We incorporated the CUDA technique for 
parallel computations, where NVCC (Nvidia) compiler is required.
| 
| We set not to compile this part as default, unless all the conditions are met 
(like NVCC compiler) when installing the package. It seems that this strategy 
works for Windows, but not for Debian. Any suggestion on it? Now we cannot 
submit it to CRAN if the issue cannot be fixed. Many thanks.

Yes, this is commonly done via a tool (and language) called 'autoconf' by
writing a test file called 'configure.ac' that is then turned into by
'autoconf' in a file called 'configure' which is run.

Writing those is not easy at first.

As an alternative you _can_ write a shell script 'configure' (or even a
script in another language, including R).  All this does require some effort
of thought so you should think this through.

As none of this has any direct relationship with whether Rcpp is used or not,
follow-up posts may be better off on r-package-devel (a great list if you're
not subscribed yet) or other venues.

Regards, Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to