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

Define git___load when building with -DTHREADSAFE=OFF #5664

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

lhchavez
Copy link
Contributor

This should allow folks that build in non-thread-safe environments to
still be able to build the library.

Fixes: #5663

This should allow folks that build in non-thread-safe environments to
still be able to build the library.

Fixes: libgit2#5663
@jeroen
Copy link
Contributor

jeroen commented Oct 14, 2020

Maybe we should also add a CI build that builds without threads?

@ethomson
Copy link
Member

Maybe we should also add a CI build that builds without threads?

If being able to build in a non-threaded environment has value, then yeah, we should probably have a CI step that runs this. Maybe only in our nightlies because it's so rare to break something here and our matrix is already huge.

@ethomson
Copy link
Member

Thanks @lhchavez!

On a tangential note, I agree that having CI for non-threaded systems would be helpful. In addition, this file is getting a little complicated, we might want to think about how to reduce the cyclomatic complexity. 😓

@ethomson ethomson merged commit c964f73 into libgit2:master Oct 14, 2020
@ethomson ethomson mentioned this pull request Jun 20, 2021
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.

Building without threads gives linking error for: git___load
3 participants