Skip to content

Commit

Permalink
kompute : enable kp_logger and make it static (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
cebtenzzre committed Oct 16, 2023
1 parent 81c24d7 commit ffe96e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ if (LLAMA_KOMPUTE)

if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/kompute/CMakeLists.txt")
message(STATUS "Kompute found")
set(KOMPUTE_OPT_LOG_LEVEL Error CACHE STRING "Kompute log level")
add_subdirectory(kompute)

# Compile our shaders
Expand Down
2 changes: 1 addition & 1 deletion kompute/src/logger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.20)

set(LOGGER_SOURCES Logger.cpp)

add_library(kp_logger ${LOGGER_SOURCES})
add_library(kp_logger STATIC ${LOGGER_SOURCES})

# Define log levels in code
add_compile_definitions(KOMPUTE_LOG_LEVEL_TRACE=0)
Expand Down

0 comments on commit ffe96e1

Please sign in to comment.