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: Wed, 14 Aug 2024 21:57:58 +0000 (UTC)	[thread overview]
Message-ID: <1723672672.0dc978b423573bea1d8f0d6e297909d9d4223fbd.mattst88@gentoo> (raw)

commit:     0dc978b423573bea1d8f0d6e297909d9d4223fbd
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 21:05:26 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 21:57:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc978b4

dev-util/intel_clc: Version bump to 24.2.0

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

 dev-util/intel_clc/Manifest                |  1 +
 dev-util/intel_clc/intel_clc-24.2.0.ebuild | 93 ++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 25ea971f2985..099315026706 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -4,3 +4,4 @@ DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 2109fc604858a0927271d7b1edb76a24514acac
 DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1 SHA512 5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
 DIST mesa-24.1.6.tar.xz 29172600 BLAKE2B 295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9 SHA512 2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc
 DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5 SHA512 5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
+DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721 SHA512 a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294

diff --git a/dev-util/intel_clc/intel_clc-24.2.0.ebuild b/dev-util/intel_clc/intel_clc-24.2.0.ebuild
new file mode 100644
index 000000000000..4acbe36c77e0
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.2.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {16..18} )
+PYTHON_COMPAT=( python3_{10..13} )
+
+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 ~x86"
+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}]
+		dev-python/packaging[\${PYTHON_USEDEP}]
+		dev-python/pyyaml[\${PYTHON_USEDEP}]
+	")
+	virtual/pkgconfig
+"
+
+python_check_deps() {
+	python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
+	python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" &&
+	python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1
+}
+
+pkg_setup() {
+	llvm-r1_pkg_setup
+	python-any-r1_pkg_setup
+}
+
+src_configure() {
+	PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
+
+	use debug && EMESON_BUILDTYPE=debug
+
+	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
+
+		-Db_ndebug=$(usex debug false true)
+	)
+	meson_src_configure
+}
+
+src_install() {
+	dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}


             reply	other threads:[~2024-08-14 21:58 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14 21:57 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-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-14 16:41 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=1723672672.0dc978b423573bea1d8f0d6e297909d9d4223fbd.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