1 |
commit: 0a1f26e5acf0171fd7d731e4db0ff88095d22f92 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 13:22:29 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 13:22:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1f26e5 |
7 |
|
8 |
dev-util/intel-graphics-compiler: drop 1.0.11378 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
dev-util/intel-graphics-compiler/Manifest | 1 - |
13 |
.../intel-graphics-compiler-1.0.11378.ebuild | 83 ---------------------- |
14 |
2 files changed, 84 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest |
17 |
index 42d67d67a296..479b4642d40d 100644 |
18 |
--- a/dev-util/intel-graphics-compiler/Manifest |
19 |
+++ b/dev-util/intel-graphics-compiler/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST intel-graphics-compiler-1.0.11378.tar.gz 8809420 BLAKE2B d503b962193daf3731864739bc0efb753baed3603795e04941d17dcdcaf9e971787ffa877e8295054de41d889a39e2bdbf8119fb7d60110580acea3c24cefc58 SHA512 f3daedfe36badfe07f187b38c9a4da98116533940f4d910fbbd060813aeb1e3ffaa627a72180e66736748830a80cfca4c2a6dc9c8e9507884629e3e55add1cbb |
22 |
DIST intel-graphics-compiler-1.0.11485.tar.gz 8831925 BLAKE2B 7e2bcb37b4c34bb01788a8d75fc42498223b6193421cb726c21ce7949181757a10d112ae151736cd9283ba6ed8f0625597fb1f2a61229a7352e7f1f5ec34d1d0 SHA512 03fb571fdd61daea3a5c61ff75a146bd98b9b92dfd8bc1957143fe127977f5111df680ac86769d3c1fa1801ba2012b600b1ff844b318ce64460f2d042c4ae65b |
23 |
|
24 |
diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.11378.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.11378.ebuild |
25 |
deleted file mode 100644 |
26 |
index 64b8ae51c593..000000000000 |
27 |
--- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.11378.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,83 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-CMAKE_BUILD_TYPE="Release" |
36 |
-LLVM_MAX_SLOT="13" |
37 |
-MY_PN="igc" |
38 |
-MY_P="${MY_PN}-${PV}" |
39 |
-PYTHON_COMPAT=( python3_{8..11} ) |
40 |
- |
41 |
-inherit cmake flag-o-matic llvm python-any-r1 |
42 |
- |
43 |
-DESCRIPTION="LLVM-based OpenCL compiler for OpenCL targetting Intel Gen graphics hardware" |
44 |
-HOMEPAGE="https://github.com/intel/intel-graphics-compiler" |
45 |
-SRC_URI="https://github.com/intel/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz" |
46 |
-S="${WORKDIR}/${PN}-${MY_P}" |
47 |
- |
48 |
-LICENSE="MIT" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="amd64" |
51 |
-IUSE="debug" |
52 |
- |
53 |
-DEPEND=" |
54 |
- dev-libs/opencl-clang:${LLVM_MAX_SLOT}= |
55 |
- dev-util/spirv-tools |
56 |
- =sys-devel/lld-${LLVM_MAX_SLOT}* |
57 |
- sys-devel/llvm:${LLVM_MAX_SLOT}= |
58 |
-" |
59 |
- |
60 |
-RDEPEND="${DEPEND}" |
61 |
- |
62 |
-BDEPEND=" |
63 |
- =sys-devel/lld-${LLVM_MAX_SLOT}* |
64 |
- ${PYTHON_DEPS} |
65 |
-" |
66 |
- |
67 |
-PATCHES=( |
68 |
- "${FILESDIR}/${PN}-1.0.9-no_Werror.patch" |
69 |
- "${FILESDIR}/${PN}-1.0.8173-opencl-clang_version.patch" |
70 |
- "${FILESDIR}/${PN}-1.0.8365-disable-git.patch" |
71 |
-) |
72 |
- |
73 |
-pkg_setup() { |
74 |
- llvm_pkg_setup |
75 |
- python-any-r1_pkg_setup |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- # Get LLVM version |
80 |
- local llvm_version="$(best_version -d sys-devel/llvm:${LLVM_MAX_SLOT})" |
81 |
- |
82 |
- # See https://github.com/intel/intel-graphics-compiler/issues/212 |
83 |
- append-ldflags -Wl,-z,undefs |
84 |
- |
85 |
- # See https://bugs.gentoo.org/718824 |
86 |
- ! use debug && append-cppflags -DNDEBUG |
87 |
- |
88 |
- local mycmakeargs=( |
89 |
- -DCCLANG_SONAME_VERSION="${LLVM_MAX_SLOT}" |
90 |
- -DCMAKE_LIBRARY_PATH="$(get_llvm_prefix ${LLVM_MAX_SLOT})/$(get_libdir)" |
91 |
- -DIGC_OPTION__ARCHITECTURE_TARGET="Linux64" |
92 |
- -DIGC_OPTION__CLANG_MODE="Prebuilds" |
93 |
- -DIGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR="ON" |
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 |
- -DIGC_OPTION__SPIRV_TOOLS_MODE="Prebuilds" |
99 |
- -DIGC_OPTION__SPIRV_TRANSLATOR_MODE="Prebuilds" |
100 |
- -DIGC_OPTION__USE_PREINSTALLED_SPRIV_HEADERS="ON" |
101 |
- -DINSTALL_GENX_IR="ON" |
102 |
- -DSPIRVLLVMTranslator_INCLUDE_DIR="${EPREFIX}/usr/lib/llvm/${LLVM_MAX_SLOT}/include/LLVMSPIRVLib" |
103 |
- -Wno-dev |
104 |
- |
105 |
- # Compilation with VectorCompiler causes currently a segfault. |
106 |
- # See https://github.com/intel/intel-graphics-compiler/issues/236 |
107 |
- -DIGC_BUILD__VC_ENABLED="OFF" |
108 |
- # -DIGC_OPTION__VC_INTRINSICS_MODE="Prebuilds" |
109 |
- ) |
110 |
- |
111 |
- cmake_src_configure |
112 |
-} |