Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/intel-graphics-compiler/
Date: Thu, 28 Nov 2019 10:08:17
Message-Id: 1574935679.66fe65075aa791dfce0597558124339a18b1d96f.marecki@gentoo
1 commit: 66fe65075aa791dfce0597558124339a18b1d96f
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 28 09:54:30 2019 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 28 10:07:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66fe6507
7
8 dev-util/intel-graphics-compiler: bump to 1.0.2878
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
12
13 dev-util/intel-graphics-compiler/Manifest | 1 +
14 .../intel-graphics-compiler-1.0.2878.ebuild | 36 ++++++++++++++++++++++
15 2 files changed, 37 insertions(+)
16
17 diff --git a/dev-util/intel-graphics-compiler/Manifest b/dev-util/intel-graphics-compiler/Manifest
18 index c4d41e479ec..17202441319 100644
19 --- a/dev-util/intel-graphics-compiler/Manifest
20 +++ b/dev-util/intel-graphics-compiler/Manifest
21 @@ -1 +1,2 @@
22 DIST intel-graphics-compiler-1.0.11.tar.gz 5720630 BLAKE2B 1539de7aec3d0c357159a5be6c446ee4e3c98857fb666ab09ceefdb9ae93b430bc164de2f17848f25aeef1a95ce2066441aa0584354c14ed06fbb9179a17ba58 SHA512 2b4b43b152014329e2d9dcba1a5b832fb8c641a3bd004345ddc8d36a237bc15f112ef007894b5adbe175bf08584093adcee655b5e61a9da81d6956974e03248f
23 +DIST intel-graphics-compiler-1.0.2878.tar.gz 5920418 BLAKE2B 99522118d08183836c6e62f80c98b2cc716dd22d7dc82d05841e87e42f10025508c6254cebe2f886da8454cc4cc4b3a9ee06ce5a3bc04246c88f499f63f8f1ae SHA512 3b6dc9b945fddb3d0bc716f4598c4dacb6431c342b580c90f7e9ff8682bdcbde410a960adbfd9e67601d121adc70d2cf23de01bc99c1d0cb86d14b4db77afde5
24
25 diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.2878.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.2878.ebuild
26 new file mode 100644
27 index 00000000000..03d09a9af2d
28 --- /dev/null
29 +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.2878.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit cmake-multilib llvm
37 +
38 +DESCRIPTION="LLVM-based OpenCL compiler targetting Intel Gen graphics hardware"
39 +HOMEPAGE="https://github.com/intel/intel-graphics-compiler"
40 +SRC_URI="https://github.com/intel/${PN}/archive/igc-${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +
46 +COMMON="sys-devel/llvm:8=[${MULTILIB_USEDEP}]
47 + >=dev-libs/opencl-clang-8.0.1:8=[${MULTILIB_USEDEP}]"
48 +DEPEND="${COMMON}"
49 +RDEPEND="${COMMON}"
50 +
51 +LLVM_MAX_SLOT=8
52 +
53 +PATCHES=(
54 + "${FILESDIR}"/${PN}-1.0.9-no_Werror.patch
55 +)
56 +
57 +S="${WORKDIR}"/${PN}-igc-${PV}
58 +
59 +multilib_src_configure() {
60 + local mycmakeargs=(
61 + -DCMAKE_LIBRARY_PATH=$(get_llvm_prefix ${LLVM_MAX_SLOT})/$(get_libdir)
62 + -DIGC_OPTION__FORCE_SYSTEM_LLVM=ON
63 + -DIGC_PREFERRED_LLVM_VERSION=8
64 + )
65 + cmake-utils_src_configure
66 +}