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
This commit is contained in:
Chandrashekara K R
2023-04-20 11:19:24 +05:30
committed by Chandrashekara KR
parent 6835205ba8
commit 3edc4ef865

View File

@@ -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---")