Skip to content

Commit 19c3c68

Browse files
committed
CTL: Add a CTL functionality to the UMF
Signed-off-by: Krzysztof Filipek <[email protected]>
1 parent f4d9b6f commit 19c3c68

File tree

9 files changed

+802
-504
lines changed

9 files changed

+802
-504
lines changed

cmake/helpers.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ function(add_umf_target_compile_options name)
233233
-Wall
234234
-Wextra
235235
-Wformat-security
236-
-Wno-cast-qual
236+
-Wno-cast-qual # TODO: remove this when const qualifier drop
237+
# will be solved in CTL
237238
$<$<CXX_COMPILER_ID:GNU>:-fdiagnostics-color=auto>)
238239
if(CMAKE_BUILD_TYPE STREQUAL "Release")
239240
target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=2)

src/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ add_subdirectory(coarse)
2626

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

29+
set(CTL_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/ctl/ctl.c)
30+
2931
if(LINUX)
3032
set(BA_SOURCES ${BA_SOURCES}
3133
${CMAKE_CURRENT_SOURCE_DIR}/base_alloc/base_alloc_linux.c)
@@ -45,6 +47,7 @@ set(HWLOC_DEPENDENT_SOURCES topology.c)
4547

4648
set(UMF_SOURCES
4749
${BA_SOURCES}
50+
${CTL_SOURCES}
4851
libumf.c
4952
ipc.c
5053
ipc_cache.c

0 commit comments

Comments
 (0)