mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
Changes: * add patch for Clang 17 compatibility (official build uses Clang 18) * add patch for "Could NOT find Git (missing: GIT_EXECUTABLE)" * drop dev-libs/half dependency in all versions (not used) * rename ROCmSoftwarePlatform -> ROCm in URLs Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
15 lines
688 B
Diff
15 lines
688 B
Diff
Fix "Could NOT find Git (missing: GIT_EXECUTABLE)", git is not needed for releases
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -84,9 +84,7 @@ include(getopt)
|
|
# CK config file to record supported datatypes, etc.
|
|
configure_file(include/ck/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/ck/config.h)
|
|
|
|
-# CK version file to record release version as well as git commit hash
|
|
-find_package(Git REQUIRED)
|
|
-execute_process(COMMAND "${GIT_EXECUTABLE}" rev-parse HEAD OUTPUT_VARIABLE COMMIT_ID OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
+# CK version file to record release version
|
|
configure_file(include/ck/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/ck/version.h)
|
|
|
|
set(ROCM_SYMLINK_LIBS OFF)
|