Skip to content

Commit 12aeb12

Browse files
authored
Add OpenCloudOS 9 and TencentOS 4 docker image to build 3FS (deepseek-ai#217)
1 parent be5e5ba commit 12aeb12

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ yum install cmake libuv-devel lz4-devel xz-devel double-conversion-devel libdwar
8585
libaio-devel gflags-devel glog-devel gtest-devel gmock-devel clang-tools-extra clang lld \
8686
gperftools-devel gperftools openssl-devel gcc gcc-c++ boost-devel
8787

88-
# for OpenCloudOS 9
88+
# for OpenCloudOS 9 and TencentOS 4
8989
dnf install epol-release wget git meson cmake perl lld gcc gcc-c++ autoconf lz4 lz4-devel xz xz-devel \
9090
double-conversion-devel libdwarf-devel libunwind-devel libaio-devel gflags-devel glog-devel \
9191
libuv-devel gmock-devel gperftools gperftools-devel openssl-devel boost-static boost-devel mono-devel \
@@ -100,11 +100,16 @@ Install other build prerequisites:
100100

101101
## Build 3FS
102102

103-
Build 3FS in `build` folder:
103+
- Build 3FS in `build` folder:
104104

105+
```
105106
cmake -S . -B build -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_C_COMPILER=clang-14 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
106107
cmake --build build -j 32
107-
108+
```
109+
- Build 3FS use Docker
110+
- For TencentOS-4: `docker pull docker.io/tencentos/tencentos4-deepseek3fs-build:latest`
111+
- For OpenCloudOS-9: `docker pull docker.io/opencloudos/opencloudos9-deepseek3fs-build:latest`
112+
108113
## Run a test cluster
109114
110115
Follow instructions in [setup guide](deploy/README.md) to run a test cluster.

0 commit comments

Comments
 (0)