
* ROCm 5.3.0 updates * New patches for 5.3.0 on hip and hsakmt * Adding additional build arguments in hip and llvm * RVS updates for 5.3.0 release * New patches and rocm-tensile, rocprofiler-dev, roctracer-dev recipe updates for 5.3.0 * Reverting OPENMP fix from rocm-tensile * Removing the patch to compile without git and adding witout it * Install library in to lib directory instead of lib64 across all platform * Setting lib install directory to lib * Disable gallivm coroutine for libllvm15 * Update llvm-amdgpu prefix path in hip-config.cmake.in Removing libllvm15 from Mesa dependency removing * hip-config.cmake.in update required from 5.2 * hip-config.cmake.in update required from 5.2 and above * hip-config.cmake.in update required for all 5.2 release above * Style check correction in hip update * ginkgo: add missing include * Patching hsa include path for rocm 5.3 * Restricting patch for llvm-15 * Style check error correction * PIC flag required for the new test applications * Passing -DCMAKE_POSITION_INDEPENDENT_CODE=ON in the cmake_args instead of setting -fPIC in CFLAGS Co-authored-by: Cordell Bloor <Cordell.Bloor@amd.com>
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From 2eb146f180cd6ff35685ac23f79da4fe16dd295b Mon Sep 17 00:00:00 2001
|
|
From: Renjith Ravindran <Renjith.RavindranKannath@amd.com>
|
|
Date: Fri, 21 Oct 2022 14:02:37 -0700
|
|
Subject: [PATCH] New patch removing the fix for the compilation without git
|
|
|
|
---
|
|
bin/hipcc.pl | 3 ++-
|
|
hipamd/hip-config.cmake.in | 1 -
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/bin/hipcc.pl b/bin/hipcc.pl
|
|
index 645ae62..d3cf824 100755
|
|
--- a/bin/hipcc.pl
|
|
+++ b/bin/hipcc.pl
|
|
@@ -612,7 +612,8 @@ if($HIP_PLATFORM eq "amd"){
|
|
$targetsStr = $ENV{HCC_AMDGPU_TARGET};
|
|
} elsif (not $isWindows) {
|
|
# Else try using rocm_agent_enumerator
|
|
- $ROCM_AGENT_ENUM = "${ROCM_PATH}/bin/rocm_agent_enumerator";
|
|
+ $ROCMINFO_PATH = $ENV{'ROCMINFO_PATH'} // $ROCM_PATH;
|
|
+ $ROCM_AGENT_ENUM = "${ROCMINFO_PATH}/bin/rocm_agent_enumerator";
|
|
$targetsStr = `${ROCM_AGENT_ENUM} -t GPU`;
|
|
$targetsStr =~ s/\n/,/g;
|
|
}
|
|
diff --git a/hipamd/hip-config.cmake.in b/hipamd/hip-config.cmake.in
|
|
index 89d1224..8c4f9b7 100755
|
|
--- a/hipamd/hip-config.cmake.in
|
|
+++ b/hipamd/hip-config.cmake.in
|
|
@@ -306,7 +306,6 @@ if(HIP_COMPILER STREQUAL "clang")
|
|
if(NOT CLANGRT_BUILTINS)
|
|
message(FATAL_ERROR "clangrt builtins lib not found")
|
|
else()
|
|
- set_property(TARGET hip::host APPEND PROPERTY INTERFACE_LINK_LIBRARIES "${CLANGRT_BUILTINS}")
|
|
set_property(TARGET hip::device APPEND PROPERTY INTERFACE_LINK_LIBRARIES "${CLANGRT_BUILTINS}")
|
|
endif()
|
|
endif()
|
|
--
|
|
2.22.0
|
|
|