directed tests: Show HIP build errors during configure stage
Change-Id: I068b668902cf54286ce5bb4c6c718b643bfa5754
Ta zmiana jest zawarta w:
%! (template.HTML=
Maneesh Gupta)złożyło 2016-09-09 11:01:10 +05:30
1 rodzic
f03570d8cc
złożenie
a3f892e69a
Plik 1 zmieniony
+2
-1
@@ -48,10 +48,11 @@ if(NOT DEFINED HIP_PATH)
|
||||
COMMAND "${CMAKE_COMMAND}" --build . --target install
|
||||
WORKING_DIRECTORY hip
|
||||
RESULT_VARIABLE hip_build_result
|
||||
OUTPUT_QUIET
|
||||
OUTPUT_VARIABLE hip_build_log
|
||||
ERROR_QUIET
|
||||
)
|
||||
if(hip_build_result)
|
||||
message(${hip_build_log})
|
||||
message(FATAL_ERROR "Error building HIP")
|
||||
else()
|
||||
# Building HIP is successful. Point HIP_PATH to this location.
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika