summaryrefslogtreecommitdiff
path: root/sci-libs/rocBLAS/files/rocBLAS-6.3.0-no-git.patch
blob: 39ce71a85eb1639908b5a276de3563c764458a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Git should not be a required dependency, as hash is not available for releases.
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -144,17 +144,8 @@ if( BUILD_VERBOSE )
   message( STATUS "\t==>CMAKE_SHARED_LINKER_FLAGS_RELEASE: ${CMAKE_SHARED_LINKER_FLAGS_RELEASE}" )
 endif( )
 
-find_package(Git REQUIRED)
-
-# Get the git hash of the rocBLAS branch
-execute_process(
-          COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD
-          WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
-          OUTPUT_VARIABLE GIT_HASH_ROCBLAS
-          OUTPUT_STRIP_TRAILING_WHITESPACE)
-
 #set the rocBLAS commit hash
-set(rocblas_VERSION_COMMIT_ID "${GIT_HASH_ROCBLAS}")
+set(rocblas_VERSION_COMMIT_ID "")
 
 #set the Tensile commit hash
 set(tensile_VERSION_COMMIT_ID "${tensile_tag}")