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

Disable CMake unity builds #138

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

GregThain
Copy link
Contributor

Unity builds don't work in scitokens-cpp, but they wouldn't speed up builds much anyway, as there aren't a huge number of .cpp files per library. So, don't bother to fix the multiple inclusions problems that unity builds create, just disable the feature here.

Turning this off does allow scitokens-cpp to be built in a larger project that does turn on unity builds globally.

The don't work in scitokens-cpp, but they wouldn't speed up builds
much anyway, as there aren't a huge number of .cpp files per library.
So, don't bother to fix the multiple inclusions problems that unity
builds create, just disable the feature here.

Turning this off does allow scitokens-cpp to be built in a larger
project that does turn on unity builds globally.
Copy link
Contributor

@djw8605 djw8605 left a comment

Choose a reason for hiding this comment

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

LGTM, unrelated build errors.

@djw8605 djw8605 merged commit c9748f4 into scitokens:master Jul 31, 2024
6 of 7 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