diff options
Diffstat (limited to 'sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch')
-rw-r--r-- | sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch b/sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch new file mode 100644 index 000000000000..63fd25240505 --- /dev/null +++ b/sci-libs/hipBLAS/files/hipBLAS-6.3.0-no-git.patch @@ -0,0 +1,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 |