[Bf-blender-cvs] [0fd0b0643a7] master: Build: search for hipcc in HIP_ROOT_DIR/bin
Brecht Van Lommel
noreply at git.blender.org
Wed Oct 6 17:52:42 CEST 2021
Commit: 0fd0b0643a7a1c0334f39bddba4067d8fa8eede6
Author: Brecht Van Lommel
Date: Wed Oct 6 16:13:21 2021 +0200
Branches: master
https://developer.blender.org/rB0fd0b0643a7a1c0334f39bddba4067d8fa8eede6
Build: search for hipcc in HIP_ROOT_DIR/bin
===================================================================
M build_files/cmake/Modules/FindHIP.cmake
===================================================================
diff --git a/build_files/cmake/Modules/FindHIP.cmake b/build_files/cmake/Modules/FindHIP.cmake
index c68d78e5796..c331a19eb33 100644
--- a/build_files/cmake/Modules/FindHIP.cmake
+++ b/build_files/cmake/Modules/FindHIP.cmake
@@ -27,6 +27,8 @@ find_program(HIP_HIPCC_EXECUTABLE
hipcc
HINTS
${_hip_SEARCH_DIRS}
+ PATH_SUFFIXES
+ bin
)
if(HIP_HIPCC_EXECUTABLE AND NOT EXISTS ${HIP_HIPCC_EXECUTABLE})
More information about the Bf-blender-cvs
mailing list