Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest moving R configuration querying into a separate crate #166

Closed
bnaras opened this issue May 17, 2023 · 1 comment
Closed

Suggest moving R configuration querying into a separate crate #166

bnaras opened this issue May 17, 2023 · 1 comment

Comments

@bnaras
Copy link

bnaras commented May 17, 2023

Just recently had a good reason to use some code from here for a package for R BLAS+LAPACK . Thank you.

It appears to me some of the code in the build.rs here really belongs in another crate that would be very useful in build scripts. I've put up the implementation that I needed for R CMD config here.

Combining it with the RHOME and InstallationPaths facilities available here, plus adding a simple Rscript for ability would increase its usefulness I think.

If there is interest, I am happy to transfer this over to extendr and continue development. Please let me know.

@CGMossa
Copy link
Member

CGMossa commented Oct 4, 2023

There are several limitations in the current Rust ecosystem to "inherit" configurations from one build.rs to another. Furthermore I've spent extensive effort attempting to bind the R-API headers onto a more idiomatic rust representation, and it has not been successful. We won't be doing this at this time unfortunately.

@CGMossa CGMossa closed this as completed Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants