]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
win32_build.sh: mingw-llvm support
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 7 Apr 2023 10:39:59 +0000 (10:39 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 30 Aug 2023 12:59:00 +0000 (12:59 +0000)
commit3ce1e4a5c64bc0d71d3e6ad9ece040e4884d0378
treef070707ab8f925665eb6f6d0a54e047e715bf719
parent82ef35db701cdf16a606522504cc1b4ea18e38ce
win32_build.sh: mingw-llvm support

winpthreads is a library that emulates the pthreads API using
Windows primitives. It's also used by the mingw/gcc libstdc++
for std::thread.

The issue is that winpthreads isn't well maintained. There
have been numerous bugs that haven't been addressed in years.
Specifically, we've been hitting deadlocks because of the
winpthreads rw lock implementation.

This change will allow building Ceph for Windows using mingw/llvm,
which uses libc++ and doesn't rely on winpthreads.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
README.windows.rst
mingw_conf.sh
win32_build.sh
win32_deps_build.sh