summaryrefslogtreecommitdiff
path: root/sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch
blob: 63fd25240505bdbfa168013d67bb0edcd3231a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Git is not required and rev-parse does nothing for tarballs.
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -44,14 +44,6 @@ if( BUILD_VERBOSE )
   message( STATUS "\t==>CMAKE_EXE_LINKER link flags: " ${CMAKE_EXE_LINKER_FLAGS} )
 endif( )
 
-# Get the git hash of the hipBLAS branch
-find_package(Git REQUIRED)
-
-execute_process(COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD
-                WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
-                OUTPUT_VARIABLE GIT_HASH_HIPBLAS
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-
 set(hipblas_VERSION_COMMIT_ID "${GIT_HASH_HIPBLAS}")
 
 # log build commits