-
Notifications
You must be signed in to change notification settings - Fork 69
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
cmake-time logic to detect deps needed due to service enabled? #577
Comments
Looks like I can parse |
Hi @cyrush, I'm certainly open to adding that CMake logic. Would be great if you can point me at the examples you have. |
@daboehme awesome, I can help -- might be a few weeks in the future. |
@daboehme I still plan to help with this, but doens't look like I will free energy until October :-( |
In downstream libs (conduit + ascent) we are resolving caliper deps with our cmake logic.
For example, we assume that adiak is being used and require folks tell us where adiak is.
But we don't need adiak in all cases.
We would like to only require it when the caliper build we are using requires it.
As far as I can tell, these services don't expose any headers, or other info that can be trivially searched to determine which dependencies are required for a given caliper build. May there is a config header we should look at that I missed?
Are there cmake config vars that can tell us what is enabled that can help us know what we need to resolve?
Longer term:
Would you be open to installed cmake logic that automatically finds the right dependencies + cmake targets?
We have some exemplars that can serve as a working solution to follow.
The text was updated successfully, but these errors were encountered: