public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/
Date: Thu, 14 Mar 2024 16:41:53 +0000 (UTC)	[thread overview]
Message-ID: <1710434509.8a4e8462a240eb65fad9e033ffaf0adc175cab43.mattst88@gentoo> (raw)

commit:     8a4e8462a240eb65fad9e033ffaf0adc175cab43
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 15:51:15 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 16:41:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4e8462

dev-util/intel_clc: Version bump to 24.0.3

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-util/intel_clc/Manifest                |  1 +
 dev-util/intel_clc/intel_clc-24.0.3.ebuild | 86 ++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 545994e0f6e0..01e9b390ff1e 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -2,3 +2,4 @@ DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 69c7434ae9c503c14b5bf9abad9a3a26a1dd402
 DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 1bec42973aa849ab3553942500de253213736eca5a71550f488cf915d65ee4f47d137772af1c59042f5803cfaf8152f278ccbab29c896d104985263a7121a2ba SHA512 b52ee34de90b77cd4f204a0cfeabc72064f30c3a11668b5280ad5d1c59c3c805b14a8d892f33c32db68a8ada330fbe7fe2124edccfd45cc84636ca7605c10048
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40 SHA512 1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963
 DIST mesa-24.0.2.tar.xz 19989088 BLAKE2B f69e0b3edb7b8611f528a2e04104fe14b2fe8c799921be2d112dba744133813a19f90aa11d39f3f87a282e518003c7cc7966143d25e845f1f4489c461b22f661 SHA512 b975b5019ea37a2cc76c26e7a0b055a72f7c1cef888418cd654fd89ec667914c89cff5571d4c57828f2ce28a1b80ed707329cb88d60407fd875e6a6ebfaab7b3
+DIST mesa-24.0.3.tar.xz 20021264 BLAKE2B 7af5dc7f11bb11a3d04b3d71b5122a5bf9fe9242440444f266c6d1fac5891b4380a5f792fb66216f1937a7d886402f786d44365c93362d31fb6840d0954c95b4 SHA512 76b3b479877c40f729d7f530af4e3577fa74363edcd3d9474350d498a51dbb761fc034b39bee8547e97c30fd3a520cbc50c742d5a187746e83ddab1df44f37e9

diff --git a/dev-util/intel_clc/intel_clc-24.0.3.ebuild b/dev-util/intel_clc/intel_clc-24.0.3.ebuild
new file mode 100644
index 000000000000..8bc3bb53f6ba
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 16 17 )
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson python-any-r1
+
+MY_PV="${PV/_/-}"
+
+DESCRIPTION="intel_clc tool used for building OpenCL C to SPIR-V"
+HOMEPAGE="https://mesa3d.org/"
+
+if [[ ${PV} == 9999 ]]; then
+	S="${WORKDIR}/intel_clc-${MY_PV}"
+	EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
+	inherit git-r3
+else
+	S="${WORKDIR}/mesa-${MY_PV}"
+	SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+IUSE="debug"
+
+RDEPEND="
+	dev-libs/libclc
+	dev-util/spirv-tools
+	>=sys-libs/zlib-1.2.8:=
+	x11-libs/libdrm
+	$(llvm_gen_dep '
+		dev-util/spirv-llvm-translator:${LLVM_SLOT}
+		sys-devel/clang:${LLVM_SLOT}
+		sys-devel/llvm:${LLVM_SLOT}
+	')
+"
+DEPEND="${RDEPEND}
+	dev-libs/expat
+"
+BDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+	virtual/pkgconfig
+"
+
+python_check_deps() {
+	python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+	llvm-r1_pkg_setup
+	python-any-r1_pkg_setup
+}
+
+src_configure() {
+	PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
+
+	local emesonargs=(
+		-Dllvm=enabled
+		-Dshared-llvm=enabled
+		-Dintel-clc=enabled
+
+		-Dgallium-drivers=''
+		-Dvulkan-drivers=''
+
+		# Set platforms empty to avoid the default "auto" setting. If
+		# platforms is empty meson.build will add surfaceless.
+		-Dplatforms=''
+
+		-Dglx=disabled
+		-Dlibunwind=disabled
+		-Dzstd=disabled
+
+		-Dbuildtype=$(usex debug debug plain)
+		-Db_ndebug=$(usex debug false true)
+	)
+	meson_src_configure
+}
+
+src_install() {
+	dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}


             reply	other threads:[~2024-03-14 16:41 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 16:41 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-21 17:36 [gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/ Matt Turner
2024-11-17  4:52 Matt Turner
2024-11-13 18:40 Matt Turner
2024-11-11  0:14 Sam James
2024-11-10 10:00 Sam James
2024-11-01  1:10 Matt Turner
2024-10-18  2:40 Matt Turner
2024-10-03 17:51 Matt Turner
2024-10-03 17:51 Matt Turner
2024-09-18 17:45 Matt Turner
2024-09-18 17:45 Matt Turner
2024-09-18 17:45 Matt Turner
2024-09-06 15:21 Matt Turner
2024-09-02 17:52 Matt Turner
2024-09-02 17:52 Matt Turner
2024-09-01  2:18 Sam James
2024-09-01  2:18 Sam James
2024-08-14 21:57 Matt Turner
2024-08-14 21:57 Matt Turner
2024-08-14 21:57 Matt Turner
2024-08-13 14:35 Matt Turner
2024-08-12 15:31 Matt Turner
2024-07-31 16:03 Matt Turner
2024-07-23  5:55 Sam James
2024-07-18 15:07 Matt Turner
2024-07-17 17:16 Sam James
2024-07-17 15:02 Matt Turner
2024-07-17 13:22 Matt Turner
2024-07-11 15:41 Matt Turner
2024-07-08 16:56 Matt Turner
2024-06-19 17:46 Matt Turner
2024-06-06 19:54 Matt Turner
2024-06-05 20:01 Matt Turner
2024-06-04 14:45 Matt Turner
2024-05-22 21:17 Matt Turner
2024-05-22 21:17 Matt Turner
2024-05-22 17:42 Matt Turner
2024-05-15 18:36 Matt Turner
2024-05-15 18:36 Matt Turner
2024-05-15 18:36 Matt Turner
2024-05-08 20:43 Matt Turner
2024-05-08 20:43 Matt Turner
2024-04-25 16:10 Matt Turner
2024-04-24 19:07 Matt Turner
2024-04-10 22:08 Matt Turner
2024-04-04  3:21 Matt Turner
2024-04-02 16:54 Arthur Zamarin
2024-03-27 23:58 Matt Turner
2024-03-21  1:19 Matt Turner
2024-03-05  8:51 Sam James
2024-03-05  5:05 Sam James
2024-03-05  4:52 Sam James
2024-03-01 21:53 Sven Wegener
2024-02-28 20:26 Matt Turner
2024-02-16 14:11 Matt Turner
2024-02-15 14:51 Matt Turner
2024-02-15 14:51 Matt Turner
2024-02-15  4:50 Matt Turner
2024-02-10 10:47 Michał Górny
2024-02-01 19:49 Matt Turner
2024-02-01 19:49 Matt Turner
2024-01-25  3:36 Matt Turner
2024-01-24 17:00 Matt Turner
2024-01-16 18:01 Arthur Zamarin
2024-01-11  4:41 Matt Turner
2024-01-10 15:57 Sam James
2024-01-10 15:54 Matt Turner
2024-01-10 15:50 Sam James
2023-12-28 15:52 Matt Turner
2023-12-28 15:52 Matt Turner
2023-12-14 16:16 Matt Turner
2023-11-29 22:11 Matt Turner
2023-11-28  7:57 Sam James
2023-11-25 17:31 Matt Turner
2023-11-25  5:21 Matt Turner
2023-11-16  4:11 Matt Turner
2023-11-14 18:36 Matt Turner
2023-11-09 18:40 Matt Turner
2023-11-09 18:40 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710434509.8a4e8462a240eb65fad9e033ffaf0adc175cab43.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox