From b759886ba075d608631a234ae3006e14b8013097 Mon Sep 17 00:00:00 2001 From: Jiakun Yan Date: Sun, 1 Oct 2023 21:33:21 -0500 Subject: [PATCH] lci-ucx rcache: turn off assertion by default --- dependency/ucx/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependency/ucx/CMakeLists.txt b/dependency/ucx/CMakeLists.txt index 501c9c5f..becb8b29 100644 --- a/dependency/ucx/CMakeLists.txt +++ b/dependency/ucx/CMakeLists.txt @@ -147,9 +147,9 @@ set(UCS_MAX_LOG_LEVEL UCS_LOG_LEVEL_${LCI_UCX_MAX_LOG_LEVEL}) string(TOUPPER ${UCS_MAX_LOG_LEVEL} UCS_MAX_LOG_LEVEL) set(LCI_UCX_ENABLE_ASSERT - ON + OFF CACHE STRING "Enable assertions") -if(LCI_UCX_ENABLE_ASSERT) +if(LCI_UCX_ENABLE_ASSERT OR LCI_DEBUG) set(ENABLE_ASSERT ON) endif()