Verified Commit 11daed43 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Add convenience library for optimized arithmetics

parent e784dd4d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ set(PRELOAD_HEADERS
    ../../include/client/syscalls/syscall.hpp
    ../../include/client/syscalls/detail/syscall_info.h
    ../../include/global/cmake_configure.hpp
    ../../include/global/chunk_calc_util.hpp
    ../../include/global/global_defs.hpp
    ../../include/global/path_util.hpp
    ../../include/global/rpc/rpc_types.hpp
@@ -70,7 +69,9 @@ set(PRELOAD_INCLUDE_DIRS

add_library(gkfs_intercept SHARED ${PRELOAD_SRC} ${PRELOAD_HEADERS})

target_link_libraries(gkfs_intercept ${PRELOAD_LINK_LIBRARIES})
target_link_libraries(gkfs_intercept
    arithmetic
    ${PRELOAD_LINK_LIBRARIES})

target_include_directories(gkfs_intercept PRIVATE ${PRELOAD_INCLUDE_DIRS})

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
#include <client/logging.hpp>

#include <global/rpc/distributor.hpp>
#include <global/chunk_calc_util.hpp>
#include <global/arithmetic/chunk_calc_util.hpp>

#include <unordered_set>

+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

#include <global/rpc/rpc_types.hpp>
#include <global/rpc/distributor.hpp>
#include <global/chunk_calc_util.hpp>
#include <global/arithmetic/chunk_calc_util.hpp>

#ifdef GKFS_ENABLE_AGIOS
#include <daemon/scheduler/agios.hpp>
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@

#include <daemon/ops/data.hpp>
#include <daemon/backend/data/chunk_storage.hpp>
#include <global/chunk_calc_util.hpp>
#include <global/arithmetic/chunk_calc_util.hpp>
#include <utility>

extern "C" {
Loading