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

Add fetchcontent for google benchmark #381

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

nmm0
Copy link
Contributor

@nmm0 nmm0 commented Feb 14, 2025

This provides a way of getting google benchmark via FetchContent.

I added a flag MDSPAN_USE_SYSTEM_BENCHMARK to control whether to use a system-provided library or not. As the previous behavior was to use a system library, I defaulted this to On (which is the opposite of what we do for googletest). I'm open to changing the default to Off if we think that is more desirable.

…SE_SYSTEM_BENCHMARK defaulted to On (to preserve previous behavior) to use a system-provided library instead
Copy link
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing! : - )

@nmm0 nmm0 merged commit 5837d21 into kokkos:stable Mar 3, 2025
15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants