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

Allow using libpthread with Mingw #329

Closed
wants to merge 2 commits into from

Conversation

petrutlucian94
Copy link

This pull request provides a few changes required for using libpthread with Mingw:

  • updates the library name
  • allows retrieving the page size on Windows

Those changes are currently cherry-picked when building Ceph for Windows:
https://github.com/ceph/ceph/blob/master/win32_deps_build.sh#L128-L246

getpagesize and sysconf aren't available on Windows so we're using
GetSystemInfo to retrieve the page size.
Mingw64 provide its own pthread implementation and the old
libpthreadGC2 name is no longer used, having libthread instead.

We're going to update the build script accordingly.

Closes: boostorg#156
@petrutlucian94
Copy link
Author

petrutlucian94 commented Jan 5, 2021

The CI failures seem unrelated. Appveyor timed out and Travis failed because of the log size: "The job exceeded the maximum log length, and has been terminated.".

@petrutlucian94
Copy link
Author

The project seems abandoned, no activity in almost 4 years. I'm closing this.

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.

1 participant