diff options
Diffstat (limited to 'dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild')
-rw-r--r-- | dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild b/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild index f6a8a5598f2a..5ee12fb5d5ba 100644 --- a/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild +++ b/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.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,9 +38,6 @@ 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 |