cocalele / PureFlash

A ServerSAN storage system designed for flash device
GNU General Public License v3.0
101 stars 29 forks source link

Optimise build and test process #1

Closed geekyang95 closed 4 years ago

geekyang95 commented 4 years ago
  1. Need a single script to build and run project. It will be convenient.
  2. For now, programs run as kernel model, not convenient for debug purpose. Any planns to run as user space program?
cocalele commented 4 years ago
  1. Need a single script to build and run project. It will be convenient. for build, it's not too complex, the problem is we lack a documentation to explain it. In fact, only one CMakeLists.txt to build. I'll add the following the build to process to build_and_run.txt soon.
    # git clone https://github.com/cocalele/PureFlash.git
    # cd PureFlash && mkdir build && cd build
    # cmake .. -GNinja -CMAKE_BUILD_TYPE=Debug
    # ninja

for Question 2, if you follow the above build process, you will see only user space module are generated. Still two things to explain, 1) kernel module is the kernel driver, we will provide in future. but for now, please ignore it. 2) for debug convenience, my plan is to provide a VM image, so the new guys can try it immediately.