summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-04-04 14:31:14 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-04-04 14:41:46 +0200
commitcab5c607434d7c7c7b01987a0f9b7f1220d39eb3 (patch)
tree3714cfe84b99f28d7452284a1f85b3ed9a547148 /dev-util/intel-graphics-compiler
parentdev-texlive/texlive-metapost: do not strip slash in einfo (diff)
downloadgentoo-cab5c607434d7c7c7b01987a0f9b7f1220d39eb3.tar.gz
gentoo-cab5c607434d7c7c7b01987a0f9b7f1220d39eb3.tar.bz2
gentoo-cab5c607434d7c7c7b01987a0f9b7f1220d39eb3.zip
dev-util/intel-graphics-compiler: fix compilation
Closes: https://bugs.gentoo.org/779661 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util/intel-graphics-compiler')
-rw-r--r--dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.5353.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.5353.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.5353.ebuild
index 3945893333cb..0173f758337a 100644
--- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.5353.ebuild
+++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.5353.ebuild
@@ -54,6 +54,8 @@ multilib_src_configure() {
local llvm_slot=$(find_best_llvm_slot)
einfo "Selecting LLVM slot ${llvm_slot}: $(best_version -d sys-devel/llvm:${llvm_slot})"
local llvm_prefix=$(get_llvm_prefix ${llvm_slot})
+ local llvm_ver=$(best_version -d sys-devel/llvm:${llvm_slot})
+ llvm_ver=${llvm_ver##*-}
# Since late March 2020 cmake.eclass does not set -DNDEBUG any more, and the way
# IGC uses this definition causes problems for some users (see Bug #718824).
@@ -64,7 +66,7 @@ multilib_src_configure() {
-DCCLANG_SONAME_VERSION=${llvm_slot}
-DCMAKE_LIBRARY_PATH="${llvm_prefix}"/$(get_libdir)
-DIGC_OPTION__FORCE_SYSTEM_LLVM=ON
- -DIGC_PREFERRED_LLVM_VERSION=${llvm_slot}
+ -DIGC_PREFERRED_LLVM_VERSION=${llvm_ver}
-DIGC_BUILD__VC_ENABLED=no
)
cmake_src_configure