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: Wed, 29 Mar 2023 02:05:29 +0200	[thread overview]
Message-ID: <20230329000529.U9N2MeHe21wnj2bpUZpy_uwXWgdl1H_L3hnFyDRCkMo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43084@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1153 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)

#### 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. 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 since 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: 8493 bytes --]

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

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

diff --git a/common/shlibs b/common/shlibs
index b8d161c2d932..3e0bc089ee99 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -994,6 +994,7 @@ libclang-cpp.so.12 libclang-cpp-12.0.0_1
 libLLVM-11.so libllvm11-11.0.0_1
 libLLVM-12.so libllvm12-12.0.0_1
 libLLVMSPIRVLib.so.12 SPIRV-LLVM-Translator-12.0.0_1
+libopencl-clang.so.12 intel-opencl-clang-12.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 000000000000..17ae18c5c589
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=12.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake"
+makedepends="llvm clang clang-tools-extra SPIRV-LLVM-Translator-devel"
+#depends="llvm clang clang-tools-extra SPIRV-LLVM-Translator"
+short_desc="opencl-clang linked against LLVM"
+maintainer="Zlice <zlice555@gmail.com>"
+license="NCSA"
+homepage="https://github.com/intel/opencl-clang"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=da3cde9c3b360526371d255d99283f390a01a984fef84378d2df1e34021dda27
+
+post_install() {
+	vlicense LICENSE
+}

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

---
 srcpkgs/intel-vc-intrinsics/template | 21 +++++++++++++++++++++
 1 file changed, 21 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 000000000000..129482bdf985
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,21 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.12.3
+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=ed1c0d968cb2f8ee7b2840a14c3261639f1700e844fb7d2a89856babffd5e1d1
+
+# TODO: license isn't bundled in tar?
+#       just added 2 days ago... mar 24th 2023
+#post_install() {
+#	vlicense LICENSE.md
+#}

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

---
 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 000000000000..c97e1650ceec
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=23.05.25593.11
+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
+ 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=fc3f02609a0984504f303c98465459eb0c869c83fffcc8079d0ab37f53356ddd
+
+post_install() {
+	vlicense LICENSE.md
+}

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

---
 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 000000000000..cb4377892caa
--- /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.13230.7
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DIGC_OPTION__LLVM_PREFERRED_VERSION=12.0.1 -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"
+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=697003910c65f2263ac7ace759f967b863822c814297af0cda99877b43bbd579
+
+post_install() {
+	vlicense LICENSE.md
+}

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

---
 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 000000000000..6083595e273c
--- /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.163
+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=6dfe8d11c58625bf3ebf656ec2a95dc96bbb05705ec71c6c3c3dd0ef5cd2319c
+
+post_install() {
+	vlicense LICENSE.md
+}

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

---
 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 000000000000..50f1a6079d7b
--- /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.133
+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=83f7b2de3af5ffd2f1b487df8836e6d212e11668bd958bebae622a483fb1231f
+
+post_install() {
+	vlicense LICENSE.md
+}

  reply	other threads:[~2023-03-29  0:05 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 ` zlice [this message]
2023-03-29  0:06 ` [PR PATCH] [Updated] " 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 ` [PR PATCH] [Updated] " zlice
2024-02-15 20:31 ` 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=20230329000529.U9N2MeHe21wnj2bpUZpy_uwXWgdl1H_L3hnFyDRCkMo@z \
    --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).