dev-util/hipify-clang: fix compilation when sys-devel/llvm-18.1.0 is installed

Related bug: https://github.com/ROCm/HIPIFY/issues/1396

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33400
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2024-03-08 19:22:10 +00:00
committed by Sam James
parent 720d5c4ea7
commit 3d9d84681e
@@ -29,6 +29,8 @@ src_prepare() {
sed -i 's:/../libexec/hipify::' \
bin/hipconvertinplace.sh bin/hipconvertinplace-perl.sh \
bin/hipexamine-perl.sh bin/hipexamine.sh || die
# Workaround for bug https://github.com/ROCm/HIPIFY/issues/1396
sed -i 's/find_package(LLVM REQUIRED/find_package(LLVM 17 REQUIRED/' CMakeLists.txt
}
src_install() {