From f21fbdfc1847f2063728e4afa5e257b2cc6aa692 Mon Sep 17 00:00:00 2001 From: Arm Patinyasakdikul Date: Thu, 11 Sep 2025 16:13:21 -0500 Subject: [PATCH] Fix issue where staging/mainline build commit hash doesn't match the actual RCCL commit. (#1910) --- cmake/scripts/git_version.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/scripts/git_version.cmake b/cmake/scripts/git_version.cmake index e070739ebc..fde9485989 100755 --- a/cmake/scripts/git_version.cmake +++ b/cmake/scripts/git_version.cmake @@ -19,6 +19,7 @@ # SOFTWARE. # Attempt to collect the latest git hash +set(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) execute_process(COMMAND git log --pretty=format:'%h' -n 1 OUTPUT_VARIABLE GIT_REV ERROR_QUIET)