1 Star 0 Fork 3

LI, WENJIE/ceph

forked from openKylin/ceph 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.windows.rst 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
Cong Liu 提交于 2022-11-15 17:20 . Import Upstream version 15.2.17

About

Ceph Windows support is currently a work in progress. For now, the main focus is the client side, allowing Windows hosts to consume rados, rbd and cephfs resources.

Building

At the moment, mingw gcc is the only supported compiler for building ceph components for Windows. Support for msvc and clang will be added soon.

win32_build.sh can be used for cross compiling Ceph and its dependencies. It may be called from a Linux environment, including Windows Subsystem for Linux. MSYS2 and CygWin may also work but those weren't tested.

The script accepts the following flags:

Flag Description Default value
CEPH_DIR The Ceph source code directory. The same as the script.
BUILD_DIR The directory where the generated artifacts will be placed. $CEPH_DIR/build
DEPS_DIR The directory where the Ceph dependencies will be built. $CEPH_DIR/build.deps
NUM_WORKERS The number of workers to use when building Ceph. The number of vcpus available
NINJA_BUILD Use Ninja instead of make.  
CLEAN_BUILD Clean the build directory.  
SKIP_BUILD Run cmake without actually performing the build.  

Current status

The rados and rbd binaries and libs compile successfully and can be used on Windows, successfully connecting to the cluster and consuming pools.

The libraries have to be built statically at the moment. The reason is that there are a few circular library dependencies or unspecified dependencies, which isn't supported when building DLLs. This mostly affects cls libraries.

A significant number of tests from the tests directory have been port, providing adequate coverage.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cn-lwj/ceph.git
git@gitee.com:cn-lwj/ceph.git
cn-lwj
ceph
ceph
openkylin/yangtze

搜索帮助