[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-05-08 Thread Matt Turner
commit: d111dc15a63f9ca01c9ac7736e334ab2788de2df
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May  8 20:40:07 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May  8 20:42:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d111dc15

dev-util/intel_clc: Version bump to 24.0.7

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 7ae411f2b90d..8d311ceb98a3 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,4 +1,5 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
 DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
 DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
+DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3

diff --git a/dev-util/intel_clc/intel_clc-24.0.7.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.7.ebuild
new file mode 100644
index ..8bc3bb53f6ba
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.7.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} ==  ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-05-08 Thread Matt Turner
commit: 2094d240328b94485d8f2a03140d09baeb708968
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May  8 20:39:02 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May  8 20:42:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2094d240

dev-util/intel_clc: Version bump to 24.1.0_rc3

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|  1 +
 dev-util/intel_clc/intel_clc-24.1.0_rc3.ebuild | 87 ++
 2 files changed, 88 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 8d311ceb98a3..7d1d0d02695a 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -3,3 +3,4 @@ DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1f
 DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3
+DIST mesa-24.1.0-rc3.tar.xz 28889928 BLAKE2B 
bb8fb1ce1559f613e94c33aa20e89061a8e78be23c84776d32ac45eb218bfb8d6e30e5efa4f6c3e0782af1b14c41dab8c98682723f5bf3b21980e01f6ab8e6cf
 SHA512 
d75641a023ba489b5117b369a2d9007bcf6079f31375c9aa70afd968f8acc3695468e9cf2ef1989ed28459cf245fccd60507a0e8b0931401b77a4b2b21f0fe03

diff --git a/dev-util/intel_clc/intel_clc-24.1.0_rc3.ebuild 
b/dev-util/intel_clc/intel_clc-24.1.0_rc3.ebuild
new file mode 100644
index ..f47259e8747d
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.1.0_rc3.ebuild
@@ -0,0 +1,87 @@
+# 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} ==  ]]; 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}]")
+   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"
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-04-25 Thread Matt Turner
commit: 2463dd5e6c5196019eeb6babb96d96e51a077869
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr 25 15:46:16 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr 25 16:02:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2463dd5e

dev-util/intel_clc: Version bump to 24.1.0_rc1

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|  1 +
 dev-util/intel_clc/intel_clc-24.1.0_rc1.ebuild | 87 ++
 2 files changed, 88 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index a7f0c73e02bc..7ae411f2b90d 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
 DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
 DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
+DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3

diff --git a/dev-util/intel_clc/intel_clc-24.1.0_rc1.ebuild 
b/dev-util/intel_clc/intel_clc-24.1.0_rc1.ebuild
new file mode 100644
index ..f47259e8747d
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.1.0_rc1.ebuild
@@ -0,0 +1,87 @@
+# 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} ==  ]]; 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}]")
+   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"
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-04-24 Thread Matt Turner
commit: c36525bce5d25cc461aab17215e4cb9178923aa2
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Apr 24 19:05:52 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Apr 24 19:07:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36525bc

dev-util/intel_clc: Version bump to 24.0.6

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index ec91c0de7f0f..a7f0c73e02bc 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
 DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
+DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc

diff --git a/dev-util/intel_clc/intel_clc-24.0.6.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.6.ebuild
new file mode 100644
index ..8bc3bb53f6ba
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.6.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} ==  ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-04-10 Thread Matt Turner
commit: dbabfcc1844db6e056d5a2f6a53171afd6f10aaa
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Apr 10 22:07:21 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Apr 10 22:08:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbabfcc1

dev-util/intel_clc: Version bump to 24.0.5

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index e02ca356dfb3..ec91c0de7f0f 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1 +1,2 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
+DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb

diff --git a/dev-util/intel_clc/intel_clc-24.0.5.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.5.ebuild
new file mode 100644
index ..8bc3bb53f6ba
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.5.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} ==  ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-04-03 Thread Matt Turner
commit: 256d58c5a598612e5cac777e3beefc6dc77371e6
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr  4 03:12:37 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr  4 03:12:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=256d58c5

dev-util/intel_clc: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest   |   5 --
 dev-util/intel_clc/intel_clc-23.3.5.ebuild| 116 --
 dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild |  86 ---
 dev-util/intel_clc/intel_clc-23.3.6.ebuild| 116 --
 dev-util/intel_clc/intel_clc-24.0.1.ebuild|  86 ---
 dev-util/intel_clc/intel_clc-24.0.2.ebuild|  87 ---
 dev-util/intel_clc/intel_clc-24.0.3.ebuild|  86 ---
 7 files changed, 582 deletions(-)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index a65d9b109b0b..e02ca356dfb3 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,6 +1 @@
-DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
-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
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515

diff --git a/dev-util/intel_clc/intel_clc-23.3.5.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.5.ebuild
deleted file mode 100644
index 93e03c1a2bbd..
--- a/dev-util/intel_clc/intel_clc-23.3.5.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm 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} ==  ]]; 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
-"
-DEPEND="${RDEPEND}
-   dev-libs/expat
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
-   virtual/pkgconfig
-"
-
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="15"
-PER_SLOT_DEPSTR="
-   (
-   dev-util/spirv-llvm-translator:@SLOT@
-   sys-devel/clang:@SLOT@
-   sys-devel/llvm:@SLOT@
-   )
-"
-LLVM_DEPSTR="
-   || (
-   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
-   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
-   done)
-   )
-   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   llvm_pkg_setup
-   

[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-04-02 Thread Arthur Zamarin
commit: 6f26ceddca2a7c15e186f5ac9465c02b372d3a61
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  2 16:54:25 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  2 16:54:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f26cedd

dev-util/intel_clc: Stabilize 24.0.4 amd64, #928448

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/intel_clc/intel_clc-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-24.0.4.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.4.ebuild
index 8bc3bb53f6ba..922614294c85 100644
--- a/dev-util/intel_clc/intel_clc-24.0.4.ebuild
+++ b/dev-util/intel_clc/intel_clc-24.0.4.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} ==  ]]; then
 else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz;
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-27 Thread Matt Turner
commit: 436994fc1607a0a8fc03bd65bd73e5db3f96721a
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar 27 23:48:26 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 27 23:58:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436994fc

dev-util/intel_clc: Version bump to 24.0.4

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 01e9b390ff1e..a65d9b109b0b 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -3,3 +3,4 @@ DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 
1bec42973aa849ab3553942500de253213736ec
 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
+DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515

diff --git a/dev-util/intel_clc/intel_clc-24.0.4.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.4.ebuild
new file mode 100644
index ..8bc3bb53f6ba
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.4.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} ==  ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-20 Thread Matt Turner
commit: e0a388f510240997ec4c1c9c75a746c607f9ba2c
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 21 01:19:24 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 21 01:19:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a388f5

dev-util/intel_clc: Keyword  x86, #926226

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/intel_clc-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index 8bc3bb53f6ba..09970ccf3189 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} ==  ]]; then
 else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz;
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-14 Thread Matt Turner
commit: 8a4e8462a240eb65fad9e033ffaf0adc175cab43
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 14 15:51:15 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 14 16:41:49 2024 +
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  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 ..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} ==  ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-05 Thread Sam James
commit: cfb7b3f6fb60c20ce7098423e2ba67087c7f8aea
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  5 08:50:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  5 08:50:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfb7b3f6

dev-util/intel_clc: Stabilize 23.3.6-r1 amd64, #926179

Signed-off-by: Sam James  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild
index 8bc3bb53f6ba..922614294c85 100644
--- a/dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} ==  ]]; then
 else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz;
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-04 Thread Sam James
commit: 13236593cbd00ae106ac27544010f302d98dc115
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  5 05:01:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  5 05:04:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13236593

dev-util/intel_clc: backport llvm-r1 to 23.x

Bug: https://bugs.gentoo.org/923228
Closes: https://bugs.gentoo.org/924876
Signed-off-by: Sam James  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild | 86 +++
 1 file changed, 86 insertions(+)

diff --git a/dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.6-r1.ebuild
new file mode 100644
index ..8bc3bb53f6ba
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.6-r1.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} ==  ]]; 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-04 Thread Sam James
commit: bd9e158f55d67b59cd7154733adb122ba33ac7b5
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  5 04:52:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  5 04:52:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9e158f

dev-util/intel_clc: Stabilize 23.3.6 amd64, #926155

Signed-off-by: Sam James  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.6.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.6.ebuild
index f17127a02223..93e03c1a2bbd 100644
--- a/dev-util/intel_clc/intel_clc-23.3.6.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.6.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
 else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz;
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-03-01 Thread Sven Wegener
commit: 8f5bc68ec8a4551e9a4797ff608caf32c61e3849
Author: Sven Wegener  gentoo  org>
AuthorDate: Fri Mar  1 21:23:09 2024 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Fri Mar  1 21:52:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5bc68e

dev-util/intel_clc: switch from --buildtype to -Dbuildtype

Followup to b95ea11330e446d0deb89ca7d78356cb2a7d0d06, which switched
meson.eclass from --buildtype to -Dbuildtype, resulting in

> ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.

Signed-off-by: Sven Wegener  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.5.ebuild | 2 +-
 dev-util/intel_clc/intel_clc-23.3.6.ebuild | 2 +-
 dev-util/intel_clc/intel_clc-24.0.1.ebuild | 2 +-
 dev-util/intel_clc/intel_clc-24.0.2.ebuild | 2 +-
 dev-util/intel_clc/intel_clc-.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.5.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.5.ebuild
index 090fb7729358..93e03c1a2bbd 100644
--- a/dev-util/intel_clc/intel_clc-23.3.5.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.5.ebuild
@@ -105,7 +105,7 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/dev-util/intel_clc/intel_clc-23.3.6.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.6.ebuild
index 0df8ae0fd528..f17127a02223 100644
--- a/dev-util/intel_clc/intel_clc-23.3.6.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.6.ebuild
@@ -105,7 +105,7 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/dev-util/intel_clc/intel_clc-24.0.1.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.1.ebuild
index adb22e32e30a..8bc3bb53f6ba 100644
--- a/dev-util/intel_clc/intel_clc-24.0.1.ebuild
+++ b/dev-util/intel_clc/intel_clc-24.0.1.ebuild
@@ -75,7 +75,7 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/dev-util/intel_clc/intel_clc-24.0.2.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.2.ebuild
index adb22e32e30a..8bc3bb53f6ba 100644
--- a/dev-util/intel_clc/intel_clc-24.0.2.ebuild
+++ b/dev-util/intel_clc/intel_clc-24.0.2.ebuild
@@ -75,7 +75,7 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index adb22e32e30a..8bc3bb53f6ba 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -75,7 +75,7 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-28 Thread Matt Turner
commit: 37ee7b7e62c129c10003e45d3adf09428b108f0a
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Feb 28 20:05:11 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Feb 28 20:26:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ee7b7e

dev-util/intel_clc: Version bump to 24.0.2

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index f766226818d8..545994e0f6e0 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
 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

diff --git a/dev-util/intel_clc/intel_clc-24.0.2.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.2.ebuild
new file mode 100644
index ..adb22e32e30a
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.2.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} ==  ]]; 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
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-16 Thread Matt Turner
commit: 55c233f0ca1b5ed673b53aff2b7afb7bec978eb8
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Feb 16 14:09:31 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Feb 16 14:11:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c233f0

dev-util/intel_clc: Version bump to 23.3.6

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.6.ebuild | 116 +
 2 files changed, 117 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index fcd3113d074e..f766226818d8 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
+DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 
1bec42973aa849ab3553942500de253213736eca5a71550f488cf915d65ee4f47d137772af1c59042f5803cfaf8152f278ccbab29c896d104985263a7121a2ba
 SHA512 
b52ee34de90b77cd4f204a0cfeabc72064f30c3a11668b5280ad5d1c59c3c805b14a8d892f33c32db68a8ada330fbe7fe2124edccfd45cc84636ca7605c10048
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963

diff --git a/dev-util/intel_clc/intel_clc-23.3.6.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.6.ebuild
new file mode 100644
index ..0df8ae0fd528
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.6.ebuild
@@ -0,0 +1,116 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="17"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-15 Thread Matt Turner
commit: c29ceebaf0f786079767402293f20d1767462f23
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb 15 14:48:17 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb 15 14:51:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29ceeba

dev-util/intel_clc: Propagate stable keywords

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.5.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.5.ebuild
index 0df8ae0fd528..090fb7729358 100644
--- a/dev-util/intel_clc/intel_clc-23.3.5.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.5.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
 else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz;
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-15 Thread Matt Turner
commit: 203f15742b766754b6b726319895b68c1d5d9c17
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb 15 14:48:46 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb 15 14:51:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203f1574

dev-util/intel_clc: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest   |   4 -
 dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild | 116 --
 dev-util/intel_clc/intel_clc-23.3.3.ebuild| 116 --
 dev-util/intel_clc/intel_clc-23.3.4.ebuild| 116 --
 dev-util/intel_clc/intel_clc-24.0.0.ebuild|  86 ---
 5 files changed, 438 deletions(-)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index fefb8bc10ea2..fcd3113d074e 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,6 +1,2 @@
-DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
-DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
-DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
-DIST mesa-24.0.0.tar.xz 19875824 BLAKE2B 
e15b14e921a6d1c8d1b183b8f7302d13aa81401d9485742846b8b70e2353825bcf0a0e1ee1849831eb43e5836a108cb3cf68bfe0d9183a78684dbd2fac637ab7
 SHA512 
9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963

diff --git a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
deleted file mode 100644
index ddb3fe2f40ad..
--- a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit llvm 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} ==  ]]; 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
-"
-DEPEND="${RDEPEND}
-   dev-libs/expat
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
-   virtual/pkgconfig
-"
-
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="15"
-PER_SLOT_DEPSTR="
-   (
-   dev-util/spirv-llvm-translator:@SLOT@
-   sys-devel/clang:@SLOT@
-   sys-devel/llvm:@SLOT@
-   )
-"
-LLVM_DEPSTR="
-   || (
-   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
-   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
-   done)
-   )
-   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_configure() {
-   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(get_libdir)/pkgconfig"
-

[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-14 Thread Matt Turner
commit: 498f3ea9bf7894dd08485358865c27634ee3ee0e
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb 15 04:48:48 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb 15 04:50:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498f3ea9

dev-util/intel_clc: Version bump to 24.0.1

Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index b30421e850ab..fefb8bc10ea2 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -3,3 +3,4 @@ DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516
 DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
 DIST mesa-24.0.0.tar.xz 19875824 BLAKE2B 
e15b14e921a6d1c8d1b183b8f7302d13aa81401d9485742846b8b70e2353825bcf0a0e1ee1849831eb43e5836a108cb3cf68bfe0d9183a78684dbd2fac637ab7
 SHA512 
9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15
+DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963

diff --git a/dev-util/intel_clc/intel_clc-24.0.1.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.1.ebuild
new file mode 100644
index ..adb22e32e30a
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-24.0.1.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} ==  ]]; 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
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-10 Thread Michał Górny
commit: fe756615c56e52511bdd35c8247a59ecfc1f5f79
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb  5 19:30:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 10 10:47:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe756615

dev-util/intel_clc: Migrate to llvm-r1

Closes: https://bugs.gentoo.org/923228
Signed-off-by: Michał Górny  gentoo.org>

 dev-util/intel_clc/intel_clc-24.0.0.ebuild | 48 ++
 dev-util/intel_clc/intel_clc-.ebuild   | 48 ++
 2 files changed, 18 insertions(+), 78 deletions(-)

diff --git a/dev-util/intel_clc/intel_clc-24.0.0.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.0.ebuild
index 10dd7e930b24..adb22e32e30a 100644
--- a/dev-util/intel_clc/intel_clc-24.0.0.ebuild
+++ b/dev-util/intel_clc/intel_clc-24.0.0.ebuild
@@ -3,9 +3,10 @@
 
 EAPI=8
 
+LLVM_COMPAT=( 16 17 )
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit llvm meson python-any-r1
+inherit llvm-r1 meson python-any-r1
 
 MY_PV="${PV/_/-}"
 
@@ -31,6 +32,11 @@ RDEPEND="
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
@@ -41,53 +47,17 @@ BDEPEND="
virtual/pkgconfig
 "
 
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 16.
-LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="16"
-PER_SLOT_DEPSTR="
-   (
-   dev-util/spirv-llvm-translator:@SLOT@
-   sys-devel/clang:@SLOT@
-   sys-devel/llvm:@SLOT@
-   )
-"
-LLVM_DEPSTR="
-   || (
-   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
-   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
-   done)
-   )
-   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {
-   llvm_pkg_setup
+   llvm-r1_pkg_setup
python-any-r1_pkg_setup
 }
 
 src_configure() {
-   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(get_libdir)/pkgconfig"
+   PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
 
local emesonargs=(
-Dllvm=enabled

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index 10dd7e930b24..adb22e32e30a 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -3,9 +3,10 @@
 
 EAPI=8
 
+LLVM_COMPAT=( 16 17 )
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit llvm meson python-any-r1
+inherit llvm-r1 meson python-any-r1
 
 MY_PV="${PV/_/-}"
 
@@ -31,6 +32,11 @@ RDEPEND="
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
@@ -41,53 +47,17 @@ BDEPEND="
virtual/pkgconfig
 "
 
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 16.
-LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="16"
-PER_SLOT_DEPSTR="
-   (
-   dev-util/spirv-llvm-translator:@SLOT@
-   sys-devel/clang:@SLOT@
-   sys-devel/llvm:@SLOT@
-   )
-"
-LLVM_DEPSTR="
-   || (
-   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
-   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
-   done)
-   )
-   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {
-   llvm_pkg_setup
+   llvm-r1_pkg_setup
python-any-r1_pkg_setup
 }
 
 src_configure() {
-   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(get_libdir)/pkgconfig"
+   PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
 
local emesonargs=(
-Dllvm=enabled



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-01 Thread Matt Turner
commit: 352f04090d016c4460bfae93a688c6a9004e96e5
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 19:47:37 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352f0409

dev-util/intel_clc: Version bump to 24.0.0

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest   | 1 +
 dev-util/intel_clc/{intel_clc-.ebuild => intel_clc-24.0.0.ebuild} | 4 ++--
 dev-util/intel_clc/intel_clc-.ebuild  | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index c6c31c7c923f..b30421e850ab 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -2,3 +2,4 @@ DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256b
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
 DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
+DIST mesa-24.0.0.tar.xz 19875824 BLAKE2B 
e15b14e921a6d1c8d1b183b8f7302d13aa81401d9485742846b8b70e2353825bcf0a0e1ee1849831eb43e5836a108cb3cf68bfe0d9183a78684dbd2fac637ab7
 SHA512 
9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-24.0.0.ebuild
similarity index 97%
copy from dev-util/intel_clc/intel_clc-.ebuild
copy to dev-util/intel_clc/intel_clc-24.0.0.ebuild
index 0df8ae0fd528..10dd7e930b24 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-24.0.0.ebuild
@@ -47,9 +47,9 @@ BDEPEND="
 #
 # How to use it:
 # 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 16.
 LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="15"
+LLVM_MIN_SLOT="16"
 PER_SLOT_DEPSTR="
(
dev-util/spirv-llvm-translator:@SLOT@

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index 0df8ae0fd528..10dd7e930b24 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -47,9 +47,9 @@ BDEPEND="
 #
 # How to use it:
 # 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 16.
 LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="15"
+LLVM_MIN_SLOT="16"
 PER_SLOT_DEPSTR="
(
dev-util/spirv-llvm-translator:@SLOT@



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-02-01 Thread Matt Turner
commit: fa3a9f6530c8dc851df792e11dd9f7f9539f2320
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 19:47:17 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3a9f65

dev-util/intel_clc: Version bump to 23.3.5

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.5.ebuild | 116 +
 2 files changed, 117 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 05aeb4dfb67d..c6c31c7c923f 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
 DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
+DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea

diff --git a/dev-util/intel_clc/intel_clc-23.3.5.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.5.ebuild
new file mode 100644
index ..0df8ae0fd528
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.5.ebuild
@@ -0,0 +1,116 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="17"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-01-24 Thread Matt Turner
commit: 8194ee162cdac42183c81498690bb595e4329461
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jan 25 03:35:44 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jan 25 03:36:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8194ee16

dev-util/intel_clc: Version bump to 23.3.4

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.4.ebuild | 116 +
 2 files changed, 117 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 27f844ce49f8..05aeb4dfb67d 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
+DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412

diff --git a/dev-util/intel_clc/intel_clc-23.3.4.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.4.ebuild
new file mode 100644
index ..0df8ae0fd528
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.4.ebuild
@@ -0,0 +1,116 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="17"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-01-24 Thread Matt Turner
commit: 6168a87632e968ff0177a7383bf26d1a82fa6957
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jan 24 16:51:33 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jan 24 17:00:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6168a876

dev-util/intel_clc: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest   |   3 -
 dev-util/intel_clc/intel_clc-23.3.0.ebuild| 115 -
 dev-util/intel_clc/intel_clc-23.3.0_rc5-r1.ebuild | 115 -
 dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild | 116 --
 4 files changed, 349 deletions(-)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 2097cae51135..27f844ce49f8 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,5 +1,2 @@
-DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
-DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
-DIST mesa-23.3.2.tar.xz 19365140 BLAKE2B 
fc97e17dd7a139056190010325f1d57978ef8618ae87731f459daedc303223f3fbce660c2361dcd518d35c709357435366c75ebfd6366daa9f0dec99b534604f
 SHA512 
634d2b67ade2121de3f19f2cccd4bf7ceb2ac391b9366587ed1c2412444e010de8ec14a25529fdec1f43f943096422eb23cefcb8a89d2f8b20286850188b65c3
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30

diff --git a/dev-util/intel_clc/intel_clc-23.3.0.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0.ebuild
deleted file mode 100644
index e1a7520244d4..
--- a/dev-util/intel_clc/intel_clc-23.3.0.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit llvm 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} ==  ]]; 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
-"
-DEPEND="${RDEPEND}
-   dev-libs/expat
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
-   virtual/pkgconfig
-"
-
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="15"
-PER_SLOT_DEPSTR="
-   (
-   dev-util/spirv-llvm-translator:@SLOT@
-   sys-devel/clang:@SLOT@
-   sys-devel/llvm:@SLOT@
-   )
-"
-LLVM_DEPSTR="
-   || (
-   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
-   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
-   done)
-   )
-   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_configure() {
-   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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=''

[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-01-16 Thread Arthur Zamarin
commit: e7d600bcd3f502530200eee87d0bbb9d501b7b22
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 16 18:01:05 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 16 18:01:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d600bc

dev-util/intel_clc: Stabilize 23.3.1-r1 amd64, #920055

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
index 29bc47acdbcc..ddb3fe2f40ad 100644
--- a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
 else
S="${WORKDIR}/mesa-${MY_PV}"
SRC_URI="https://archive.mesa3d.org/mesa-${MY_PV}.tar.xz;
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-01-10 Thread Matt Turner
commit: 853da9727717631ac275a03aec80dc57e0f93952
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jan 10 21:33:43 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jan 11 04:41:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=853da972

dev-util/intel_clc: Version bump to 23.3.3

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.3.ebuild | 116 +
 2 files changed, 117 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 83dc69c6d1b6..2097cae51135 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -2,3 +2,4 @@ DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021
 DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
 DIST mesa-23.3.2.tar.xz 19365140 BLAKE2B 
fc97e17dd7a139056190010325f1d57978ef8618ae87731f459daedc303223f3fbce660c2361dcd518d35c709357435366c75ebfd6366daa9f0dec99b534604f
 SHA512 
634d2b67ade2121de3f19f2cccd4bf7ceb2ac391b9366587ed1c2412444e010de8ec14a25529fdec1f43f943096422eb23cefcb8a89d2f8b20286850188b65c3
+DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30

diff --git a/dev-util/intel_clc/intel_clc-23.3.3.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.3.ebuild
new file mode 100644
index ..0df8ae0fd528
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="17"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-01-10 Thread Sam James
commit: 8c4356d82e62c01d9fd090f6c2c3315df91de713
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 10 15:56:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 10 15:56:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4356d8

dev-util/intel_clc: drop libunwind

Mid-air collision...

Bug: https://bugs.gentoo.org/921709
Signed-off-by: Sam James  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild | 5 +
 dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild | 5 +
 dev-util/intel_clc/intel_clc-.ebuild  | 5 +
 3 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
index db424b138dd6..29bc47acdbcc 100644
--- a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
@@ -24,14 +24,13 @@ fi
 
 LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-IUSE="debug unwind"
+IUSE="debug"
 
 RDEPEND="
dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm
-   unwind? ( sys-libs/libunwind:= )
 "
 DEPEND="${RDEPEND}
dev-libs/expat
@@ -106,8 +105,6 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   $(meson_feature unwind libunwind)
-
--buildtype $(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)

diff --git a/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
index 574ee3616a56..0df8ae0fd528 100644
--- a/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
@@ -24,14 +24,13 @@ fi
 
 LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-IUSE="debug unwind"
+IUSE="debug"
 
 RDEPEND="
dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm
-   unwind? ( sys-libs/libunwind:= )
 "
 DEPEND="${RDEPEND}
dev-libs/expat
@@ -106,8 +105,6 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   $(meson_feature unwind libunwind)
-
--buildtype $(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index 574ee3616a56..0df8ae0fd528 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -24,14 +24,13 @@ fi
 
 LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-IUSE="debug unwind"
+IUSE="debug"
 
 RDEPEND="
dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm
-   unwind? ( sys-libs/libunwind:= )
 "
 DEPEND="${RDEPEND}
dev-libs/expat
@@ -106,8 +105,6 @@ src_configure() {
-Dlibunwind=disabled
-Dzstd=disabled
 
-   $(meson_feature unwind libunwind)
-
--buildtype $(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-01-10 Thread Matt Turner
commit: 31f9bd5202c4061677798509afe2a8f3846d7643
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jan 10 15:54:02 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jan 10 15:54:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f9bd52

dev-util/intel_clc: Disable libunwind

Closes: https://bugs.gentoo.org/921709
Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild | 1 +
 dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild | 1 +
 dev-util/intel_clc/intel_clc-.ebuild  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
index f11eb6455214..db424b138dd6 100644
--- a/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
@@ -103,6 +103,7 @@ src_configure() {
-Dplatforms=''
 
-Dglx=disabled
+   -Dlibunwind=disabled
-Dzstd=disabled
 
$(meson_feature unwind libunwind)

diff --git a/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
index 46bcd7e65951..574ee3616a56 100644
--- a/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
@@ -103,6 +103,7 @@ src_configure() {
-Dplatforms=''
 
-Dglx=disabled
+   -Dlibunwind=disabled
-Dzstd=disabled
 
$(meson_feature unwind libunwind)

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index 46bcd7e65951..574ee3616a56 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -103,6 +103,7 @@ src_configure() {
-Dplatforms=''
 
-Dglx=disabled
+   -Dlibunwind=disabled
-Dzstd=disabled
 
$(meson_feature unwind libunwind)



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2024-01-10 Thread Sam James
commit: 81284dece192a56d0e73bddc6aa0bdfd5fde9ae1
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 10 15:49:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 10 15:49:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81284dec

dev-util/intel_clc: add missing libunwind dep

Closes: https://bugs.gentoo.org/921709
Bug: https://bugs.gentoo.org/920055
Signed-off-by: Sam James  gentoo.org>

 .../{intel_clc-23.3.1.ebuild => intel_clc-23.3.1-r1.ebuild}| 7 +--
 .../{intel_clc-23.3.2.ebuild => intel_clc-23.3.2-r1.ebuild}| 7 +--
 dev-util/intel_clc/intel_clc-.ebuild   | 7 +--
 3 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
similarity index 95%
rename from dev-util/intel_clc/intel_clc-23.3.1.ebuild
rename to dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
index e1a7520244d4..f11eb6455214 100644
--- a/dev-util/intel_clc/intel_clc-23.3.1.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,13 +24,14 @@ fi
 
 LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-IUSE="debug"
+IUSE="debug unwind"
 
 RDEPEND="
dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm
+   unwind? ( sys-libs/libunwind:= )
 "
 DEPEND="${RDEPEND}
dev-libs/expat
@@ -104,6 +105,8 @@ src_configure() {
-Dglx=disabled
-Dzstd=disabled
 
+   $(meson_feature unwind libunwind)
+
--buildtype $(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)

diff --git a/dev-util/intel_clc/intel_clc-23.3.2.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
similarity index 95%
rename from dev-util/intel_clc/intel_clc-23.3.2.ebuild
rename to dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
index b96f57ecbd96..46bcd7e65951 100644
--- a/dev-util/intel_clc/intel_clc-23.3.2.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,13 +24,14 @@ fi
 
 LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-IUSE="debug"
+IUSE="debug unwind"
 
 RDEPEND="
dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm
+   unwind? ( sys-libs/libunwind:= )
 "
 DEPEND="${RDEPEND}
dev-libs/expat
@@ -104,6 +105,8 @@ src_configure() {
-Dglx=disabled
-Dzstd=disabled
 
+   $(meson_feature unwind libunwind)
+
--buildtype $(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index b96f57ecbd96..46bcd7e65951 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,13 +24,14 @@ fi
 
 LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-IUSE="debug"
+IUSE="debug unwind"
 
 RDEPEND="
dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm
+   unwind? ( sys-libs/libunwind:= )
 "
 DEPEND="${RDEPEND}
dev-libs/expat
@@ -104,6 +105,8 @@ src_configure() {
-Dglx=disabled
-Dzstd=disabled
 
+   $(meson_feature unwind libunwind)
+
--buildtype $(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-12-28 Thread Matt Turner
commit: b1e06ed4dba22203c25bc811d441f787b2f7fc83
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 28 04:07:51 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 28 15:52:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e06ed4

dev-util/intel_clc: Version bump to 23.3.2

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.2.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 118dba965219..83dc69c6d1b6 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
 DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
+DIST mesa-23.3.2.tar.xz 19365140 BLAKE2B 
fc97e17dd7a139056190010325f1d57978ef8618ae87731f459daedc303223f3fbce660c2361dcd518d35c709357435366c75ebfd6366daa9f0dec99b534604f
 SHA512 
634d2b67ade2121de3f19f2cccd4bf7ceb2ac391b9366587ed1c2412444e010de8ec14a25529fdec1f43f943096422eb23cefcb8a89d2f8b20286850188b65c3

diff --git a/dev-util/intel_clc/intel_clc-23.3.2.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.2.ebuild
new file mode 100644
index ..b96f57ecbd96
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="17"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+   -Dzstd=disabled
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-12-28 Thread Matt Turner
commit: 0d295fd8dc93ea4bed0294e4ab1c07b92258b161
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 28 15:50:21 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 28 15:52:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d295fd8

dev-util/intel_clc: Add Python 3.12 compatibility

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/intel_clc-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index e1a7520244d4..b96f57ecbd96 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit llvm meson python-any-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-12-14 Thread Matt Turner
commit: 12ecfbf303391db1a0182df008f37abeb21327d0
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 14 16:08:43 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 14 16:08:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ecfbf3

dev-util/intel_clc: Version bump to 23.3.1

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.1.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index ae4ee1e8bb44..118dba965219 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
 DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
+DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5

diff --git a/dev-util/intel_clc/intel_clc-23.3.1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.1.ebuild
new file mode 100644
index ..e1a7520244d4
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="17"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+   -Dzstd=disabled
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-29 Thread Matt Turner
commit: 8a844f8b4513e7181f4dee06505c058a5243626d
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Nov 29 21:57:33 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Nov 29 22:11:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a844f8b

dev-util/intel_clc: Version bump to 23.3.0

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.0.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 1322489ee515..ae4ee1e8bb44 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1 +1,2 @@
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
+DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521

diff --git a/dev-util/intel_clc/intel_clc-23.3.0.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0.ebuild
new file mode 100644
index ..e1a7520244d4
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="17"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+   -Dzstd=disabled
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-27 Thread Sam James
commit: 35d005a7ee4250d7a590cae901b4c10743e1fdbd
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 28 07:56:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 28 07:56:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d005a7

dev-util/intel_clc: allow LLVM 17

I meant to do this in 358fd9d92f80203274b486f7956e927d660800a5.

Bug: https://bugs.gentoo.org/918516
Signed-off-by: Sam James  gentoo.org>

 .../{intel_clc-23.3.0_rc5.ebuild => intel_clc-23.3.0_rc5-r1.ebuild}   | 4 ++--
 dev-util/intel_clc/intel_clc-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/intel_clc/intel_clc-23.3.0_rc5.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0_rc5-r1.ebuild
similarity index 97%
rename from dev-util/intel_clc/intel_clc-23.3.0_rc5.ebuild
rename to dev-util/intel_clc/intel_clc-23.3.0_rc5-r1.ebuild
index cf18be99437e..e1a7520244d4 100644
--- a/dev-util/intel_clc/intel_clc-23.3.0_rc5.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.0_rc5-r1.ebuild
@@ -46,9 +46,9 @@ BDEPEND="
 # simultaneously.
 #
 # How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
 # 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="16"
+LLVM_MAX_SLOT="17"
 LLVM_MIN_SLOT="15"
 PER_SLOT_DEPSTR="
(

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index cf18be99437e..e1a7520244d4 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -46,9 +46,9 @@ BDEPEND="
 # simultaneously.
 #
 # How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
 # 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="16"
+LLVM_MAX_SLOT="17"
 LLVM_MIN_SLOT="15"
 PER_SLOT_DEPSTR="
(



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-25 Thread Matt Turner
commit: 37d429c9efaf3ab8eb7814bdfa65bc4b8cccd7f6
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 25 17:09:33 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 25 17:31:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d429c9

dev-util/intel_clc: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest   |   2 -
 dev-util/intel_clc/intel_clc-23.3.0_rc3-r1.ebuild | 115 --
 dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild| 115 --
 3 files changed, 232 deletions(-)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index 503c13cf2cee..1322489ee515 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,3 +1 @@
-DIST mesa-23.3.0-rc3.tar.xz 19192936 BLAKE2B 
a54ac02b99bf00e4dae34938fd37d5314ae0fd9dee4b2f8928119bcc5a6b4e00add8ad61da3569b9993b37014433fb38a66d945e77184d86aaf0cd79e8afb42b
 SHA512 
be70ce2ba0051685e9585944dcfc8c66d33f68827781d6d003a98b4409bd9e28d00eef730e0eded5c1c14a600219411753c14c7e5e34190bbe8b65b5bf28fabd
-DIST mesa-23.3.0-rc4.tar.xz 19214260 BLAKE2B 
e52912990f31a22a2c3492690331c695d66783ad583bc5e13ebca6c6328b7a679fb7f008f2a5fcd374f98887dfa012fe6daad31fb9a686142376215920418be5
 SHA512 
4b54131831fd4b73348e282cf1854d8c10f948c1468c1c069c147172a104b44a6253815a8f1487e5ec72c147a78b438286145a4683c18a64550f0405a8197d52
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187

diff --git a/dev-util/intel_clc/intel_clc-23.3.0_rc3-r1.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0_rc3-r1.ebuild
deleted file mode 100644
index cf18be99437e..
--- a/dev-util/intel_clc/intel_clc-23.3.0_rc3-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit llvm 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} ==  ]]; 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
-"
-DEPEND="${RDEPEND}
-   dev-libs/expat
-"
-BDEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
-   virtual/pkgconfig
-"
-
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="16"
-LLVM_MIN_SLOT="15"
-PER_SLOT_DEPSTR="
-   (
-   dev-util/spirv-llvm-translator:@SLOT@
-   sys-devel/clang:@SLOT@
-   sys-devel/llvm:@SLOT@
-   )
-"
-LLVM_DEPSTR="
-   || (
-   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
-   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
-   done)
-   )
-   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   llvm_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_configure() {
-   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
-   -Dzstd=disabled
-
-   --buildtype $(usex debug debug plain)
-   -Db_ndebug=$(usex debug false true)
-   )
-   meson_src_configure
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
-}

diff --git a/dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild
deleted file mode 100644
index cf18be99437e..
--- a/dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-

[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-24 Thread Matt Turner
commit: d7fe9da3b53e9e85729e213832d96c65ce3fb4ec
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 25 04:38:14 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 25 05:21:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7fe9da3

dev-util/intel_clc: Version bump to 23.3.0_rc5

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.0_rc5.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index dad6e4cf578f..503c13cf2cee 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-23.3.0-rc3.tar.xz 19192936 BLAKE2B 
a54ac02b99bf00e4dae34938fd37d5314ae0fd9dee4b2f8928119bcc5a6b4e00add8ad61da3569b9993b37014433fb38a66d945e77184d86aaf0cd79e8afb42b
 SHA512 
be70ce2ba0051685e9585944dcfc8c66d33f68827781d6d003a98b4409bd9e28d00eef730e0eded5c1c14a600219411753c14c7e5e34190bbe8b65b5bf28fabd
 DIST mesa-23.3.0-rc4.tar.xz 19214260 BLAKE2B 
e52912990f31a22a2c3492690331c695d66783ad583bc5e13ebca6c6328b7a679fb7f008f2a5fcd374f98887dfa012fe6daad31fb9a686142376215920418be5
 SHA512 
4b54131831fd4b73348e282cf1854d8c10f948c1468c1c069c147172a104b44a6253815a8f1487e5ec72c147a78b438286145a4683c18a64550f0405a8197d52
+DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187

diff --git a/dev-util/intel_clc/intel_clc-23.3.0_rc5.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0_rc5.ebuild
new file mode 100644
index ..cf18be99437e
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.0_rc5.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="16"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+   -Dzstd=disabled
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-15 Thread Matt Turner
commit: 641658e3659aaec93df1930d9036e1b58b973e03
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Nov 16 04:08:34 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Nov 16 04:11:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641658e3

dev-util/intel_clc: Version bump to 23.3.0_rc4

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
index f1102425d75a..dad6e4cf578f 100644
--- a/dev-util/intel_clc/Manifest
+++ b/dev-util/intel_clc/Manifest
@@ -1 +1,2 @@
 DIST mesa-23.3.0-rc3.tar.xz 19192936 BLAKE2B 
a54ac02b99bf00e4dae34938fd37d5314ae0fd9dee4b2f8928119bcc5a6b4e00add8ad61da3569b9993b37014433fb38a66d945e77184d86aaf0cd79e8afb42b
 SHA512 
be70ce2ba0051685e9585944dcfc8c66d33f68827781d6d003a98b4409bd9e28d00eef730e0eded5c1c14a600219411753c14c7e5e34190bbe8b65b5bf28fabd
+DIST mesa-23.3.0-rc4.tar.xz 19214260 BLAKE2B 
e52912990f31a22a2c3492690331c695d66783ad583bc5e13ebca6c6328b7a679fb7f008f2a5fcd374f98887dfa012fe6daad31fb9a686142376215920418be5
 SHA512 
4b54131831fd4b73348e282cf1854d8c10f948c1468c1c069c147172a104b44a6253815a8f1487e5ec72c147a78b438286145a4683c18a64550f0405a8197d52

diff --git a/dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild
new file mode 100644
index ..cf18be99437e
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.0_rc4.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm 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} ==  ]]; 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
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="16"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+   -Dzstd=disabled
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-14 Thread Matt Turner
commit: 4aa16bbbe3ed0cb653d5d8253be51d336a477694
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Nov 14 18:22:38 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Nov 14 18:36:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa16bbb

dev-util/intel_clc: Add RDEPEND on libclc

intel_clc loads spirv-mesa3d-.spv and spirv64-mesa3d-.spv (from libclc)
at runtime.

Closes: https://bugs.gentoo.org/917107
Signed-off-by: Matt Turner  gentoo.org>

 .../{intel_clc-23.3.0_rc3.ebuild => intel_clc-23.3.0_rc3-r1.ebuild}  | 1 +
 dev-util/intel_clc/intel_clc-.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-util/intel_clc/intel_clc-23.3.0_rc3.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0_rc3-r1.ebuild
similarity index 99%
rename from dev-util/intel_clc/intel_clc-23.3.0_rc3.ebuild
rename to dev-util/intel_clc/intel_clc-23.3.0_rc3-r1.ebuild
index 96f6b5b4df3e..cf18be99437e 100644
--- a/dev-util/intel_clc/intel_clc-23.3.0_rc3.ebuild
+++ b/dev-util/intel_clc/intel_clc-23.3.0_rc3-r1.ebuild
@@ -27,6 +27,7 @@ SLOT="0"
 IUSE="debug"
 
 RDEPEND="
+   dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
index 96f6b5b4df3e..cf18be99437e 100644
--- a/dev-util/intel_clc/intel_clc-.ebuild
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -27,6 +27,7 @@ SLOT="0"
 IUSE="debug"
 
 RDEPEND="
+   dev-libs/libclc
dev-util/spirv-tools
>=sys-libs/zlib-1.2.8:=
x11-libs/libdrm



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-09 Thread Matt Turner
commit: e647950b1c84adefcd97e2f247740c5bc18b8b3f
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Nov  9 17:56:48 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Nov  9 18:39:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e647950b

dev-util/intel_clc: Version bump to 23.3.0_rc3

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/Manifest|   1 +
 dev-util/intel_clc/intel_clc-23.3.0_rc3.ebuild | 114 +
 2 files changed, 115 insertions(+)

diff --git a/dev-util/intel_clc/Manifest b/dev-util/intel_clc/Manifest
new file mode 100644
index ..f1102425d75a
--- /dev/null
+++ b/dev-util/intel_clc/Manifest
@@ -0,0 +1 @@
+DIST mesa-23.3.0-rc3.tar.xz 19192936 BLAKE2B 
a54ac02b99bf00e4dae34938fd37d5314ae0fd9dee4b2f8928119bcc5a6b4e00add8ad61da3569b9993b37014433fb38a66d945e77184d86aaf0cd79e8afb42b
 SHA512 
be70ce2ba0051685e9585944dcfc8c66d33f68827781d6d003a98b4409bd9e28d00eef730e0eded5c1c14a600219411753c14c7e5e34190bbe8b65b5bf28fabd

diff --git a/dev-util/intel_clc/intel_clc-23.3.0_rc3.ebuild 
b/dev-util/intel_clc/intel_clc-23.3.0_rc3.ebuild
new file mode 100644
index ..96f6b5b4df3e
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-23.3.0_rc3.ebuild
@@ -0,0 +1,114 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm 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} ==  ]]; 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-util/spirv-tools
+   >=sys-libs/zlib-1.2.8:=
+   x11-libs/libdrm
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="16"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+   -Dzstd=disabled
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intel_clc/

2023-11-09 Thread Matt Turner
commit: 7654d3107cf6973e862b433d09b2e940b2582c0a
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Nov  9 17:53:38 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Nov  9 18:39:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7654d310

dev-util/intel_clc: Add new package, version 

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/intel_clc/intel_clc-.ebuild | 114 +++
 dev-util/intel_clc/metadata.xml  |  12 
 2 files changed, 126 insertions(+)

diff --git a/dev-util/intel_clc/intel_clc-.ebuild 
b/dev-util/intel_clc/intel_clc-.ebuild
new file mode 100644
index ..96f6b5b4df3e
--- /dev/null
+++ b/dev-util/intel_clc/intel_clc-.ebuild
@@ -0,0 +1,114 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm 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} ==  ]]; 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-util/spirv-tools
+   >=sys-libs/zlib-1.2.8:=
+   x11-libs/libdrm
+"
+DEPEND="${RDEPEND}
+   dev-libs/expat
+"
+BDEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   virtual/pkgconfig
+"
+
+# Please keep the LLVM dependency block separate. Since LLVM is slotted,
+# we need to *really* make sure we're not pulling one than more slot
+# simultaneously.
+#
+# How to use it:
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
+LLVM_MAX_SLOT="16"
+LLVM_MIN_SLOT="15"
+PER_SLOT_DEPSTR="
+   (
+   dev-util/spirv-llvm-translator:@SLOT@
+   sys-devel/clang:@SLOT@
+   sys-devel/llvm:@SLOT@
+   )
+"
+LLVM_DEPSTR="
+   || (
+   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
+   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
+   done)
+   )
+   =dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_configure() {
+   PKG_CONFIG_PATH="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/$(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
+   -Dzstd=disabled
+
+   --buildtype $(usex debug debug plain)
+   -Db_ndebug=$(usex debug false true)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/src/intel/compiler/intel_clc
+}

diff --git a/dev-util/intel_clc/metadata.xml b/dev-util/intel_clc/metadata.xml
new file mode 100644
index ..a0aca75101e9
--- /dev/null
+++ b/dev-util/intel_clc/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+x...@gentoo.org
+X11
+  
+  
+cpe:/a:mesa3d:mesa
+mesa/mesa
+  
+