Commit 8a58c26b authored by Ramon Nou's avatar Ramon Nou
Browse files

delete opt

parent 29bc1dc5
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -227,6 +227,15 @@ gkfs_define_option(
    DEFAULT_VALUE OFF
)

# build performance tests
gkfs_define_option(
    GKFS_BUILD_PERFORMANCE
    HELP_TEXT "Build ${PROJECT_NAME} performance benchmarks"
    DEFAULT_VALUE OFF
    DESCRIPTION "Compile standalone performance benchmark tests"
    FEATURE_NAME "PERF"
)

# build tools
gkfs_define_option(
    GKFS_BUILD_TOOLS
+5 −0
Original line number Diff line number Diff line
@@ -356,6 +356,11 @@ endif ()
### variables.
mark_variables_as_advanced(REGEX "^(FETCHCONTENT|fmt|FMT|spdlog|SPDLOG)_.*$")

if (GKFS_BUILD_PERFORMANCE)
    message(STATUS "[${PROJECT_NAME}] Building performance benchmarks...")
    add_subdirectory(perf_tests)
endif()

if (GKFS_BUILD_TESTS)
    # Boost preprocessor header-only is supplied by the Mercury installation
    find_package(Boost_preprocessor REQUIRED)
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ int
gkfs_libcremove(const std::string& path);

int
gkfs_remove(const std::string& path);
gkfs_remove(const std::string& path, bool is_rename_stub = false);

// Implementation of access,
// Follow links is true by default
+5 −0
Original line number Diff line number Diff line
@@ -84,6 +84,11 @@ int
forward_remove(const std::string& path, bool rm_dir, const int8_t num_copies,
               int64_t size);

int
forward_remove(const std::string& path, bool rm_dir, const int8_t num_copies,
               int64_t& size, uint32_t& mode, std::string& target_path,
               bool is_rename_stub = false);

int
forward_decr_size(const std::string& path, size_t length, const int copy);

+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ gkfs_create(const std::string& path, mode_t mode);
int
gkfs_libcremove(const std::string& path);
int
gkfs_remove(const std::string& path);
gkfs_remove(const std::string& path, bool is_rename_stub = false);
int
gkfs_rmdir(const std::string& path);

Loading