diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
commit | d162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch) | |
tree | 24cd2cf57f3932a24b96e4a0f6666489447e43ba /dev-util/hip/hip-4.1.0.ebuild | |
parent | 590b9b7b03bf4651e099949e318755af7cfa81b8 (diff) |
gentoo resync : 07.08.2021
Diffstat (limited to 'dev-util/hip/hip-4.1.0.ebuild')
-rw-r--r-- | dev-util/hip/hip-4.1.0.ebuild | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-util/hip/hip-4.1.0.ebuild b/dev-util/hip/hip-4.1.0.ebuild index e6e6a374a787..c5b5027b241c 100644 --- a/dev-util/hip/hip-4.1.0.ebuild +++ b/dev-util/hip/hip-4.1.0.ebuild @@ -26,7 +26,6 @@ PATCHES=( "${FILESDIR}/${PN}-4.1.0-DisableTest.patch" "${FILESDIR}/${PN}-3.9.0-add-include-directories.patch" "${FILESDIR}/${PN}-3.5.1-config-cmake-in.patch" - "${FILESDIR}/${PN}-3.5.1-hip_vector_types.patch" "${FILESDIR}/${PN}-3.9.0-lpl_ca-add-include.patch" ) @@ -40,19 +39,15 @@ src_prepare() { sed -e "/set (HIP_LIB_VERSION_STRING/cset (HIP_LIB_VERSION_STRING ${PVR})" -i CMakeLists.txt || die # disable PCH, because it results in a build error in ROCm 4.0.0 - sed -e "s:option(__HIP_ENABLE_PCH:#option(__HIP_ENABLE_PCH:" -i "${S}/CMakeLists.txt" || die + sed -e "s:option(__HIP_ENABLE_PCH:#option(__HIP_ENABLE_PCH:" -i CMakeLists.txt || die # "hcc" is deprecated and not installed, new platform is "rocclr"; # Setting HSA_PATH to "/usr" results in setting "-isystem /usr/include" # which makes "stdlib.h" not found when using "#include_next" in header files; - sed -e "/HIP_PLATFORM.*HIP_COMPILER.*clang/s:hcc:rocclr:" \ - -e "/FLAGS .= \" -isystem \$HSA_PATH/d" \ + sed -e "/FLAGS .= \" -isystem \$HSA_PATH/d" \ -e "s:\$ENV{'DEVICE_LIB_PATH'}:'/usr/lib/amdgcn/bitcode':" \ -i bin/hipcc || die - # replace hcc remnants with modern rocclr. - sed -e "/HIP_PLATFORM.*STREQUAL/s:hcc:rocclr:" -i cmake/FindHIP/run_hipcc.cmake || die - # correctly find HIP_CLANG_INCLUDE_PATH using cmake sed -e "/set(HIP_CLANG_ROOT/s:\"\${ROCM_PATH}/llvm\":/usr/lib/llvm/roc:" -i hip-config.cmake.in || die |