1 |
commit: 5beac4fec56bb35f1b9da2f420b21da2ce4f9a30 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 21:29:55 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 21:29:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5beac4fe |
7 |
|
8 |
dev-util/intel-graphics-compiler: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
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.8708.ebuild | 79 ---------------------- |
15 |
2 files changed, 80 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest |
18 |
index 4e859bfa6a9..e5aba1fbdb5 100644 |
19 |
--- a/dev-util/intel-graphics-compiler/Manifest |
20 |
+++ b/dev-util/intel-graphics-compiler/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST intel-graphics-compiler-1.0.8708.tar.gz 7574517 BLAKE2B 578b29a103d3d0b7f481971a801fa11bc14430b7ecd00c99492f5d80ce713b84d00d278726a425edf5884ac15f4877c96a39a3f3f3f1c22bc972db039be28dc2 SHA512 3685c2fe0750d860facd7f378a1de4ac21127e7720d7a8889ac0ae8ab9e58dfacfc50b5bbe37d5744c9a17958b057512871125b58784a8c62ddffc2997f80ba8 |
23 |
DIST intel-graphics-compiler-1.0.8744.tar.gz 7586378 BLAKE2B 0f20f99a2659f733521af35c1dd63c2b1398bf4fc5745a217b96ad62cfa53f105d4c9a34eba09651d0f0679d6957820011446f5657170f5ad07d110372b8b1f3 SHA512 dbbe6c08f32b80be305add570187df883aacefbf90b252c70b5705ecc7732f25873732a85558f0aed2ee8db5bcd1a59aec4d7ba110774922dbb19d4d3522a539 |
24 |
|
25 |
diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8708.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8708.ebuild |
26 |
deleted file mode 100644 |
27 |
index 21d5303b49f..00000000000 |
28 |
--- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.8708.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,79 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-CMAKE_BUILD_TYPE="Release" |
37 |
-LLVM_MAX_SLOT="11" |
38 |
-MY_PN="igc" |
39 |
-MY_P="${MY_PN}-${PV}" |
40 |
-PYTHON_COMPAT=( python3_{8..10} ) |
41 |
- |
42 |
-inherit cmake flag-o-matic llvm python-any-r1 |
43 |
- |
44 |
-DESCRIPTION="LLVM-based OpenCL compiler for OpenCL targetting Intel Gen graphics hardware" |
45 |
-HOMEPAGE="https://github.com/intel/intel-graphics-compiler" |
46 |
-SRC_URI="https://github.com/intel/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" |
47 |
-S="${WORKDIR}/${PN}-${MY_P}" |
48 |
- |
49 |
-LICENSE="MIT" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="amd64" |
52 |
-IUSE="debug" |
53 |
- |
54 |
-DEPEND=" |
55 |
- dev-libs/opencl-clang:${LLVM_MAX_SLOT}= |
56 |
- sys-devel/llvm:${LLVM_MAX_SLOT}= |
57 |
-" |
58 |
- |
59 |
-RDEPEND="${DEPEND}" |
60 |
- |
61 |
-BDEPEND=" |
62 |
- ${PYTHON_DEPS} |
63 |
- >=sys-devel/lld-${LLVM_MAX_SLOT} |
64 |
-" |
65 |
- |
66 |
-PATCHES=( |
67 |
- "${FILESDIR}/${PN}-1.0.9-no_Werror.patch" |
68 |
- "${FILESDIR}/${PN}-1.0.8173-opencl-clang_version.patch" |
69 |
- "${FILESDIR}/${PN}-1.0.8365-disable-git.patch" |
70 |
- "${FILESDIR}/${PN}-1.0.8365-cmake-project.patch" |
71 |
-) |
72 |
- |
73 |
-pkg_setup() { |
74 |
- llvm_pkg_setup |
75 |
- python-any-r1_pkg_setup |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- # Since late March 2020 cmake.eclass does not set -DNDEBUG any more, |
80 |
- # and the way IGC uses this definition causes problems for some users. |
81 |
- # See bug #718824 for more information. |
82 |
- ! use debug && append-cppflags -DNDEBUG |
83 |
- |
84 |
- # Get LLVM version |
85 |
- local llvm_version="$(best_version -d sys-devel/llvm:${LLVM_MAX_SLOT})" |
86 |
- |
87 |
- local mycmakeargs=( |
88 |
- # Those options are ensuring, that we are using |
89 |
- # the system LLVM with the correct slot. |
90 |
- -DCCLANG_SONAME_VERSION="${LLVM_MAX_SLOT}" |
91 |
- -DCMAKE_LIBRARY_PATH="$(get_llvm_prefix ${LLVM_MAX_SLOT})/$(get_libdir)" |
92 |
- -DIGC_OPTION__ARCHITECTURE_TARGET="Linux64" |
93 |
- -DIGC_OPTION__CLANG_MODE="Prebuilds" |
94 |
- -DIGC_OPTION__LLD_MODE="Prebuilds" |
95 |
- -DIGC_OPTION__LLDELF_H_DIR="${EPREFIX}/usr/include/lld/Common" |
96 |
- -DIGC_OPTION__LLVM_MODE="Prebuilds" |
97 |
- -DIGC_OPTION__LLVM_PREFERRED_VERSION="${llvm_version##*-}" |
98 |
- |
99 |
- # VectorCompiler needs work, as at the moment upstream |
100 |
- # only supports building vc-intrinsics in place. |
101 |
- -DIGC_BUILD__VC_ENABLED="NO" |
102 |
- |
103 |
- # This will suspress some CMake warnings, |
104 |
- # which cannot be fixed at the moment. |
105 |
- -Wno-dev |
106 |
- ) |
107 |
- |
108 |
- cmake_src_configure |
109 |
-} |