From 3edc4ef86518e5dc0e33cc3d5d6004f89be16fbb Mon Sep 17 00:00:00 2001 From: Chandrashekara K R Date: Thu, 20 Apr 2023 11:19:24 +0530 Subject: [PATCH] Updated CMakeLists.txt file to disply config status. Details: - Added logic to display CMAKE_BUILD_TYPE while configuring through cmake gui. - Added logic to set values for BLIS_ENABLE_JRIR_SLAB, BLIS_ENABLE_JRIR_RR mutually exclusive variables. AMD-Internal: [SWLCSG-2041, SWLCSG-2042] Change-Id: I81c96a9941418a0810d554ddc89056ca8420b064 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61fb67812..b87af22aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -181,9 +181,11 @@ endif () if (ENABLE_JRIR_RR) message("Round robin thread method enabled") set(BLIS_ENABLE_JRIR_RR TRUE) + set(BLIS_ENABLE_JRIR_SLAB FALSE) elseif (ENABLE_JRIR_SLAB) message("SLAB thread method enabled") set(BLIS_ENABLE_JRIR_SLAB TRUE) + set(BLIS_ENABLE_JRIR_RR FALSE) else () message("Unsupported method of thread partitioning in jr and ir loops") endif () @@ -302,7 +304,7 @@ else() set(__blis_arch_type_name TRUE) set(rename_blis_arch_type "BLIS_ARCH_TYPE") endif() - +set(CMAKE_BUILD_TYPE ${CMAKE_CONFIGURATION_TYPES}) #print configurations message("---cmake configurations---")