
* Spack recipes for ROCm Stage 1 Build components * fix flake8 errors * fixes for flake8 errors * Add a patch for cmake 3.x suport * Fix rpath issue where hsa-rocr-dev does not allow it to be filled in by spack * Remove inherited cmake args from comgr * Make hsakmt-roct compile: no -Werror because with const cast in numa, and actually add the numa dependency * Remove redundant cmake args which is inherited * Fix some dependencies * Fix some python 2.x compatibilities * Add amd gpu targets to rocfft * Make comgr a link dep of rocm-dbgapi and remove redundant cmake args * Remove redundant cmake args * Remove more redundant cmake args * Final redundant args * Use cmake 3.x instead of a fixed version * Remove random variable * Use installed rocclr instead of nonexisting directory * Don't build outside the staging folder * Deploy some missing cmake target file * Formatting * Fix target list * Properly handle the rocclr dependency * Formatting * Fix vermin test * Make all 3.5.0 package depend exactly on eachother * Add a few missing link dependencies * Fix flake8 * Remove some other redundant flags * Add gcc install prefix for gcc builds of llvm-amdgpu * review changes for the spack recipes * Do not hard-code versions * Fix atmi install - no more relative rpaths outside of install directory (required patch) - fix build -> link dependencies - remove unused build dependency * Fix flake8 errors * Remove unused variable and make things python 2.x compatible * Fix flake8 * Move compiler config from rocfft -> hipcc * Remove redundant dependency on fftw-api * Remove redundant import * Avoid hitting the ROCM_PATH variable altogether with a patch; also just fill in all variables * Add missing deps z3, zlib and ncurses+termlib to llvm-amdgpu * Fix perl shebang and add dep * Fix typo and patch HIP_CLANG_ROOT detection in hip's cmake files * fixing build failure due z3 and adding zlib for rocgdb * new changes to add z3,curses dependency for llvm-amdgpu * fix flake8 error Co-authored-by: root <root@localhost.localdomain> Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
30 lines
836 B
Diff
30 lines
836 B
Diff
From 7445b29108ea2f0b3f28f947a1ca627575173292 Mon Sep 17 00:00:00 2001
|
|
From: Harmen Stoppels <harmenstoppels@gmail.com>
|
|
Date: Fri, 7 Aug 2020 13:24:00 +0200
|
|
Subject: [PATCH] Remove relative link paths to external libraries
|
|
|
|
---
|
|
src/runtime/core/CMakeLists.txt | 6 ------
|
|
1 file changed, 6 deletions(-)
|
|
|
|
diff --git a/src/runtime/core/CMakeLists.txt b/src/runtime/core/CMakeLists.txt
|
|
index 29abffb..f2cd4b4 100644
|
|
--- a/src/runtime/core/CMakeLists.txt
|
|
+++ b/src/runtime/core/CMakeLists.txt
|
|
@@ -109,12 +109,6 @@ target_link_libraries(
|
|
${amd_comgr_LIBRARIES}
|
|
${LIBELF_LIBRARIES}
|
|
${ROCM_LIBRARIES}
|
|
- -L${ROCM_LIBRARIES_DIR}/../hsa/lib
|
|
- -L${ROCM_LIBRARIES_DIR}
|
|
- -Wl,--enable-new-dtags
|
|
- -Wl,-rpath,\$ORIGIN
|
|
- -Wl,-rpath,\$ORIGIN/../../hsa/lib
|
|
- -Wl,-rpath,\$ORIGIN/../../lib
|
|
)
|
|
|
|
# set output dir for .h files
|
|
--
|
|
2.25.1
|
|
|