summaryrefslogtreecommitdiffstats
path: root/README.windows.rst
diff options
context:
space:
mode:
authorLucian Petrut <lpetrut@cloudbasesolutions.com>2023-04-07 12:39:59 +0200
committerLucian Petrut <lpetrut@cloudbasesolutions.com>2023-08-30 14:59:00 +0200
commit3ce1e4a5c64bc0d71d3e6ad9ece040e4884d0378 (patch)
treef070707ab8f925665eb6f6d0a54e047e715bf719 /README.windows.rst
parenttest/dokan: avoid runtime dependent assertion (diff)
downloadceph-3ce1e4a5c64bc0d71d3e6ad9ece040e4884d0378.tar.xz
ceph-3ce1e4a5c64bc0d71d3e6ad9ece040e4884d0378.zip
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>
Diffstat (limited to 'README.windows.rst')
-rw-r--r--README.windows.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.windows.rst b/README.windows.rst
index 2c2419c08f7..b8065b6b282 100644
--- a/README.windows.rst
+++ b/README.windows.rst
@@ -29,6 +29,8 @@ Flag Description Default value
================= =============================== ===============================
OS Host OS distribution, for mingw ubuntu (also valid: suse)
and other OS specific settings.
+TOOLCHAIN Mingw toolchain: mingw-llvm or mingw-llvm
+ mingw-gcc.
CEPH_DIR The Ceph source code directory. The same as the script.
BUILD_DIR The directory where the $CEPH_DIR/build
generated artifacts will be