Skip to content

Commit

Permalink
CTL: Add a CTL functionality to the UMF
Browse files Browse the repository at this point in the history
This commit introduces sources and compilation of the CTL.
The CTL sources are copied from: https://github.com/pmem/pmdk/tree/master/src/common

Signed-off-by: Krzysztof Filipek <[email protected]>
  • Loading branch information
KFilipek committed Dec 12, 2024
1 parent ab2a19c commit 05db80c
Show file tree
Hide file tree
Showing 8 changed files with 672 additions and 503 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ add_subdirectory(coarse)

set(UMF_LIBS $<BUILD_INTERFACE:umf_utils> $<BUILD_INTERFACE:coarse>)

set(CTL_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/ctl/ctl.c)

if(LINUX)
set(BA_SOURCES ${BA_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/base_alloc/base_alloc_linux.c)
Expand All @@ -45,6 +47,7 @@ set(HWLOC_DEPENDENT_SOURCES topology.c)

set(UMF_SOURCES
${BA_SOURCES}
${CTL_SOURCES}
libumf.c
ipc.c
ipc_cache.c
Expand Down
Loading

0 comments on commit 05db80c

Please sign in to comment.