diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-12 06:46:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-12 06:46:08 +0000 |
commit | c6e62298405d39e635c0d8dd6e026c8cb667a478 (patch) | |
tree | 797bd877e6cc2cdcfe3e39ecfedf34781075fc86 /dev-libs/rocr-runtime/rocr-runtime-5.5.1.ebuild | |
parent | 2c3b9bbdb114cc13b6ef8e0e5933c9e374fca8b6 (diff) |
gentoo auto-resync : 12:03:2024 - 06:46:08
Diffstat (limited to 'dev-libs/rocr-runtime/rocr-runtime-5.5.1.ebuild')
-rw-r--r-- | dev-libs/rocr-runtime/rocr-runtime-5.5.1.ebuild | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/dev-libs/rocr-runtime/rocr-runtime-5.5.1.ebuild b/dev-libs/rocr-runtime/rocr-runtime-5.5.1.ebuild index 4d026cf3ce50..36f37da462ab 100644 --- a/dev-libs/rocr-runtime/rocr-runtime-5.5.1.ebuild +++ b/dev-libs/rocr-runtime/rocr-runtime-5.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,17 +38,9 @@ BDEPEND="app-editors/vim-core" # vim-core is needed for "xxd" src_prepare() { - # ... otherwise system llvm/clang is used ... - sed -e "/find_package(Clang REQUIRED HINTS /s:\${CMAKE_INSTALL_PREFIX}/llvm \${CMAKE_PREFIX_PATH}/llvm PATHS /opt/rocm/llvm:$(get_llvm_prefix ${LLVM_MAX_SLOT}):" -i image/blit_src/CMakeLists.txt || die - # Gentoo installs "*.bc" to "/usr/lib" instead of a "[path]/bitcode" directory ... sed -e "s:-O2:--rocm-path=${EPREFIX}/usr/lib/ -O2:" -i image/blit_src/CMakeLists.txt || die - # internal version depends on git being present and random weird magic, otherwise fallback to incoherent default value - # fix default value to be more better - - sed -i -e "s:1.7.0:${PV}:" CMakeLists.txt || die - cmake_src_prepare } |