-
Notifications
You must be signed in to change notification settings - Fork 7
Compiling
Eric Yen edited this page Aug 21, 2018
·
8 revisions
Please be advised that this only works on linux. It is currently not available for Windows.
To compile, this requires
- libmongoc >= 1.9.2
- boost >= 1.66
- cmake >= 3.0
- gcc/g++, make
- libfuse2 or libfuse3 (libfuse3 is preferred)
- jemalloc
Ubuntu Specific packages:
- libmongoc-dev
To run, this requires:
- mongodb
Other dependencies should be automatically be downloaded. If not, this list will be updated.
- Get the code:
git clone https://github.com/thejinx0r/DriveFS.git
cd DriveFS
git submodule init
git submodule update
- Configure the project with cmake
mkdir build
cd build
cmake .. # -DUSE_FUSE3=1 #define USE_FUSE3 if you want to link with libfuse3. Use libfuse3 if you have the option to install it. In the future, this will become the default.
- Compile the project
make -j 8 # replace 8 with the number of threads you want to use for compiling the code.
- Running
./DriveFS --help