Github messages for voidlinux
 help / color / mirror / Atom feed
From: zlice <zlice@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
Date: Sat, 03 Feb 2024 21:42:40 +0100	[thread overview]
Message-ID: <20240203204240.C020528F68@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43084@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

There is an updated pull request by zlice against master on the void-packages repository

https://github.com/zlice/void-packages intel-opencl
https://github.com/void-linux/void-packages/pull/43084

New packages - Intel OpenCL (NEO)
[ci skip]

#### Testing the changes
- I tested the changes in this PR: **YES**

Ran a few OpenCL examples and [cl-mem](https://github.com/nerdralph/cl-mem). `clinfo` reports more stats also

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, **x86_64**

Could not get musl to build `intel-compute-runtime`. There are a few patches for execinfo, backtrace and RTLD_XXX but even sorting those out gets to a 'error code: -11'.

#### Comments

closes #11364

~~depends on #41132 for gmmlib bump (didn't want to add there in case it delays merge)~~

MIT license not in the tar for `intel-vc-intrinsics` yet? Was just added the other day.


A patch file from https://github.com/void-linux/void-packages/pull/43084.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-intel-opencl-43084.patch --]
[-- Type: text/x-diff, Size: 14278 bytes --]

From 061183d4187fc27f96dfd980647e46e0d8188249 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:11 -0400
Subject: [PATCH 01/10] New package: intel-opencl-clang-15.0.0

---
 common/shlibs                       |  1 +
 srcpkgs/intel-opencl-clang/template | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 srcpkgs/intel-opencl-clang/template

diff --git a/common/shlibs b/common/shlibs
index 71f172740e5c6..1d37149163278 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -991,6 +991,7 @@ libLLVM-15.so libllvm15-15.0.7_1
 libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator-15.0.0_1
 libomp.so.5 libomp-15.0.7_1
 libomptarget.so.15 libomp-15.0.7_1
+libopencl-clang.so.15 intel-opencl-clang-15.0.0_1
 libisofs.so.6 libisofs-0.6.24_1
 libmpack.so.0 libmpack-1.0.5_1
 libGeoIP.so.1 libgeoip-1.4.8_1
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 0000000000000..e6f09f6ad724c
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,18 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=15.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake"
+makedepends="llvm clang clang-tools-extra SPIRV-LLVM-Translator-devel"
+short_desc="LLVM linked opencl-clang"
+maintainer="Zlice <zlice555@gmail.com>"
+license="NCSA"
+homepage="https://github.com/intel/opencl-clang"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=ea179674e52bc8c658e2655f76be467f7052f7d2c37ebcfdb102dce645ad1411
+
+post_install() {
+	vlicense LICENSE
+}

From 9b5e40301bd0d0613db6e4d5f3a0c8d1ccc0bfa2 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:58 -0400
Subject: [PATCH 02/10] New package: intel-vc-intrinsics-0.16.0

---
 srcpkgs/intel-vc-intrinsics/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/intel-vc-intrinsics/template

diff --git a/srcpkgs/intel-vc-intrinsics/template b/srcpkgs/intel-vc-intrinsics/template
new file mode 100644
index 0000000000000..f9e254d891351
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.16.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DLLVM_DIR=/usr/lib/cmake/llvm -DCMAKE_BUILD_TYPE=Release"
+hostmakedepends="cmake python"
+makedepends="llvm clang clang-tools-extra"
+short_desc="Set of intrinsics on top of core LLVM IR"
+maintainer="Zlice <zlice555@gmail.com>"
+license="MIT"
+homepage="https://github.com/intel/vc-intrinsics"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=09f314c73d6e9ebe72facd01367bdd237a035a13d74d6fcdda8c2d076f7bf152
+
+post_install() {
+	vlicense LICENSE.md
+}

From e8ab00e9ac6ca21a3e0a6ba888f1356ee1298c39 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:05 -0400
Subject: [PATCH 03/10] New package: intel-compute-runtime-23.52.28202.14

---
 srcpkgs/intel-compute-runtime/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/intel-compute-runtime/template

diff --git a/srcpkgs/intel-compute-runtime/template b/srcpkgs/intel-compute-runtime/template
new file mode 100644
index 0000000000000..3154ad238e1d3
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=23.52.28202.14
+revision=1
+archs="x86_64"
+build_style=cmake
+configure_args="-Wno-dev -DNEO_SKIP_UNIT_TESTS=1 -DSUPPORT_DG1=ON -DSUPPORT_DG2=ON"
+hostmakedepends="cmake pkg-config"
+makedepends="gcc intel-gmmlib-devel libva-devel ocl-icd-devel
+ intel-opencl-clang intel-graphics-compiler level-zero-devel
+ intel-metrics-library intel-metrics-discovery"
+depends="intel-graphics-compiler"
+short_desc="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL"
+maintainer="Zlice <zlice555@gmail.com>"
+license="MIT"
+homepage="https://github.com/intel/compute-runtime"
+distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
+checksum=de5f2873e67d4a856022e0a7eaecbf8119d9eb51b2eefa30ae61cae1a1d9a422
+
+post_install() {
+	vlicense LICENSE.md
+}

From cb6f9b5d4c9d4551e03e6b080530385a4c045ad4 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:34 -0400
Subject: [PATCH 04/10] New package: intel-graphics-compiler=1.0.15770.11

---
 srcpkgs/intel-graphics-compiler/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/intel-graphics-compiler/template

diff --git a/srcpkgs/intel-graphics-compiler/template b/srcpkgs/intel-graphics-compiler/template
new file mode 100644
index 0000000000000..51b21a7c70516
--- /dev/null
+++ b/srcpkgs/intel-graphics-compiler/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-graphics-compiler'
+pkgname=intel-graphics-compiler
+version=1.0.15770.11
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DIGC_OPTION__LLVM_PREFERRED_VERSION=15.0.7 -DCCLANG_FROM_SYSTEM=ON
+ -DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds -DIGC_OPTION__USE_PREINSTALLED_SPRIV_HEADERS=ON
+ -DIGC_OPTION__VC_INTRINSICS_MODE=Prebuilds"
+hostmakedepends="flex bison zlib-devel libzstd-devel cmake"
+makedepends="llvm clang clang-tools-extra intel-opencl-clang intel-vc-intrinsics
+ lld lld-devel SPIRV-Headers  SPIRV-LLVM-Translator-devel SPIRV-Tools-devel python3-Mako"
+short_desc="LLVM based compiler for OpenCL targeting Intel"
+maintainer="Zlice <zlice555@gmail.com>"
+license="MIT"
+homepage="https://github.com/intel/intel-graphics-compiler"
+distfiles="${homepage}/archive/refs/tags/igc-${version}.tar.gz"
+checksum=ea2e3b4101d22527d315514fb85c98656f5c75406360ccd8d7f0205ed7b0d9a6
+
+post_install() {
+	vlicense LICENSE.md
+}

From 6244e02222fb522d7c3563a006d0e582932b46de Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:18 -0400
Subject: [PATCH 05/10] New package: intel-metrics-discovery-1.12.170

---
 srcpkgs/intel-metrics-discovery/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/intel-metrics-discovery/template

diff --git a/srcpkgs/intel-metrics-discovery/template b/srcpkgs/intel-metrics-discovery/template
new file mode 100644
index 0000000000000..b64083d484de0
--- /dev/null
+++ b/srcpkgs/intel-metrics-discovery/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-metrics-discovery'
+pkgname=intel-metrics-discovery
+version=1.12.170
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wdev-no -DCMAKE_BUILD_TYPE=Release"
+hostmakedepends="cmake"
+makedepends="libdrm-devel"
+short_desc="Helper library that provides access to GPU performance data"
+maintainer="Zlice <zlice555@gmail.com>"
+license="MIT"
+homepage="https://github.com/intel/metrics-discovery"
+distfiles="${homepage}/archive/refs/tags/metrics-discovery-${version}.tar.gz"
+checksum=5942588d8bb266b589c878c49e1b3a8ac069edd9f1ddd219ec8fe071ac4919cc
+
+post_install() {
+	vlicense LICENSE.md
+}

From 20b4a882d0a356a5a5bdbf72c3154f6d3ebad697 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:49 -0400
Subject: [PATCH 06/10] New package: intel-metrics-library-1.0.156

---
 srcpkgs/intel-metrics-library/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/intel-metrics-library/template

diff --git a/srcpkgs/intel-metrics-library/template b/srcpkgs/intel-metrics-library/template
new file mode 100644
index 0000000000000..870d7af5e873f
--- /dev/null
+++ b/srcpkgs/intel-metrics-library/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-metrics-library'
+pkgname=intel-metrics-library
+version=1.0.156
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wdev-no -DCMAKE_BUILD_TYPE=Release"
+hostmakedepends="cmake"
+makedepends="libdrm-devel"
+short_desc="Helper library that provides access to GPU performance counters"
+maintainer="Zlice <zlice555@gmail.com>"
+license="MIT"
+homepage="https://github.com/intel/metrics-library"
+distfiles="${homepage}/archive/refs/tags/metrics-library-${version}.tar.gz"
+checksum=0d37bcc803ca678ae0f9420431211a9d1b1f25d1569a49d88b4aa85b898f1b61
+
+post_install() {
+	vlicense LICENSE.md
+}

From 6468d11319d73f2f143e4c3ad09eea051151f789 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Thu, 27 Apr 2023 20:41:10 -0400
Subject: [PATCH 07/10] New package: level-zero-1.15.8

---
 srcpkgs/level-zero-devel    |  1 +
 srcpkgs/level-zero/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/level-zero-devel
 create mode 100644 srcpkgs/level-zero/template

diff --git a/srcpkgs/level-zero-devel b/srcpkgs/level-zero-devel
new file mode 120000
index 0000000000000..96ee8adf7303c
--- /dev/null
+++ b/srcpkgs/level-zero-devel
@@ -0,0 +1 @@
+level-zero
\ No newline at end of file
diff --git a/srcpkgs/level-zero/template b/srcpkgs/level-zero/template
new file mode 100644
index 0000000000000..39eeaa4489129
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.15.8
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake"
+makedepends="llvm clang clang-tools-extra SPIRV-LLVM-Translator-devel"
+short_desc="OneAPI Level Zero Specification"
+maintainer="Zlice <zlice555@gmail.com>"
+license="NCSA"
+homepage="https://github.com/oneapi-src/level-zero"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=80663dbd4d01d9519185c6e568f2e836bfea7484363f4da8cf5cf77c3bf58602
+
+post_install() {
+	vlicense LICENSE
+}
+
+level-zero-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From d62e9fe516914882de26718ca1c4f1c14121cd16 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 3 Feb 2024 13:26:34 -0500
Subject: [PATCH 08/10] intel-gmmlib: update to 22.3.17

---
 srcpkgs/intel-gmmlib/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/intel-gmmlib/template b/srcpkgs/intel-gmmlib/template
index b9df642f6320f..5aa1106f54147 100644
--- a/srcpkgs/intel-gmmlib/template
+++ b/srcpkgs/intel-gmmlib/template
@@ -1,6 +1,6 @@
 # Template file for 'intel-gmmlib'
 pkgname=intel-gmmlib
-version=22.3.12
+version=22.3.17
 revision=1
 archs="i686* x86_64*"
 build_style=cmake
@@ -18,7 +18,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/intel/gmmlib"
 distfiles="https://github.com/intel/gmmlib/archive/intel-gmmlib-${version}.tar.gz"
-checksum=14ec859936aea696a65e6b9488e95a0ac26b15126ef65b20956ef219004dd9a6
+checksum=5fa23407d4780c4ee8acd68e9ec9186e1721238150dc36ca9ab469a335891d2a
 
 lib32disabled=yes
 

From 3efe39c2f3d61357ff063f7b698fbff08b0f8d55 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 3 Feb 2024 13:27:41 -0500
Subject: [PATCH 09/10] intel-media-driver: update to 24.1.3

---
 srcpkgs/intel-media-driver/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/intel-media-driver/template b/srcpkgs/intel-media-driver/template
index 973e80257664c..61f4ccf3fc4a9 100644
--- a/srcpkgs/intel-media-driver/template
+++ b/srcpkgs/intel-media-driver/template
@@ -1,6 +1,6 @@
 # Template file for 'intel-media-driver'
 pkgname=intel-media-driver
-version=23.4.1
+version=24.1.3
 revision=1
 archs="x86_64*"
 build_style=cmake
@@ -13,7 +13,7 @@ license="MIT, BSD-3-Clause"
 homepage="https://github.com/intel/media-driver"
 changelog="https://github.com/intel/media-driver/releases"
 distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
-checksum=c61e7bc8f495a2314b24d14c88a1a8955e1347d26afa54c9b37b5527b9b316ad
+checksum=a024e96abd662193e4295f427a76c5894087503df46bd82c0e5bea103e44b171
 
 build_options="nonfree"
 desc_option_nonfree="Enable nonfree kernels"

From 8b7ee3908343dd939f01ae558496a9e1d2eddc6c Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 3 Feb 2024 13:29:07 -0500
Subject: [PATCH 10/10] oneVPL: update to 2023.4.0

---
 srcpkgs/oneVPL/patches/cross-pc.patch | 12 ------------
 srcpkgs/oneVPL/template               | 12 ++++++------
 2 files changed, 6 insertions(+), 18 deletions(-)
 delete mode 100644 srcpkgs/oneVPL/patches/cross-pc.patch

diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
deleted file mode 100644
index 0b24a2124c9b2..0000000000000
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/dispatcher/pkgconfig/vpl.pc.in	2023-07-21 23:28:38.000000000 +0200
-+++ -	2023-11-14 10:16:46.665168740 +0100
-@@ -1,6 +1,6 @@
--prefix=@pc_rel_prefix@
--libdir=@pc_rel_libdir@
--includedir=@pc_rel_incdir@
-+prefix=@CMAKE_INSTALL_PREFIX@
-+libdir=${prefix}/lib
-+includedir=${prefix}/include
- 
- # oneAPI Video Processing Library (oneVPL)
- Name: oneVPL
diff --git a/srcpkgs/oneVPL/template b/srcpkgs/oneVPL/template
index de6cd7adc9828..21fe1b2e06a59 100644
--- a/srcpkgs/oneVPL/template
+++ b/srcpkgs/oneVPL/template
@@ -1,17 +1,17 @@
 # Template file for 'oneVPL'
 pkgname=oneVPL
-version=2023.3.1
-revision=2
+version=2023.4.0
+revision=1
 build_style=cmake
 hostmakedepends="libva-devel libX11-devel"
 hostmakedepends="pkg-config"
 short_desc="Intel oneAPI Video Processing Library"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MIT"
-homepage="https://github.com/oneapi-src/oneVPL"
-changelog="https://github.com/oneapi-src/oneVPL/blob/master/CHANGELOG.md"
-distfiles="https://github.com/oneapi-src/oneVPL/archive/refs/tags/v$version.tar.gz"
-checksum=4411543519486a2450f6f5af06a077596e7888a551768594e9dfa2a46b23b6f5
+homepage="https://github.com/intel/libvpl"
+changelog="https://github.com/intel/libvpl/blob/master/CHANGELOG.md"
+distfiles="https://github.com/intel/libvpl/archive/refs/tags/v${version}.tar.gz"
+checksum=978398c7bb1665a6ad7a1a15cc57dc0204608e56c88436e376b717320a9e63fd
 
 post_install() {
 	vlicense LICENSE

  parent reply	other threads:[~2024-02-03 20:42 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29  0:04 [PR PATCH] " zlice
2023-03-29  0:05 ` [PR PATCH] [Updated] " zlice
2023-03-29  0:06 ` zlice
2023-03-29  0:12 ` zlice
2023-03-29  0:16 ` zlice
2023-03-29  1:17 ` zlice
2023-04-27 22:05 ` ja-cop
2023-04-27 23:45 ` zlice
2023-04-27 23:47 ` zlice
2023-04-28 13:31 ` [PR PATCH] [Updated] " zlice
2023-04-28 13:33 ` zlice
2023-04-28 13:33 ` zlice
2023-04-28 13:34 ` zlice
2023-04-28 13:34 ` zlice
2023-05-01 20:03 ` ja-cop
2023-07-31  1:52 ` github-actions
2023-08-02 14:00 ` zlice
2023-10-09  4:57 ` cy1der
2023-11-20 13:04 ` [PR PATCH] [Updated] " zlice
2023-12-03 14:31 ` zlice
2023-12-03 14:32 ` zlice
2024-02-03 20:39 ` [PR PATCH] [Updated] " zlice
2024-02-03 20:39 ` zlice
2024-02-03 20:41 ` zlice
2024-02-03 20:41 ` zlice
2024-02-03 20:42 ` zlice [this message]
2024-02-15 20:31 ` [PR PATCH] [Updated] " zlice
2024-02-25 16:20 ` motorto
2024-02-25 17:13 ` [PR PATCH] [Updated] " zlice
2024-02-25 17:15 ` zlice
2024-02-25 17:16 ` [WIP] " zlice
2024-02-25 17:21 ` motorto
2024-02-25 17:23 ` zlice
2024-03-16 11:41 ` basiliscos
2024-04-18 15:30 ` [PR PATCH] [Updated] " zlice
2024-04-18 15:32 ` zlice
2024-04-19  9:57 ` nodatapoints
2024-05-12  0:55 ` [PR PATCH] [Updated] " zlice
2024-05-12  0:56 ` zlice
2024-05-16 21:22 ` [PR PATCH] [Updated] " zlice
2024-05-16 21:24 ` zlice

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=20240203204240.C020528F68@inbox.vuxu.org \
    --to=zlice@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

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

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