Removing package dependency to thunk

The current state of hsa-rocr does
NOT requires thunk lib as its dependency.
Its unnecessary pulling thunk package while
installing rocr. This patch corrects
the same

Change-Id: Id98ede8b66ffd9aaf4a47da96ba2f981f4c3da73
Tá an tiomantas seo le fáil i:
Ashutosh Mishra údaraithe agus Jonathan Kim tiomanta 2022-07-22 09:42:38 -04:00
1 tuismitheoir c2b9abaa1d
tiomantas a229f5c320
2 comhad athraithe
+30 -8

Níor tháinig aon chomhaid le do chuardach

+14
Féach ar an gComhad
@@ -217,3 +217,17 @@ function ( listsubdirs DIRPATH SUBDIRECTORIES )
endforeach()
set (${SUBDIRECTORIES} ${FOLDERS} PARENT_SCOPE)
endfunction()
## Sets el7 flag to be true
function ( Checksetel7 EL7_DISTRO )
execute_process(COMMAND rpm --eval %{?dist}
RESULT_VARIABLE PROC_RESULT
OUTPUT_VARIABLE EVAL_RESULT
OUTPUT_STRIP_TRAILING_WHITESPACE)
message("RESULT_VARIABLE ${PROC_RESULT} OUTPUT_VARIABLE: ${EVAL_RESULT}")
if(PROC_RESULT EQUAL "0" AND NOT EVAL_RESULT STREQUAL "")
if( "${EVAL_RESULT}" STREQUAL ".el7")
set (${EL7_DISTRO} TRUE PARENT_SCOPE)
endif()
endif()
endfunction()