deps_builder: Skip HIPRT when hipcc is not found
It should be possible to build all other deps when hipcc is not present on the system, however the hiprt build errored out during the configuration phase. This change skips HIPRT when hipcc is not available
This commit is contained in:
@@ -90,7 +90,11 @@ include(cmake/harfbuzz.cmake)
|
||||
if(NOT APPLE)
|
||||
include(cmake/xr_openxr.cmake)
|
||||
if(NOT BLENDER_PLATFORM_ARM)
|
||||
include(cmake/hiprt.cmake)
|
||||
if(HIP_FOUND)
|
||||
include(cmake/hiprt.cmake)
|
||||
else()
|
||||
message(STATUS "Missing HIP compiler, skipping HIPRT build")
|
||||
endif()
|
||||
include(cmake/dpcpp.cmake)
|
||||
include(cmake/dpcpp_deps.cmake)
|
||||
if(NOT WIN32)
|
||||
|
Reference in New Issue
Block a user