mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-28 20:18:08 -07:00
Also backport fix for 16-bit floats for 6.1.1 Closes: https://bugs.gentoo.org/944820 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
23 lines
781 B
Diff
23 lines
781 B
Diff
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}")
|