-
Notifications
You must be signed in to change notification settings - Fork 129
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
Check system installation of sundials #533
Comments
We do not provide a pkg-config file at this time (see #242).
CMake's |
Thank you for the quick response. I used the following to know that
which gives
But I am not able to get the location of header files and static libraries (in
In addition, I would also like to check that the installed version is Any suggestion would be very helpful. Thanks! |
Sorry, I meant that the supported way is to use the From a find_package(SUNDIALS) Then the Otherwise, you may need to write some custom script to look for sundials and then parse the SUNDIALSConfig.cmake / SUNDIALSTargets.cmake files to get the includes and link libraries. We have noted that a pkg-config file is a requested feature and hope to add it at some point in the future (we would also happily take a community contribution that does it). |
Thanks again! This is helpful although I am not sure how to use a CMakelist.txt within R package to compile using system installation. Perhaps, I will wait till we get a pkg-config, until then use the current approach of bundling the Sundials source with the package. |
OK. I will close this now as a duplicate request for a pkg-config file. |
Hi
I am trying to update the R interface to Sundials (sn248/sundialr). R package rules dictate that I first check for system installation of sundials before using the bundled-up version.
I was not able to find any information regarding pkg-config for sundials.
Could you suggest how to check if sundials is installed on user's machine?
Thanks
The text was updated successfully, but these errors were encountered: