Skip to content

Commit 52fe5a7

Browse files
authored
[Misc] set default logger backend to spdlog (#440)
set default logger backend to spdlog
1 parent 77f5090 commit 52fe5a7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ option(BUILD_UNIT_TESTS "build all unit test suits." OFF)
1212
option(BUILD_NUMA "build numactl library." OFF)
1313
option(DOWNLOAD_DEPENDENCE "download dependence by cmake." ON)
1414
set(RUNTIME_ENVIRONMENT "simu" CACHE STRING "runtime: simu, ascend, musa or cuda.")
15+
set(LOGGER_BACKEND "spdlog" CACHE STRING "backend: spdlog or flux.")
1516

1617
execute_process(COMMAND git rev-parse HEAD OUTPUT_VARIABLE UCM_COMMIT_ID OUTPUT_STRIP_TRAILING_WHITESPACE)
1718
add_compile_definitions(UCM_PROJECT_NAME="${PROJECT_NAME}")

ucm/store/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set(LOGGER_BACKEND "spdlog" CACHE STRING "backend: spdlog or flux.")
2-
31
include_directories(.)
42
add_subdirectory(infra)
53
add_subdirectory(device)

0 commit comments

Comments
 (0)