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
이 커밋은 다음에 포함됨:
1 부모
c2b9abaa1d
커밋
a229f5c320
2 파일이 변경됨
+30
-8
검색과 일치하는 파일 없음
@@ -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()
|
||||
새 이슈에서 참조
사용자 차단