Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/intel-graphics-compiler/
Date: Sun, 27 Mar 2022 22:23:17
Message-Id: 1648419667.69d75711d4911030679e244d4f6bf94073a3ec2f.conikost@gentoo
1 commit: 69d75711d4911030679e244d4f6bf94073a3ec2f
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 14:46:38 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 22:21:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69d75711
7
8 dev-util/intel-graphics-compiler: drop 1.0.9441
9
10 Closes: https://github.com/gentoo/gentoo/pull/23595
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-util/intel-graphics-compiler/Manifest | 1 -
14 .../intel-graphics-compiler-1.0.10713.ebuild | 4 +-
15 .../intel-graphics-compiler-1.0.9441.ebuild | 79 ----------------------
16 3 files changed, 2 insertions(+), 82 deletions(-)
17
18 diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest
19 index a84e31babec5..cf2a02dfa4c1 100644
20 --- a/dev-util/intel-graphics-compiler/Manifest
21 +++ b/dev-util/intel-graphics-compiler/Manifest
22 @@ -1,3 +1,2 @@
23 DIST intel-graphics-compiler-1.0.10713.tar.gz 8489446 BLAKE2B 063b938ae6d32f3a64decf943215c54ea45eafdb828fdec467941f9e4288977332a3e5e0703193c95412c287f20944b5c2951310c6eb678233cd16dfdd3377b0 SHA512 a6c568d339c0316400f88e318a290a92f842eeb2ab92abd0c23ff155e6b90e2d8e012ac8714a9695a66a509ffef66574919d92bc03ff06b773a79896546fe1a6
24 DIST intel-graphics-compiler-1.0.8744.tar.gz 7586378 BLAKE2B 0f20f99a2659f733521af35c1dd63c2b1398bf4fc5745a217b96ad62cfa53f105d4c9a34eba09651d0f0679d6957820011446f5657170f5ad07d110372b8b1f3 SHA512 dbbe6c08f32b80be305add570187df883aacefbf90b252c70b5705ecc7732f25873732a85558f0aed2ee8db5bcd1a59aec4d7ba110774922dbb19d4d3522a539
25 -DIST intel-graphics-compiler-1.0.9441.tar.gz 7893557 BLAKE2B f050df0eddf63f880757fb04dded4ddc133c11fd7a7c8ceab152ac233ba9953b7efbe948433056654b2b43db2254a1edc15e5aada24fd3873face6f43d1307f9 SHA512 eaccec4213ea7af7deeaf8772784065839bb2f1dc98fb88b49acfcfc2b299f7e6ecb48c5df854448fa7db79f738654db722fcf684e9bbc94051d3bcfe449e20f
26
27 diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.10713.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.10713.ebuild
28 index 906d7de597c5..d0d4c3c1272a 100644
29 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.10713.ebuild
30 +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.10713.ebuild
31 @@ -73,8 +73,8 @@ src_configure() {
32 -DINSTALL_GENX_IR="ON"
33 -DSPIRVLLVMTranslator_INCLUDE_DIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAX_SLOT}/include/LLVMSPIRVLib"
34
35 - # VectorCompiler needs work, as at the moment upstream
36 - # only supports building vc-intrinsics in place.
37 + # Compilation with VectorCompiler causes currently a segfault.
38 + # See https://github.com/intel/intel-graphics-compiler/issues/236
39 -DIGC_BUILD__VC_ENABLED="OFF"
40 # -DIGC_OPTION__VC_INTRINSICS_MODE="Prebuilds"
41
42
43 diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9441.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9441.ebuild
44 deleted file mode 100644
45 index 0e7e9889129e..000000000000
46 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9441.ebuild
47 +++ /dev/null
48 @@ -1,79 +0,0 @@
49 -# Copyright 1999-2021 Gentoo Authors
50 -# Distributed under the terms of the GNU General Public License v2
51 -
52 -EAPI=7
53 -
54 -CMAKE_BUILD_TYPE="Release"
55 -LLVM_MAX_SLOT="11"
56 -MY_PN="igc"
57 -MY_P="${MY_PN}-${PV}"
58 -PYTHON_COMPAT=( python3_{8..10} )
59 -
60 -inherit cmake flag-o-matic llvm python-any-r1
61 -
62 -DESCRIPTION="LLVM-based OpenCL compiler for OpenCL targetting Intel Gen graphics hardware"
63 -HOMEPAGE="https://github.com/intel/intel-graphics-compiler"
64 -SRC_URI="https://github.com/intel/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
65 -S="${WORKDIR}/${PN}-${MY_P}"
66 -
67 -LICENSE="MIT"
68 -SLOT="0"
69 -KEYWORDS="~amd64"
70 -IUSE="debug"
71 -
72 -DEPEND="
73 - dev-libs/opencl-clang:${LLVM_MAX_SLOT}=
74 - sys-devel/llvm:${LLVM_MAX_SLOT}=
75 -"
76 -
77 -RDEPEND="${DEPEND}"
78 -
79 -BDEPEND="
80 - ${PYTHON_DEPS}
81 - >=sys-devel/lld-${LLVM_MAX_SLOT}
82 -"
83 -
84 -PATCHES=(
85 - "${FILESDIR}/${PN}-1.0.9-no_Werror.patch"
86 - "${FILESDIR}/${PN}-1.0.8173-opencl-clang_version.patch"
87 - "${FILESDIR}/${PN}-1.0.8365-disable-git.patch"
88 - "${FILESDIR}/${PN}-1.0.8365-cmake-project.patch"
89 -)
90 -
91 -pkg_setup() {
92 - llvm_pkg_setup
93 - python-any-r1_pkg_setup
94 -}
95 -
96 -src_configure() {
97 - # Since late March 2020 cmake.eclass does not set -DNDEBUG any more,
98 - # and the way IGC uses this definition causes problems for some users.
99 - # See bug #718824 for more information.
100 - ! use debug && append-cppflags -DNDEBUG
101 -
102 - # Get LLVM version
103 - local llvm_version="$(best_version -d sys-devel/llvm:${LLVM_MAX_SLOT})"
104 -
105 - local mycmakeargs=(
106 - # Those options are ensuring, that we are using
107 - # the system LLVM with the correct slot.
108 - -DCCLANG_SONAME_VERSION="${LLVM_MAX_SLOT}"
109 - -DCMAKE_LIBRARY_PATH="$(get_llvm_prefix ${LLVM_MAX_SLOT})/$(get_libdir)"
110 - -DIGC_OPTION__ARCHITECTURE_TARGET="Linux64"
111 - -DIGC_OPTION__CLANG_MODE="Prebuilds"
112 - -DIGC_OPTION__LLD_MODE="Prebuilds"
113 - -DIGC_OPTION__LLDELF_H_DIR="${EPREFIX}/usr/include/lld/Common"
114 - -DIGC_OPTION__LLVM_MODE="Prebuilds"
115 - -DIGC_OPTION__LLVM_PREFERRED_VERSION="${llvm_version##*-}"
116 -
117 - # VectorCompiler needs work, as at the moment upstream
118 - # only supports building vc-intrinsics in place.
119 - -DIGC_BUILD__VC_ENABLED="NO"
120 -
121 - # This will suspress some CMake warnings,
122 - # which cannot be fixed at the moment.
123 - -Wno-dev
124 - )
125 -
126 - cmake_src_configure
127 -}