mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-09 16:17:44 +00:00
Add build instructions for tests and benchmarks
Signed-off-by: Contrary <liang.jingchao@zte.com.cn>
This commit is contained in:
parent
db5df83eb9
commit
5165d0b70a
@ -99,6 +99,12 @@ Build 3FS in `build` folder:
|
||||
cmake -S . -B build -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_C_COMPILER=clang-14 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
cmake --build build -j 32
|
||||
|
||||
### Build tests && benchmarks
|
||||
|
||||
Build `tests` requires you to add the `-DWITH_TESTS` option to the cmake in the first step above.
|
||||
|
||||
For `benchmarks`, it's -DWITH_BENCHMARKS.
|
||||
|
||||
## Run a test cluster
|
||||
|
||||
Follow instructions in [setup guide](deploy/README.md) to run a test cluster.
|
||||
|
Loading…
Reference in New Issue
Block a user