* [PR PATCH] New packages - Intel OpenCL (NEO)
@ 2023-03-29 0:04 zlice
2023-03-29 0:05 ` [PR PATCH] [Updated] " zlice
` (52 more replies)
0 siblings, 53 replies; 54+ messages in thread
From: zlice @ 2023-03-29 0:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]
There is a new 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: 8519 bytes --]
From 8bd263b449348d6522ab525f2450c383a10a016e 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..594ff27feffc
--- /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="https://github.com/intel/opencl-clang/archive/refs/tags/v${version}.tar.gz"
+checksum=da3cde9c3b360526371d255d99283f390a01a984fef84378d2df1e34021dda27
+
+post_install() {
+ vlicense LICENSE
+}
From 30602a83ee2953547f3d5a45ac7fa03b829cca89 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 dc977d3dee9587558efe1c0dd727ce7a29a76c34 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 5b9a887a2e7d656688c29766d72df4344628cd94 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 ebe1073cc50f66f50351d6b7dbcab84515bbe301 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 084e3dcc112501df42757384a7800f3d763939a3 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
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
@ 2023-03-29 0:05 ` zlice
2023-03-29 0:06 ` zlice
` (51 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-03-29 0:05 UTC (permalink / raw)
To: ml
[-- 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
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
2023-03-29 0:05 ` [PR PATCH] [Updated] " zlice
@ 2023-03-29 0:06 ` zlice
2023-03-29 0:12 ` zlice
` (50 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-03-29 0:06 UTC (permalink / raw)
To: ml
[-- 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: 8485 bytes --]
From 606da0254de6e0a3796d4cdfdcd66ebc1f7a9c31 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..b727e0bd71da
--- /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="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=da3cde9c3b360526371d255d99283f390a01a984fef84378d2df1e34021dda27
+
+post_install() {
+ vlicense LICENSE
+}
From b6dcab363726b3dafb761d94449f80d3290ad3fc 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 4dd41327bb65b2de511e07f93069a8daac83c568 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 161cceee9b05e87960711c8d8b9faccb499008b5 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 07994d4cd4e69257f0866aa84b5b6cc75fab9c02 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 4ae7813680fe21dd2c22e503d76c85c606c01d50 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
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) 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
` (49 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-03-29 0:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1145 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 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 606da0254de6e0a3796d4cdfdcd66ebc1f7a9c31 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..b727e0bd71da
--- /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="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=da3cde9c3b360526371d255d99283f390a01a984fef84378d2df1e34021dda27
+
+post_install() {
+ vlicense LICENSE
+}
From b6dcab363726b3dafb761d94449f80d3290ad3fc 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 7b79bb9818469e0316d9c9f949d5fccae4d3ca67 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..ed738f46b25b
--- /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 ~*-musl"
+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 6910846a9e5fad35283c04dc819f4acd167929b7 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 56bbd8ddeb5480dee5eb50c4f64a0a6c4bae25b0 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 6a5d8020ddb97765434952380cde65190da2702d 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
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (2 preceding siblings ...)
2023-03-29 0:12 ` zlice
@ 2023-03-29 0:16 ` zlice
2023-03-29 1:17 ` zlice
` (48 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-03-29 0:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1145 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 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: 8485 bytes --]
From 606da0254de6e0a3796d4cdfdcd66ebc1f7a9c31 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..b727e0bd71da
--- /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="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=da3cde9c3b360526371d255d99283f390a01a984fef84378d2df1e34021dda27
+
+post_install() {
+ vlicense LICENSE
+}
From b6dcab363726b3dafb761d94449f80d3290ad3fc 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 221067d8829ad104620bdf193d9206a66b2d66f7 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 07cb54285213c81ef4870b3cfbe21ff66162959c 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 c88ecaa7f5a434d45d8f3b03105c92b62effbd6c 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 304d23454245aa1b28d5a53f31bdb09a41f2ff81 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
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (3 preceding siblings ...)
2023-03-29 0:16 ` zlice
@ 2023-03-29 1:17 ` zlice
2023-04-27 22:05 ` ja-cop
` (47 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-03-29 1:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1487811398
Comment:
Apparently this takes too much space to build, looks like it was killed - `g++: fatal error: Killed signal terminated program cc1plus`.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (4 preceding siblings ...)
2023-03-29 1:17 ` zlice
@ 2023-04-27 22:05 ` ja-cop
2023-04-27 23:45 ` zlice
` (46 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: ja-cop @ 2023-04-27 22:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
New comment by ja-cop on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1526587052
Comment:
Just curious, do you happen to know how this relates to oneAPI and "level zero"? I'd love to use the oneAPI support in Blender for hardware accelerated Cycles, but even after installing `intel-compute-runtime` from this PR, Blender says:
![Screenshot_20230427_235456](https://user-images.githubusercontent.com/85242676/234999552-012da2d0-6126-4715-adb6-e43f957ce521.png)
Is this out of scope of this PR? Also, maybe it's because Blender is running in Flatpak? Void's Blender doesn't show the oneAPI tab, I guess it's compiled out or something.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (5 preceding siblings ...)
2023-04-27 22:05 ` ja-cop
@ 2023-04-27 23:45 ` zlice
2023-04-27 23:47 ` zlice
` (45 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-04-27 23:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1526781569
Comment:
I think I originally had a level-zero package but it looked like nothing used it. Can take another and try to see if Blender picks anything up. Need to bump this anyway. Hopefully sometime tomorrow.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (6 preceding siblings ...)
2023-04-27 23:45 ` zlice
@ 2023-04-27 23:47 ` zlice
2023-04-28 13:31 ` [PR PATCH] [Updated] " zlice
` (44 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-04-27 23:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1526781569
Comment:
I think I originally had a level-zero package but it looked like nothing used it. Can take another look and try to see if Blender picks anything up. Need to bump this anyway. Hopefully sometime tomorrow.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (7 preceding siblings ...)
2023-04-27 23:47 ` zlice
@ 2023-04-28 13:31 ` zlice
2023-04-28 13:33 ` zlice
` (43 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-04-28 13:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1182 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: 10044 bytes --]
From 2cc1ee12c621e534ffe1ef5098b9a69021a8e7c1 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:11 -0400
Subject: [PATCH 1/7] 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 c6258bbf1e4d..a828119a9e07 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -999,6 +999,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 000000000000..e6f09f6ad724
--- /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 fd42b125b8ccc2f165358753a6976dffadab6723 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:58 -0400
Subject: [PATCH 2/7] 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 4bb9a081002240b1b547aec1b4860e4ce5e745a7 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:05 -0400
Subject: [PATCH 3/7] New package: intel-compute-runtime-23.09.25812.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 000000000000..1132b830d348
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=23.09.25812.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=abe2e6d9d2ac771d5f42ee2357ce897ca3b00dc6185c06f3f62772f729c7f8e1
+
+post_install() {
+ vlicense LICENSE.md
+}
From ebfcd8828892968fbeeb347d73457e4036d92204 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:34 -0400
Subject: [PATCH 4/7] New package: intel-graphics-compiler-1.0.13463.18
---
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..44d38214f929
--- /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.13463.18
+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"
+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=0b960878a5feffd6aa10197c48bf73a0a3a19d0105428d48163e91db0444070a
+
+post_install() {
+ vlicense LICENSE.md
+}
From ae355e67d9eda5438f4969e8acc252f9808d5688 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:18 -0400
Subject: [PATCH 5/7] 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 9e7874f369f883ae6b47993ce6d3348e3e390e4d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:49 -0400
Subject: [PATCH 6/7] 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
+}
From 9706d9c1222c77e003b408771e462630e2a75db0 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Thu, 27 Apr 2023 20:41:10 -0400
Subject: [PATCH 7/7] New package: level-zero-1.10.0
---
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 000000000000..96ee8adf7303
--- /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 000000000000..4631c8c67505
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.10.0
+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=2811e4128ff6114020d0a147c2769b9b2e782e68ad49827685c33b9e716bf6ab
+
+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"
+ }
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (8 preceding siblings ...)
2023-04-28 13:31 ` [PR PATCH] [Updated] " zlice
@ 2023-04-28 13:33 ` zlice
2023-04-28 13:33 ` zlice
` (42 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-04-28 13:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1182 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: 10044 bytes --]
From 2cc1ee12c621e534ffe1ef5098b9a69021a8e7c1 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:11 -0400
Subject: [PATCH 1/7] 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 c6258bbf1e4d..a828119a9e07 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -999,6 +999,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 000000000000..e6f09f6ad724
--- /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 fd42b125b8ccc2f165358753a6976dffadab6723 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:58 -0400
Subject: [PATCH 2/7] 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 4bb9a081002240b1b547aec1b4860e4ce5e745a7 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:05 -0400
Subject: [PATCH 3/7] New package: intel-compute-runtime-23.09.25812.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 000000000000..1132b830d348
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=23.09.25812.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=abe2e6d9d2ac771d5f42ee2357ce897ca3b00dc6185c06f3f62772f729c7f8e1
+
+post_install() {
+ vlicense LICENSE.md
+}
From ebfcd8828892968fbeeb347d73457e4036d92204 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:34 -0400
Subject: [PATCH 4/7] New package: intel-graphics-compiler-1.0.13463.18
---
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..44d38214f929
--- /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.13463.18
+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"
+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=0b960878a5feffd6aa10197c48bf73a0a3a19d0105428d48163e91db0444070a
+
+post_install() {
+ vlicense LICENSE.md
+}
From ae355e67d9eda5438f4969e8acc252f9808d5688 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:18 -0400
Subject: [PATCH 5/7] 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 9e7874f369f883ae6b47993ce6d3348e3e390e4d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:49 -0400
Subject: [PATCH 6/7] 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
+}
From 9d7ca825bc0014a10287b440f03e7f26c8fe77c1 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Thu, 27 Apr 2023 20:41:10 -0400
Subject: [PATCH 7/7] New package: level-zero-1.10.0
---
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 000000000000..96ee8adf7303
--- /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 000000000000..2338482a0fda
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.10.0
+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=2811e4128ff6114020d0a147c2769b9b2e782e68ad49827685c33b9e716bf6ab
+
+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"
+ }
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (9 preceding siblings ...)
2023-04-28 13:33 ` zlice
@ 2023-04-28 13:33 ` zlice
2023-04-28 13:34 ` zlice
` (41 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-04-28 13:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1527572145
Comment:
I added level-zero back, that may be enough for the Flatpack to pick up ?
But it looks like building Blender with CYCLES_OPENAPI looks like it needs SYCL and a bunch of Intel ONEAPI packages for compilers. Not sure what all is involved, looks like a lot. Don't feel great about adding to this.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (10 preceding siblings ...)
2023-04-28 13:33 ` zlice
@ 2023-04-28 13:34 ` zlice
2023-04-28 13:34 ` zlice
` (40 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-04-28 13:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 435 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1527572145
Comment:
I added level-zero back, that may be enough for the Flatpak to pick up ?
But it looks like building Blender with CYCLES_OPENAPI looks like it needs SYCL and a bunch of Intel ONEAPI packages for compilers. Not sure what all is involved, looks like a lot. Don't feel great about adding to this.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (11 preceding siblings ...)
2023-04-28 13:34 ` zlice
@ 2023-04-28 13:34 ` zlice
2023-05-01 20:03 ` ja-cop
` (39 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-04-28 13:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 710 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1527572145
Comment:
I added level-zero back, that may be enough for the Flatpak to pick up ?
But it looks like building Blender with CYCLES_OPENAPI requires SYCL and a bunch of Intel ONEAPI packages for compilers. Not sure what all is involved, looks like a lot. Don't feel great about adding to this.
Good news for me though, Blender 3.5 doesn't need ffmpeg6 patches :)
[blender_template.txt](https://github.com/void-linux/void-packages/files/11353956/blender_template.txt)
[sycl_template.txt](https://github.com/void-linux/void-packages/files/11353957/sycl_template.txt)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (12 preceding siblings ...)
2023-04-28 13:34 ` zlice
@ 2023-05-01 20:03 ` ja-cop
2023-07-31 1:52 ` github-actions
` (38 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: ja-cop @ 2023-05-01 20:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
New comment by ja-cop on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1530143329
Comment:
Unfortunately, installing level-zero from here wasn't enough to get Blender from Flatpak to pick up the GPU. I tried having a look around the Blender source code for loading oneAPI but I still don't really understand it. I think I'll ask over at the Blender Flatpak issue tracker to see if anyone knows how this is supposed to work.
---
I got your Blender and SYCL templates building, and it in Cycles Render Devices, it shows CUDA and HIP, but OptiX and oneAPI are missing compared to the Flatpak version.
Thanks a lot for the help, though! \o/
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (13 preceding siblings ...)
2023-05-01 20:03 ` ja-cop
@ 2023-07-31 1:52 ` github-actions
2023-08-02 14:00 ` zlice
` (37 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: github-actions @ 2023-07-31 1:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1657378088
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (14 preceding siblings ...)
2023-07-31 1:52 ` github-actions
@ 2023-08-02 14:00 ` zlice
2023-10-09 4:57 ` cy1der
` (36 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-08-02 14:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1662267032
Comment:
still waiting on https://github.com/void-linux/void-packages/pull/41132
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (15 preceding siblings ...)
2023-08-02 14:00 ` zlice
@ 2023-10-09 4:57 ` cy1der
2023-11-20 13:04 ` [PR PATCH] [Updated] " zlice
` (35 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: cy1der @ 2023-10-09 4:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
New comment by cy1der on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1752347517
Comment:
Apologies in advance if this is the wrong place for this.
But I can't seem to install this, it's failing at compiling intel-compute-runtime, the rest was fine. Looks like its complaining about Raptor Lake or something...
Here's the logs of `do_build`:
[do_build.txt](https://github.com/void-linux/void-packages/files/12842751/do_build.txt)
If it matters at all, I'm on an i7-8665U.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (16 preceding siblings ...)
2023-10-09 4:57 ` cy1der
@ 2023-11-20 13:04 ` zlice
2023-12-03 14:31 ` zlice
` (34 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-11-20 13:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1182 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: 10062 bytes --]
From 1fab5004dd96ba7c52949ee3ef76853eda4308de Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:11 -0400
Subject: [PATCH 1/7] 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 247bfca781f5d..f8e25b21e1142 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -989,6 +989,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 5b616fbf3ab755364a75871dab600dd9d07141e5 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:58 -0400
Subject: [PATCH 2/7] 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 0000000000000..129482bdf985f
--- /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 a9c82b352743e271e54e8f25499ff412c821a495 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:05 -0400
Subject: [PATCH 3/7] New package: intel-compute-runtime-23.09.25812.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..1132b830d3487
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=23.09.25812.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=abe2e6d9d2ac771d5f42ee2357ce897ca3b00dc6185c06f3f62772f729c7f8e1
+
+post_install() {
+ vlicense LICENSE.md
+}
From b5fec974c5c4bfc83091861aa8ab4fd1d063acee Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:34 -0400
Subject: [PATCH 4/7] New package: intel-graphics-compiler-1.0.13463.18
---
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..44d38214f9292
--- /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.13463.18
+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"
+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=0b960878a5feffd6aa10197c48bf73a0a3a19d0105428d48163e91db0444070a
+
+post_install() {
+ vlicense LICENSE.md
+}
From 7733552ea6a464c20ba3cd8d22604230aa11006e Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:18 -0400
Subject: [PATCH 5/7] 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 0000000000000..6083595e273ca
--- /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 04cdd02c8749f6f4c1e3b11403cf3f6155ca49ae Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:49 -0400
Subject: [PATCH 6/7] 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 0000000000000..50f1a6079d7be
--- /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
+}
From dc3ccb43f0cf3aede23412d41801ac63902ea514 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Thu, 27 Apr 2023 20:41:10 -0400
Subject: [PATCH 7/7] New package: level-zero-1.10.0
---
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..2338482a0fdad
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.10.0
+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=2811e4128ff6114020d0a147c2769b9b2e782e68ad49827685c33b9e716bf6ab
+
+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"
+ }
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (17 preceding siblings ...)
2023-11-20 13:04 ` [PR PATCH] [Updated] " zlice
@ 2023-12-03 14:31 ` zlice
2023-12-03 14:32 ` zlice
` (33 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-12-03 14:31 UTC (permalink / raw)
To: ml
[-- 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: 10062 bytes --]
From f5d8468e25e1bb90b0a7e080a281fd403113b2f2 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:11 -0400
Subject: [PATCH 1/7] 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 1b25a12956eeb..5760ad2e005c2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -989,6 +989,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 1c454a1dc1203df28f8a38c27cd6caa5d033a7bd Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:46:58 -0400
Subject: [PATCH 2/7] 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 0000000000000..129482bdf985f
--- /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 237187d6d1cfe162a633db8480408e51401b0b48 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:05 -0400
Subject: [PATCH 3/7] New package: intel-compute-runtime-23.09.25812.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..1132b830d3487
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=23.09.25812.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=abe2e6d9d2ac771d5f42ee2357ce897ca3b00dc6185c06f3f62772f729c7f8e1
+
+post_install() {
+ vlicense LICENSE.md
+}
From 8c9ecc799c5827cf00d699868521082895680aaf Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 26 Mar 2023 10:48:34 -0400
Subject: [PATCH 4/7] New package: intel-graphics-compiler-1.0.13463.18
---
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..44d38214f9292
--- /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.13463.18
+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"
+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=0b960878a5feffd6aa10197c48bf73a0a3a19d0105428d48163e91db0444070a
+
+post_install() {
+ vlicense LICENSE.md
+}
From c3b597b25da2208d72505bc35b9065aa49251c09 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:18 -0400
Subject: [PATCH 5/7] 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 0000000000000..6083595e273ca
--- /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 b0774bcb23167a380b0adf1ba7e5cfb655679c38 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Tue, 28 Mar 2023 19:54:49 -0400
Subject: [PATCH 6/7] 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 0000000000000..50f1a6079d7be
--- /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
+}
From 3d5dc0306c01dc10af47bdb0a5045b14b5fa2e9d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Thu, 27 Apr 2023 20:41:10 -0400
Subject: [PATCH 7/7] New package: level-zero-1.10.0
---
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..2338482a0fdad
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.10.0
+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=2811e4128ff6114020d0a147c2769b9b2e782e68ad49827685c33b9e716bf6ab
+
+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"
+ }
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (18 preceding siblings ...)
2023-12-03 14:31 ` zlice
@ 2023-12-03 14:32 ` zlice
2024-02-03 20:39 ` [PR PATCH] [Updated] " zlice
` (32 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2023-12-03 14:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1837500688
Comment:
> Here's the logs of `do_build`: [do_build.txt](https://github.com/void-linux/void-packages/files/12842751/do_build.txt)
sry for late reply. still builds fine for me, just did a clean rebuild. i remember getting those types of errors and i think it was gmmlib not being updated before.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (19 preceding siblings ...)
2023-12-03 14:32 ` zlice
@ 2024-02-03 20:39 ` zlice
2024-02-03 20:39 ` zlice
` (31 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-03 20:39 UTC (permalink / raw)
To: ml
[-- 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: 14279 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 e0d776e80754f662574fce54caf4841517624ba8 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 | 10 +++++-----
2 files changed, 5 insertions(+), 17 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..500fd3a19a978 100644
--- a/srcpkgs/oneVPL/template
+++ b/srcpkgs/oneVPL/template
@@ -1,6 +1,6 @@
# Template file for 'oneVPL'
pkgname=oneVPL
-version=2023.3.1
+version=2023.4.0
revision=2
build_style=cmake
hostmakedepends="libva-devel libX11-devel"
@@ -8,10 +8,10 @@ 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
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (20 preceding siblings ...)
2024-02-03 20:39 ` [PR PATCH] [Updated] " zlice
@ 2024-02-03 20:39 ` zlice
2024-02-03 20:41 ` zlice
` (30 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-03 20:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1925450103
Comment:
Updated version and verified the cl-mem example still works.
Bumped oneVPL, intel-media-driver and intel-gmmlib. Can put those in different PRs if it matters.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (21 preceding siblings ...)
2024-02-03 20:39 ` zlice
@ 2024-02-03 20:41 ` zlice
2024-02-03 20:41 ` zlice
` (29 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-03 20:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1925450103
Comment:
Updated version and verified the cl-mem example still works.
Bumped oneVPL, intel-media-driver and intel-gmmlib. Can put those in different PRs if it matters. (also oneVPL is now 'libvpl' and has a version change that is lower... didn't mess with that)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (22 preceding siblings ...)
2024-02-03 20:41 ` zlice
@ 2024-02-03 20:41 ` zlice
2024-02-03 20:42 ` [PR PATCH] [Updated] " zlice
` (28 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-03 20:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1925450103
Comment:
Updated version and verified the cl-mem example still works.
Bumped oneVPL, intel-media-driver and intel-gmmlib. Can put those in different PRs if it matters. (also oneVPL is now 'libvpl' and has a version change that is lower... didn't mess with that as I didn't see a difference with a quick test or anything important on the release page)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (23 preceding siblings ...)
2024-02-03 20:41 ` zlice
@ 2024-02-03 20:42 ` zlice
2024-02-15 20:31 ` zlice
` (27 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-03 20:42 UTC (permalink / raw)
To: ml
[-- 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
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (24 preceding siblings ...)
2024-02-03 20:42 ` [PR PATCH] [Updated] " zlice
@ 2024-02-15 20:31 ` zlice
2024-02-25 16:20 ` motorto
` (26 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-15 20:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1190 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: 14503 bytes --]
From 07da147516b7cbd35e52749dbf66b065288c8901 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 | 5 +++++
srcpkgs/intel-opencl-clang/template | 18 ++++++++++++++++++
2 files changed, 23 insertions(+)
create mode 100644 srcpkgs/intel-opencl-clang/template
diff --git a/common/shlibs b/common/shlibs
index 935ace564ff11d..5969c619c0d900 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -995,6 +995,11 @@ libLLVM-17.so libllvm17-17.0.6_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
+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 00000000000000..e6f09f6ad724c2
--- /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 948de599c93b08c7c47cc4f48183579fa1d59e62 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 00000000000000..f9e254d891351a
--- /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 bff15ae1075707e1d3d40b4801dc6687e68f711b 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 00000000000000..3154ad238e1d32
--- /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 9117b7bc83a7980842695f4b47037d236bb02951 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 00000000000000..51b21a7c705167
--- /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 d780b5c6384ff513420f04def022765ed1fc7efd 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 00000000000000..b64083d484de0b
--- /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 ae46f8b55fd976902e8c645b7d08c0525b87db3b 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 00000000000000..870d7af5e873f3
--- /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 4ffc7840b4e41caa99dc3ef66ea7a0c209586002 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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..39eeaa44891297
--- /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 b7cd6ca5a5f3664ac60f31b979f9950e36ea73a5 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 b9df642f6320f2..5aa1106f54147d 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 265d65d964969fdb336d4f4c1a325fbde82ccb21 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 973e80257664cf..61f4ccf3fc4a9c 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 0799e8e0fdbdb89db2350122cc85bcd0c2347f3f 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 | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 de6cd7adc9828f..21fe1b2e06a599 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
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (25 preceding siblings ...)
2024-02-15 20:31 ` zlice
@ 2024-02-25 16:20 ` motorto
2024-02-25 17:13 ` [PR PATCH] [Updated] " zlice
` (25 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: motorto @ 2024-02-25 16:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 6167 bytes --]
New comment by motorto on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1962989268
Comment:
`intel-opencl-clang` seems to not be building.
<details>
<summary>Logs</summary>
<br>
```
$ ./xbps-src pkg -j2 intel-compute-runtime
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> intel-compute-runtime-23.52.28202.14_1: removing autodeps, please wait...
=> intel-compute-runtime-23.52.28202.14_1: building with [cmake] for x86_64...
[host] cmake-3.27.6_1: found (https://repo-default.voidlinux.org/current)
[host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
[host] cmake-bootstrap-3.27.6_2: found (https://repo-default.voidlinux.org/current/bootstrap)
[host] ninja-1.11.1_4: found (https://repo-default.voidlinux.org/current)
[target] gcc-13.2.0_2: found (https://repo-default.voidlinux.org/current)
[target] intel-gmmlib-devel-22.3.17_1: found (/host/binpkgs/level-zero)
[target] libva-devel-2.20.0_1: found (https://repo-default.voidlinux.org/current)
[target] ocl-icd-devel-2.3.2_2: found (https://repo-default.voidlinux.org/current)
[target] intel-opencl-clang-15.0.0_1: not found
[target] intel-graphics-compiler-1.0.15770.11_1: not found
[target] level-zero-devel-1.15.8_1: found (/host/binpkgs/level-zero)
[target] intel-metrics-library-1.0.156_1: not found
[target] intel-metrics-discovery-1.12.170_1: not found
[runtime] intel-graphics-compiler-1.0.15770.11_1: not found
=> intel-opencl-clang-15.0.0_1: building with [cmake] (dependency of intel-compute-runtime) for x86_64...
[host] cmake-3.27.6_1: found (https://repo-default.voidlinux.org/current)
[host] cmake-bootstrap-3.27.6_2: found (https://repo-default.voidlinux.org/current/bootstrap)
[host] ninja-1.11.1_4: found (https://repo-default.voidlinux.org/current)
[target] llvm-17_2: found (https://repo-default.voidlinux.org/current)
[target] clang-17_2: found (https://repo-default.voidlinux.org/current)
[target] clang-tools-extra-17_2: found (https://repo-default.voidlinux.org/current)
[target] SPIRV-LLVM-Translator-devel-17.0.0_1: found (https://repo-default.voidlinux.org/current)
=> intel-opencl-clang-15.0.0_1: installing host dependencies: cmake-3.27.6_1 cmake-bootstrap-3.27.6_2 ninja-1.11.1_4 ...
=> intel-opencl-clang-15.0.0_1: installing target dependencies: llvm-17_2 clang-17_2 clang-tools-extra-17_2 SPIRV-LLVM-Translator-devel-17.0.0_1 ...
=> intel-opencl-clang-15.0.0_1: running do-fetch hook: 00-distfiles ...
=> intel-opencl-clang-15.0.0_1: running do-extract hook: 00-distfiles ...
=> intel-opencl-clang-15.0.0_1: extracting distfile(s), please wait...
=> intel-opencl-clang-15.0.0_1: running do-patch hook: 00-patches ...
=> intel-opencl-clang-15.0.0_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> intel-opencl-clang-15.0.0_1: running pre-configure hook: 01-override-config ...
=> intel-opencl-clang-15.0.0_1: running pre-configure hook: 02-script-wrapper ...
=> intel-opencl-clang-15.0.0_1: running do_configure ...
CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- [OPENCL-CLANG] Looking for LLVM version 15.0.0
CMake Error at CMakeLists.txt:31 (find_package):
By not providing "FindLLVM.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "LLVM", but
CMake did not find one.
Could not find a package configuration file provided by "LLVM" (requested
version 15.0.0) with any of the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
=> ERROR: intel-opencl-clang-15.0.0_1: do_configure: 'CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} ${LIBS:+-DCMAKE_C_STANDARD_LIBRARIES="$LIBS"} ${LIBS:+-DCMAKE_CXX_STANDARD_LIBRARIES="$LIBS"} ${wrksrc}/${build_wrksrc}' exited with 1
=> ERROR: in do_configure() at common/build-style/cmake.sh:77
```
</details>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (26 preceding siblings ...)
2024-02-25 16:20 ` motorto
@ 2024-02-25 17:13 ` zlice
2024-02-25 17:15 ` zlice
` (24 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-25 17:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1190 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: 28859 bytes --]
From 5214e8d19a3b0ed57a9311cb401da79862bfce01 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 01/10] New package: intel-opencl-clang-17.0.0
---
common/shlibs | 218 +++++++++++++++-------------
srcpkgs/intel-opencl-clang/template | 19 +++
2 files changed, 133 insertions(+), 104 deletions(-)
create mode 100644 srcpkgs/intel-opencl-clang/template
diff --git a/common/shlibs b/common/shlibs
index 935ace564ff11d..695794c63daed5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2459,7 +2459,7 @@ libu2f-host.so.0 libu2f-host-1.1.10_5
libu2f-server.so.0 libu2f-server-1.1.0_9
libsqlcipher.so.0 sqlcipher-4.3.0_3
libgta.so.1 libgta-1.2.0_1
-libgdal.so.31 libgdal-3.5.3_1
+libgdal.so.34 libgdal-3.8.4_1
libosgViewer.so.161 osg-3.6.5_1
libosgShadow.so.161 osg-3.6.5_1
libosgParticle.so.161 osg-3.6.5_1
@@ -3034,9 +3034,9 @@ libm17n-flt.so.0 m17n-lib-1.7.0_1
libm17n-gui.so.0 m17n-lib-1.7.0_1
libm17n-core.so.0 m17n-lib-1.7.0_1
libm17n.so.0 m17n-lib-1.7.0_1
-libprotobuf-lite.so.24.1.0 libprotobuf-lite-24.1_1
-libprotoc.so.24.1.0 libprotoc-24.1_1
-libprotobuf.so.24.1.0 libprotobuf-24.1_1
+libprotobuf-lite.so.25.2.0 libprotobuf-lite-25.2_1
+libprotoc.so.25.2.0 libprotoc-25.2_1
+libprotobuf.so.25.2.0 libprotobuf-25.2_1
libsombok.so.3 sombok-2.4.0_1
libdeviceclient.so.0 pragha-1.3.3_1
libykclient.so.3 ykclient-2.15_1
@@ -3401,7 +3401,7 @@ libSoapySDR.so.0.8 SoapySDR-0.8.1_1
libeditorconfig.so.0 editorconfig-0.12.2_1
libcfitsio.so.10 cfitsio-4.2.0_1
libapparmor.so.1 libapparmor-2.12.0_1
-libplacebo.so.264 libplacebo-5.264.1_1
+libplacebo.so.338 libplacebo-6.338.2_1
libw2xc.so waifu2x-converter-cpp-5.2_1
libnova-0.15.so.0 libnova-0.15.0_1
libcue.so.2 libcue-2.2.0_1
@@ -3467,7 +3467,7 @@ libwx_gtk3u_richtext-3.2.so.0 wxWidgets-gtk3-3.2.2.1_1
libwx_gtk3u_stc-3.2.so.0 wxWidgets-gtk3-3.2.2.1_1
libwx_gtk3u_webview-3.2.so.0 wxWidgets-gtk3-3.2.2.1_1
libwx_gtk3u_xrc-3.2.so.0 wxWidgets-gtk3-3.2.2.1_1
-libtepl-6.so.2 tepl-6.4.0_1
+libtepl-6.so.4 tepl-6.8.0_1
libnomacsCore.so.3 nomacs-3.10.2_4
libaudit.so.1 libaudit-2.8.4_1
libauparse.so.0 libauparse-2.8.4_1
@@ -3584,7 +3584,9 @@ libqhttpengine.so.1 qhttpengine-1.0.1_1
libqmdnsengine.so.0 qmdnsengine-0.1.0_1
libyang.so.1 libyang-1.0r5_1
libhtp.so.2 libhtp-0.5.30_1
-libgedit-44.so gedit-44.0_1
+libgedit-46.so gedit-46.1_1
+libgedit-amtk-5.so.0 libgedit-amtk-5.8.0_1
+libgedit-gtksourceview-300.so.0 libgedit-gtksourceview-299.0.5_1
libchewing.so.3 libchewing-0.5.1_1
libdwarves.so.1 pahole-1.12_1
libdwarves_emit.so.1 pahole-1.12_1
@@ -3600,18 +3602,24 @@ liboblibs.so.0.1 oblibs-0.1.1.1_1
libaal-1.0.so.7 libaal-1.0.7_1
libaal-minimal.so.0 libaal-1.0.7_1
libcli.so.1.9 libcli-1.9.8.4_1
-libaddress_sorting.so.33 libgrpc-1.56.0_1
-libgpr.so.33 libgrpc-1.56.0_1
-libgrpc.so.33 libgrpc-1.56.0_1
-libgrpc_unsecure.so.33 libgrpc-1.56.0_1
-libupb.so.33 libgrpc-1.56.0_1
-libgrpc++.so.1.56 libgrpc-1.56.0_1
-libgrpc++_alts.so.1.56 libgrpc-1.56.0_1
-libgrpc++_error_details.so.1.56 libgrpc-1.56.0_1
-libgrpc++_reflection.so.1.56 libgrpc-1.56.0_1
-libgrpc++_unsecure.so.1.56 libgrpc-1.56.0_1
-libgrpc_plugin_support.so.1.56 libgrpc-1.56.0_1
-libgrpcpp_channelz.so.1.56 libgrpc-1.56.0_1
+libaddress_sorting.so.38 libgrpc-1.61.1_1
+libgpr.so.38 libgrpc-1.61.1_1
+libgrpc++.so.1.61 libgrpc-1.61.1_1
+libgrpc++_alts.so.1.61 libgrpc-1.61.1_1
+libgrpc++_error_details.so.1.61 libgrpc-1.61.1_1
+libgrpc++_reflection.so.1.61 libgrpc-1.61.1_1
+libgrpc++_unsecure.so.1.61 libgrpc-1.61.1_1
+libgrpc.so.38 libgrpc-1.61.1_1
+libgrpc_authorization_provider.so.1.61 libgrpc-1.61.1_1
+libgrpc_plugin_support.so.1.61 libgrpc-1.61.1_1
+libgrpc_unsecure.so.38 libgrpc-1.61.1_1
+libgrpcpp_channelz.so.1.61 libgrpc-1.61.1_1
+libupb_base_lib.so.38 libgrpc-1.61.1_1
+libupb_json_lib.so.38 libgrpc-1.61.1_1
+libupb_mem_lib.so.38 libgrpc-1.61.1_1
+libupb_message_lib.so.38 libgrpc-1.61.1_1
+libupb_textformat_lib.so.38 libgrpc-1.61.1_1
+libutf8_range_lib.so.38 libgrpc-1.61.1_1
libircclient.so.1 libircclient-1.10_5
libFAudio.so.0 FAudio-19.05_1
libqaccessibilityclient-qt5.so.0 libqaccessibilityclient-0.4.0_1
@@ -4124,91 +4132,92 @@ libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
libmujs.so.1.2.0 mujs-1.2.0_2
libiir.so.1 libiir1-1.9.3_1
-libabsl_flags.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_raw_logging_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_parse.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_reflection.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_globals.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_config.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_seed_sequences.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_statusor.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_usage_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_commandlineflag.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_randen_hwaes_impl.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_status.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_bad_any_cast_impl.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_bad_variant_access.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_raw_hash_set.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_bad_optional_access.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_cord.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_distribution_test_util.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_cordz_handle.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_graphcycles_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_kernel_timeout_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_spinlock_wait.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_cordz_functions.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_usage.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_debugging_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_strerror.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_seed_material.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_log_sink_set.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_proto.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_crc_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_civil_time.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_conditions.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_crc_cpu_detect.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_entry.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_distributions.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_globals.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_format.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_randen.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_exponential_biased.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_city.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_symbolize.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_leak_check.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_low_level_hash.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_severity.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_scoped_set_env.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_strings.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_string_view.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_die_if_null.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_hash.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_commandlineflag_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_periodic_sampler.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_platform.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_malloc_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_cordz_sample_token.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_str_format_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_synchronization.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_message.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_strings_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_private_handle_accessor.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_cord_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_randen_hwaes.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_throw_delegate.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_crc_cord_state.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_flags.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_program_name.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_time_zone.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_examine_stack.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_crc32c.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_initialize.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_failure_signal_handler.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_time.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_cordz_info.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_sink.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_nullguard.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_demangle_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_internal.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_base.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_hashtablez_sampler.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_flags_marshalling.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_pool_urbg.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_int128.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_stacktrace.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_seed_gen_exception.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_log_internal_check_op.so.2308.0.0 abseil-cpp-20230802.0_1
-libabsl_random_internal_randen_slow.so.2308.0.0 abseil-cpp-20230802.0_1
+libabsl_bad_any_cast_impl.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_bad_optional_access.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_bad_variant_access.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_base.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_city.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_civil_time.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_cord.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_cord_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_cordz_functions.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_cordz_handle.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_cordz_info.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_cordz_sample_token.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_crc32c.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_crc_cord_state.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_crc_cpu_detect.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_crc_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_debugging_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_demangle_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_die_if_null.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_examine_stack.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_exponential_biased.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_failure_signal_handler.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_commandlineflag.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_commandlineflag_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_config.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_marshalling.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_parse.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_private_handle_accessor.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_program_name.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_reflection.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_usage.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_flags_usage_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_graphcycles_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_hash.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_hashtablez_sampler.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_int128.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_kernel_timeout_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_leak_check.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_entry.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_flags.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_globals.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_initialize.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_check_op.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_conditions.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_fnmatch.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_format.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_globals.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_log_sink_set.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_message.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_nullguard.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_internal_proto.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_severity.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_log_sink.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_low_level_hash.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_malloc_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_periodic_sampler.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_distributions.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_distribution_test_util.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_platform.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_pool_urbg.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_randen.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_randen_hwaes.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_randen_hwaes_impl.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_randen_slow.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_internal_seed_material.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_seed_gen_exception.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_random_seed_sequences.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_raw_hash_set.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_raw_logging_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_scoped_set_env.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_spinlock_wait.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_stacktrace.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_status.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_statusor.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_str_format_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_strerror.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_string_view.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_strings.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_strings_internal.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_symbolize.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_synchronization.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_throw_delegate.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_time.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_time_zone.so.2401.0.0 abseil-cpp-20240116.1_1
+libabsl_vlog_config_internal.so.2401.0.0 abseil-cpp-20240116.1_1
libzint.so.2.12 libzint-2.12.0_1
libairspyhf.so.0 libairspyhf-1.6.8_1
libtraceevent.so.1 libtraceevent-1.6.2_1
@@ -4274,3 +4283,4 @@ libunicode.so.0.4 libunicode-0.4.0_1
libunicode_ucd.so.0.4 libunicode-0.4.0_1
libunicode_loader.so.0.4 libunicode-0.4.0_1
force-stage.so.0.1 void-force-stage-0.1_1
+libliftoff.so.0 libliftoff-0.4.1_1
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..c77dc996905b2c
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=17.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=17.0.6"
+hostmakedepends="cmake"
+makedepends="llvm17-devel clang17-devel 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=ddfadeed84aae0f5ef72ff205939e0a6f4f236dbde55fc1f0f8abdfd9d777eb4
+
+post_install() {
+ vlicense LICENSE
+}
From 51d1249da2256437f4ccf840f43b220fe838edec Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 02/10] New package: intel-vc-intrinsics-0.18.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 00000000000000..5debe79b8c1ce5
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm17-devel clang17-devel 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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From ff2b23887eb49cd5858f138914c90dd3f83758b3 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 03/10] New package: intel-graphics-compile-1.0.15985.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 00000000000000..bde647f4f349cf
--- /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.15985.7
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DIGC_OPTION__LLVM_PREFERRED_VERSION=17.0.6 -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="llvm17-devel clang17-devel clang-tools-extra intel-opencl-clang intel-vc-intrinsics
+ lld17 lld17-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=fa4d824b9d2fc9c32decf07dd03a6af07236b060497f2bff513d0b709c2606a9
+
+post_install() {
+ vlicense LICENSE.md
+}
From 448e1248dd9120b4ef1293dc0178d0fa052c3c69 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 04/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 00000000000000..3154ad238e1d32
--- /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 2682d0577642666c7ac9739c2cdc556903b31c91 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
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 00000000000000..b64083d484de0b
--- /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 4373572c96464da293e463c4d4cb3382e32e23dd Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
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 00000000000000..870d7af5e873f3
--- /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 63d1354a6de61d1b25fc45e99cb84ea740b27078 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..6dc13c1fbff770
--- /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="llvm17-devel clang17-devel 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 3d622f6c31860a4e8ff395e273fb0b30848d56be Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:05 -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 b9df642f6320f2..5aa1106f54147d 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 7df1dd5ae22f19b83c48ea9a260c970c5b34906d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:17 -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 973e80257664cf..61f4ccf3fc4a9c 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 415dcc2f6ec03e597c3382293bbd944edf7f8445 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 10/10] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 de6cd7adc9828f..21fe1b2e06a599 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
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (27 preceding siblings ...)
2024-02-25 17:13 ` [PR PATCH] [Updated] " zlice
@ 2024-02-25 17:15 ` zlice
2024-02-25 17:16 ` [WIP] " zlice
` (23 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-25 17:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 374 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1963003841
Comment:
For reference: https://github.com/intel/intel-graphics-compiler/issues/289 - seems like llvm16+ isn't really supported yet. With llvm17 update it appears 15 dev packages are gone. Going to change this to a WIP then for the time being.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (28 preceding siblings ...)
2024-02-25 17:15 ` zlice
@ 2024-02-25 17:16 ` zlice
2024-02-25 17:21 ` motorto
` (22 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-25 17:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1963003841
Comment:
For reference: https://github.com/intel/intel-graphics-compiler/issues/289 - seems like llvm16+ isn't really supported yet. With llvm17 update it appears 15 dev packages are gone. Going to change this to a WIP then for the time being.
`for i in intel-vc-intrinsics intel-opencl-clang intel-graphics-compiler intel-metrics-library intel-metrics-discovery intel-compute-runtime ; do ./xbps-src pkg $i || break ; done`
intel-graphics-compiler fails
build log [igc.txt](https://github.com/void-linux/void-packages/files/14397146/igc.txt)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (29 preceding siblings ...)
2024-02-25 17:16 ` [WIP] " zlice
@ 2024-02-25 17:21 ` motorto
2024-02-25 17:23 ` zlice
` (21 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: motorto @ 2024-02-25 17:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
New comment by motorto on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1963005325
Comment:
Well back to use a container for sycl development then :)
Maybe splitting the intel-media-driver and intel-gmmlib would be a nice move.
Thanks for the hard work !
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (30 preceding siblings ...)
2024-02-25 17:21 ` motorto
@ 2024-02-25 17:23 ` zlice
2024-03-16 11:41 ` basiliscos
` (20 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-02-25 17:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-1963005709
Comment:
Thanks. I could move other packages out. I've seen mixed opinions on putting stuff in one PR vs separate and it seems situational. If anyone has something they want now I can make a PR or someone else can and I'll cut it out of here.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (31 preceding siblings ...)
2024-02-25 17:23 ` zlice
@ 2024-03-16 11:41 ` basiliscos
2024-04-18 15:30 ` [PR PATCH] [Updated] " zlice
` (19 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: basiliscos @ 2024-03-16 11:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
New comment by basiliscos on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2001959590
Comment:
I really expect this one to be merged, thank you for your efforts :)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (32 preceding siblings ...)
2024-03-16 11:41 ` basiliscos
@ 2024-04-18 15:30 ` zlice
2024-04-18 15:32 ` zlice
` (18 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-04-18 15:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 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
[WIP] 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: 13981 bytes --]
From 2767a8646910caee54f1a8b9beebb8abd6c6e0c1 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 01/10] New package: intel-opencl-clang-17.0.0
---
srcpkgs/intel-opencl-clang/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/intel-opencl-clang/template
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..c77dc996905b2c
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=17.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=17.0.6"
+hostmakedepends="cmake"
+makedepends="llvm17-devel clang17-devel 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=ddfadeed84aae0f5ef72ff205939e0a6f4f236dbde55fc1f0f8abdfd9d777eb4
+
+post_install() {
+ vlicense LICENSE
+}
From e428dbc2f054fa069af72f0aa1b74f22a3e3105c Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 02/10] New package: intel-vc-intrinsics-0.18.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 00000000000000..5debe79b8c1ce5
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm17-devel clang17-devel 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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From 7a2bf6ce65a64fa5ea3cc334daec1503f484779f Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 03/10] New package: intel-graphics-compile-1.0.15985.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 00000000000000..bde647f4f349cf
--- /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.15985.7
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DIGC_OPTION__LLVM_PREFERRED_VERSION=17.0.6 -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="llvm17-devel clang17-devel clang-tools-extra intel-opencl-clang intel-vc-intrinsics
+ lld17 lld17-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=fa4d824b9d2fc9c32decf07dd03a6af07236b060497f2bff513d0b709c2606a9
+
+post_install() {
+ vlicense LICENSE.md
+}
From 575f85382d9648c775396450b6313ce183648632 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 04/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 00000000000000..3154ad238e1d32
--- /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 089b23c31183fbc9c52d962a85295ce243417bbe Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
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 00000000000000..b64083d484de0b
--- /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 9df19bd2b06a8269e458dceb081deec549808235 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
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 00000000000000..870d7af5e873f3
--- /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 ca329fd510ff101909149da9566bc2aca8079e35 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..6dc13c1fbff770
--- /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="llvm17-devel clang17-devel 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 6cc96a61053be0e0901a9e2cb326f3e516d246e7 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:05 -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 b9df642f6320f2..5aa1106f54147d 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 4a4f72125beafeee62220e355370fd3662b78632 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:17 -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 973e80257664cf..61f4ccf3fc4a9c 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 26455ff656734b36131126ddd6db1dca579095ba Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 10/10] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 de6cd7adc9828f..21fe1b2e06a599 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
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (33 preceding siblings ...)
2024-04-18 15:30 ` [PR PATCH] [Updated] " zlice
@ 2024-04-18 15:32 ` zlice
2024-04-19 9:57 ` nodatapoints
` (17 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-04-18 15:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2064253983
Comment:
Calandracas said clang/llvm/spirv 15 devel packages shouldn't be a problem. Though ik they take forever to build. If those get put in, this should be buildable again. musl will probably still have an issue
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (34 preceding siblings ...)
2024-04-18 15:32 ` zlice
@ 2024-04-19 9:57 ` nodatapoints
2024-05-12 0:55 ` [PR PATCH] [Updated] " zlice
` (16 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: nodatapoints @ 2024-04-19 9:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
New comment by nodatapoints on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2066236133
Comment:
I adapted this PR locally and downgraded all relevant packages to build against LLVM 15, and this seems to work for me. I tested it with `clinfo`.
However the LLVM 17 builds do not compile on my machine.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (35 preceding siblings ...)
2024-04-19 9:57 ` nodatapoints
@ 2024-05-12 0:55 ` zlice
2024-05-12 0:56 ` zlice
` (15 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-05-12 0:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 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
[WIP] 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: 20535 bytes --]
From b4cf5ec7172779a66edad8deb6f230bc030b130a Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 01/12] New package: intel-opencl-clang-15.0.0
---
srcpkgs/intel-opencl-clang/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/intel-opencl-clang/template
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..ed5892d00dade9
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=15.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=15.0.7"
+hostmakedepends="cmake"
+makedepends="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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 a580fff8b7bcaefff2a0329b643d4f9d73861ad8 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 02/12] New package: intel-vc-intrinsics-0.18.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 00000000000000..b67257286d4f0e
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm15-devel clang15 clang-tools-extra15"
+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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From 3b070a7b8080efeca8eef2e1e94c5b0b7a1d9635 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 03/12] New package: intel-graphics-compile-1.0.15985.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 00000000000000..727d4aacdcc0df
--- /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.15985.7
+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="llvm15-devel clang15 clang-tools-extra15 intel-opencl-clang intel-vc-intrinsics
+ lld15 lld15-devel SPIRV-Headers SPIRV-LLVM-Translator15-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=fa4d824b9d2fc9c32decf07dd03a6af07236b060497f2bff513d0b709c2606a9
+
+post_install() {
+ vlicense LICENSE.md
+}
From 952f6a146ad0e4d625a190e23a7ea634ca2dd9dc Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 04/12] 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 00000000000000..f026ab35e670f3
--- /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="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 3ea7f41fdcd4ab77d61244ee5a01decf0c01ac77 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
Subject: [PATCH 05/12] 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 00000000000000..b64083d484de0b
--- /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 b6a820ddc7eca5cd27ddb6c1b65313923e44f9ca Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
Subject: [PATCH 06/12] 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 00000000000000..870d7af5e873f3
--- /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 8874b0866b195f9a1f2ef67703135c5e4bd3a349 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
Subject: [PATCH 07/12] 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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..031429f8310615
--- /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="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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 7284a1ae794d91b524bc55b56b21426334ca1e8d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:05 -0500
Subject: [PATCH 08/12] 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 b9df642f6320f2..5aa1106f54147d 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 917bb606dc2da2fa37efd8986a990e2c084cdfcc Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:17 -0500
Subject: [PATCH 09/12] 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 973e80257664cf..61f4ccf3fc4a9c 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 13444126017b1dd849c6f278d20957213d25cfd1 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 10/12] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 de6cd7adc9828f..21fe1b2e06a599 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
From f3cbff6898fa5c59d9a7ee0d187b844f33b275e1 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:09:56 -0400
Subject: [PATCH 11/12] New package: SPIRV-LLVM-Translator15-15.0.0_1
---
common/shlibs | 1 +
srcpkgs/SPIRV-LLVM-Translator15-devel | 1 +
srcpkgs/SPIRV-LLVM-Translator15/template | 32 ++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/SPIRV-LLVM-Translator15-devel
create mode 100644 srcpkgs/SPIRV-LLVM-Translator15/template
diff --git a/common/shlibs b/common/shlibs
index 75e1249abcb264..2686077c894c95 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -990,6 +990,7 @@ libLLVM-11.so libllvm11-11.0.0_1
libLLVM-12.so libllvm12-12.0.0_1
libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
+libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
diff --git a/srcpkgs/SPIRV-LLVM-Translator15-devel b/srcpkgs/SPIRV-LLVM-Translator15-devel
new file mode 120000
index 00000000000000..77ea95bbc4b924
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15-devel
@@ -0,0 +1 @@
+SPIRV-LLVM-Translator15
\ No newline at end of file
diff --git a/srcpkgs/SPIRV-LLVM-Translator15/template b/srcpkgs/SPIRV-LLVM-Translator15/template
new file mode 100644
index 00000000000000..845da9aaaa9a5e
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15/template
@@ -0,0 +1,32 @@
+# Template file for 'SPIRV-LLVM-Translator15'
+pkgname=SPIRV-LLVM-Translator15
+version=15.0.0
+revision=1
+build_style=cmake
+make_build_args="llvm-spirv"
+configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
+ -DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
+ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
+hostmakedepends="clang15 llvm15"
+makedepends="clang-tools-extra15 llvm15-devel SPIRV-Headers"
+short_desc="API and commands for processing SPIR-V modules"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="NCSA"
+homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
+checksum=b1bebd77f72988758c00852e78c2ddc545815a612169a0cb377d021e2f846d88
+
+post_install() {
+ vlicense LICENSE.TXT
+ vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
+}
+
+SPIRV-LLVM-Translator15-devel_package() {
+ depends="SPIRV-LLVM-Translator15-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 070eff9042328b790d1559f72b07ff6059f4fecb Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:10:50 -0400
Subject: [PATCH 12/12] llvm15: readd devel packages
---
common/shlibs | 1 +
srcpkgs/clang15-devel | 1 +
srcpkgs/llvm15-devel | 1 +
srcpkgs/llvm15/template | 59 +++++++++++++++++++++++++++++++++++++++--
4 files changed, 60 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/clang15-devel
create mode 120000 srcpkgs/llvm15-devel
diff --git a/common/shlibs b/common/shlibs
index 2686077c894c95..e32e3d026260cd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -992,6 +992,7 @@ libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
+libopencl-clang.so.15 intel-opencl-clang-15.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/clang15-devel b/srcpkgs/clang15-devel
new file mode 120000
index 00000000000000..c3d2f127dbecdf
--- /dev/null
+++ b/srcpkgs/clang15-devel
@@ -0,0 +1 @@
+clang15
\ No newline at end of file
diff --git a/srcpkgs/llvm15-devel b/srcpkgs/llvm15-devel
new file mode 120000
index 00000000000000..ad57a969b9f9cf
--- /dev/null
+++ b/srcpkgs/llvm15-devel
@@ -0,0 +1 @@
+llvm15
\ No newline at end of file
diff --git a/srcpkgs/llvm15/template b/srcpkgs/llvm15/template
index 91ef4a07949135..2122206c0c0ebb 100644
--- a/srcpkgs/llvm15/template
+++ b/srcpkgs/llvm15/template
@@ -1,7 +1,7 @@
# Template file for 'llvm15'
pkgname=llvm15
version=15.0.7
-revision=4
+revision=5
build_wrksrc=llvm
build_style=cmake
_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
@@ -57,7 +57,7 @@ esac
subpackages="clang-tools-extra15 clang15 clang-analyzer15 libclang15 libclang-cpp15
- libllvm15"
+ libllvm15 llvm15-devel"
if [ "$_lldb_enable" = "yes" ]; then
# XXX fails to cross compile due to python
@@ -219,6 +219,38 @@ clang-tools-extra15_package() {
}
}
+clang15-devel_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ clang15>=${version}_${revision} clang-analyzer15>=${version}_${revision}
+ llvm15>=${version}_${revision}"
+ if [ "$build_option_clang_tools_extra" ]; then
+ depends+=" clang-tools-extra15>=${version}_${revision}"
+ fi
+ short_desc+=" - C language family frontend - development Files"
+ homepage="https://clang.llvm.org/"
+ pkg_install() {
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/libear
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ vmove usr/bin/hmaptool
+ vmove usr/bin/git-clang-format
+ if [ "$build_option_clang_tools_extra" ]; then
+ vmove usr/include/clang-tidy
+ vmove usr/lib/libfindAllSymbols.a
+ fi
+ if [ "$build_option_polly" ]; then
+ vmove usr/include/polly
+ vmove usr/lib/cmake/polly
+ vmove "usr/lib/libPolly*.a"
+ fi
+ }
+}
+
clang15_package() {
lib32disabled=yes
depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
@@ -304,6 +336,29 @@ lldb15-devel_package() {
}
}
+llvm15-devel_package() {
+ short_desc+=" - development files"
+ depends="llvm15>=${version}_${revision}"
+ if [ "$build_option_openmp" ]; then
+ depends+=" libomp-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_mlir" ]; then
+ depends+=" mlir17-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_clang" ]; then
+ depends+=" clang15-devel>=${version}_${revision} "
+ fi
+ pkg_install() {
+ vmove usr/lib/libLLVM.so
+ vmove usr/lib/libLTO.so
+ vmove usr/lib/libRemarks.so
+ vmove usr/include/llvm
+ vmove usr/include/llvm-c
+ vmove "usr/lib/libLLVM*.a"
+ vmove usr/lib/cmake/llvm
+ }
+}
+
libllvm15_package() {
short_desc+=" - runtime library"
pkg_install() {
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (36 preceding siblings ...)
2024-05-12 0:55 ` [PR PATCH] [Updated] " zlice
@ 2024-05-12 0:56 ` zlice
2024-05-16 21:22 ` [PR PATCH] [Updated] " zlice
` (14 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-05-12 0:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2106075687
Comment:
Good news - able to compile and run opencl with llvm/clang/spirv 15.
Bad news - 6.7.3 kernel works for opencl on 6700k and a A770, but 6.8.0+ appears to have broken opencl (clinfo shows 0 devices)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (37 preceding siblings ...)
2024-05-12 0:56 ` zlice
@ 2024-05-16 21:22 ` zlice
2024-05-16 21:24 ` zlice
` (13 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-05-16 21:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1196 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
[WIP] 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: 20538 bytes --]
From b4cf5ec7172779a66edad8deb6f230bc030b130a Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 01/12] New package: intel-opencl-clang-15.0.0
---
srcpkgs/intel-opencl-clang/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/intel-opencl-clang/template
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..ed5892d00dade9
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=15.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=15.0.7"
+hostmakedepends="cmake"
+makedepends="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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 a580fff8b7bcaefff2a0329b643d4f9d73861ad8 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 02/12] New package: intel-vc-intrinsics-0.18.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 00000000000000..b67257286d4f0e
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm15-devel clang15 clang-tools-extra15"
+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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From e95c9c944868ae3e09f94aa84bb4048d5b0b7989 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 03/12] New package: intel-graphics-compiler-1.0.16695.4
---
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 00000000000000..f7fd97a197413e
--- /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.16695.4
+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="llvm15-devel clang15 clang-tools-extra15 intel-opencl-clang intel-vc-intrinsics
+ lld15 lld15-devel SPIRV-Headers SPIRV-LLVM-Translator15-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=8f00c317a4b58c75f9d7f3d77cd4024586b837ebf2da870e5232b8aa804a4e6b
+
+post_install() {
+ vlicense LICENSE.md
+}
From 14608e6e56591823464dcc28834ade9d9d8a86c8 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 04/12] New package: intel-compute-runtime-24.13.29138.7
---
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 00000000000000..717f9d5860251e
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=24.13.29138.7
+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="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=96b2331ee98e800e6b6666f9ab0803a9d16430f8781f3cac1b3f2b81235dfd95
+
+post_install() {
+ vlicense LICENSE.md
+}
From 50030db20af18b1f38d99272b7c21e38c43d0cda Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
Subject: [PATCH 05/12] New package: intel-metrics-discovery-1.12.171
---
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 00000000000000..f436529190f1b5
--- /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.171
+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=6c8610b6902922e4683067760980cfa9b13f4c57ca7013bf14cf8db00341b5dd
+
+post_install() {
+ vlicense LICENSE.md
+}
From aa89be616d136c5e1c86621d80afc798dcd3845f Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
Subject: [PATCH 06/12] New package: intel-metrics-library-1.0.161
---
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 00000000000000..8b9e104d759d76
--- /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.161
+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=5e8ea2b32cda4b9aab2f034b3862a30b7cb130b3eacfa55b67d37fc106350163
+
+post_install() {
+ vlicense LICENSE.md
+}
From dd4d6920ec3633fba75f051b989c421ea72f70ea Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
Subject: [PATCH 07/12] New package: level-zero-1.17.0
---
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..acf276457e0e1b
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.17.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake git"
+makedepends="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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=edf820eab84a5f746fee730604f0381c8811f7942302c0835226715e5ae93a25
+
+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 79ff8e4f8f8337e437331d1227df2cfcd587a75f Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:05 -0500
Subject: [PATCH 08/12] 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 b9df642f6320f2..5aa1106f54147d 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 b7453cd90fbacc601177d256f9d2eeea3aeac0c3 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:17 -0500
Subject: [PATCH 09/12] 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 973e80257664cf..61f4ccf3fc4a9c 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 d69ad771fbbe9aa9191a2b62641e84c4e898852c Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 10/12] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 de6cd7adc9828f..21fe1b2e06a599 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
From 88f87418b30282b465402e51959ab07592fffae5 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:09:56 -0400
Subject: [PATCH 11/12] New package: SPIRV-LLVM-Translator15-15.0.0_1
---
common/shlibs | 1 +
srcpkgs/SPIRV-LLVM-Translator15-devel | 1 +
srcpkgs/SPIRV-LLVM-Translator15/template | 32 ++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/SPIRV-LLVM-Translator15-devel
create mode 100644 srcpkgs/SPIRV-LLVM-Translator15/template
diff --git a/common/shlibs b/common/shlibs
index 75e1249abcb264..2686077c894c95 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -990,6 +990,7 @@ libLLVM-11.so libllvm11-11.0.0_1
libLLVM-12.so libllvm12-12.0.0_1
libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
+libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
diff --git a/srcpkgs/SPIRV-LLVM-Translator15-devel b/srcpkgs/SPIRV-LLVM-Translator15-devel
new file mode 120000
index 00000000000000..77ea95bbc4b924
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15-devel
@@ -0,0 +1 @@
+SPIRV-LLVM-Translator15
\ No newline at end of file
diff --git a/srcpkgs/SPIRV-LLVM-Translator15/template b/srcpkgs/SPIRV-LLVM-Translator15/template
new file mode 100644
index 00000000000000..845da9aaaa9a5e
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15/template
@@ -0,0 +1,32 @@
+# Template file for 'SPIRV-LLVM-Translator15'
+pkgname=SPIRV-LLVM-Translator15
+version=15.0.0
+revision=1
+build_style=cmake
+make_build_args="llvm-spirv"
+configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
+ -DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
+ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
+hostmakedepends="clang15 llvm15"
+makedepends="clang-tools-extra15 llvm15-devel SPIRV-Headers"
+short_desc="API and commands for processing SPIR-V modules"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="NCSA"
+homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
+checksum=b1bebd77f72988758c00852e78c2ddc545815a612169a0cb377d021e2f846d88
+
+post_install() {
+ vlicense LICENSE.TXT
+ vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
+}
+
+SPIRV-LLVM-Translator15-devel_package() {
+ depends="SPIRV-LLVM-Translator15-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From e2b95bbad0452893aa1c1fdaa49014ca66694f7d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:10:50 -0400
Subject: [PATCH 12/12] llvm15: readd devel packages
---
common/shlibs | 1 +
srcpkgs/clang15-devel | 1 +
srcpkgs/llvm15-devel | 1 +
srcpkgs/llvm15/template | 59 +++++++++++++++++++++++++++++++++++++++--
4 files changed, 60 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/clang15-devel
create mode 120000 srcpkgs/llvm15-devel
diff --git a/common/shlibs b/common/shlibs
index 2686077c894c95..e32e3d026260cd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -992,6 +992,7 @@ libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
+libopencl-clang.so.15 intel-opencl-clang-15.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/clang15-devel b/srcpkgs/clang15-devel
new file mode 120000
index 00000000000000..c3d2f127dbecdf
--- /dev/null
+++ b/srcpkgs/clang15-devel
@@ -0,0 +1 @@
+clang15
\ No newline at end of file
diff --git a/srcpkgs/llvm15-devel b/srcpkgs/llvm15-devel
new file mode 120000
index 00000000000000..ad57a969b9f9cf
--- /dev/null
+++ b/srcpkgs/llvm15-devel
@@ -0,0 +1 @@
+llvm15
\ No newline at end of file
diff --git a/srcpkgs/llvm15/template b/srcpkgs/llvm15/template
index 91ef4a07949135..2122206c0c0ebb 100644
--- a/srcpkgs/llvm15/template
+++ b/srcpkgs/llvm15/template
@@ -1,7 +1,7 @@
# Template file for 'llvm15'
pkgname=llvm15
version=15.0.7
-revision=4
+revision=5
build_wrksrc=llvm
build_style=cmake
_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
@@ -57,7 +57,7 @@ esac
subpackages="clang-tools-extra15 clang15 clang-analyzer15 libclang15 libclang-cpp15
- libllvm15"
+ libllvm15 llvm15-devel"
if [ "$_lldb_enable" = "yes" ]; then
# XXX fails to cross compile due to python
@@ -219,6 +219,38 @@ clang-tools-extra15_package() {
}
}
+clang15-devel_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ clang15>=${version}_${revision} clang-analyzer15>=${version}_${revision}
+ llvm15>=${version}_${revision}"
+ if [ "$build_option_clang_tools_extra" ]; then
+ depends+=" clang-tools-extra15>=${version}_${revision}"
+ fi
+ short_desc+=" - C language family frontend - development Files"
+ homepage="https://clang.llvm.org/"
+ pkg_install() {
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/libear
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ vmove usr/bin/hmaptool
+ vmove usr/bin/git-clang-format
+ if [ "$build_option_clang_tools_extra" ]; then
+ vmove usr/include/clang-tidy
+ vmove usr/lib/libfindAllSymbols.a
+ fi
+ if [ "$build_option_polly" ]; then
+ vmove usr/include/polly
+ vmove usr/lib/cmake/polly
+ vmove "usr/lib/libPolly*.a"
+ fi
+ }
+}
+
clang15_package() {
lib32disabled=yes
depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
@@ -304,6 +336,29 @@ lldb15-devel_package() {
}
}
+llvm15-devel_package() {
+ short_desc+=" - development files"
+ depends="llvm15>=${version}_${revision}"
+ if [ "$build_option_openmp" ]; then
+ depends+=" libomp-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_mlir" ]; then
+ depends+=" mlir17-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_clang" ]; then
+ depends+=" clang15-devel>=${version}_${revision} "
+ fi
+ pkg_install() {
+ vmove usr/lib/libLLVM.so
+ vmove usr/lib/libLTO.so
+ vmove usr/lib/libRemarks.so
+ vmove usr/include/llvm
+ vmove usr/include/llvm-c
+ vmove "usr/lib/libLLVM*.a"
+ vmove usr/lib/cmake/llvm
+ }
+}
+
libllvm15_package() {
short_desc+=" - runtime library"
pkg_install() {
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (38 preceding siblings ...)
2024-05-16 21:22 ` [PR PATCH] [Updated] " zlice
@ 2024-05-16 21:24 ` zlice
2024-06-01 18:04 ` [PR PATCH] [Updated] " zlice
` (12 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-05-16 21:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2116215145
Comment:
newer libraries allow for running on newer kernels. working again
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (39 preceding siblings ...)
2024-05-16 21:24 ` zlice
@ 2024-06-01 18:04 ` zlice
2024-06-23 16:24 ` zlice
` (11 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-06-01 18:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1307 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.~~
`level-zero` uses git to pull `spdlog`(1.13.0). Void does not have a 'spdlog-devel' but it could probably be added.
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: 21206 bytes --]
From 0283fffcf7e86bbffaa64aafd69f8345612ff0d3 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 01/13] New package: intel-opencl-clang-15.0.0
---
srcpkgs/intel-opencl-clang/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/intel-opencl-clang/template
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..ed5892d00dade9
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=15.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=15.0.7"
+hostmakedepends="cmake"
+makedepends="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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 7f77ca90d414e898eac2faeb8007d09b7111db7c Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 02/13] New package: intel-vc-intrinsics-0.18.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 00000000000000..b67257286d4f0e
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm15-devel clang15 clang-tools-extra15"
+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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From 1a1a8d9920abb3bf10fbe519355c7749c2bf1826 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 03/13] New package: intel-graphics-compiler-1.0.16695.4
---
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 00000000000000..f7fd97a197413e
--- /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.16695.4
+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="llvm15-devel clang15 clang-tools-extra15 intel-opencl-clang intel-vc-intrinsics
+ lld15 lld15-devel SPIRV-Headers SPIRV-LLVM-Translator15-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=8f00c317a4b58c75f9d7f3d77cd4024586b837ebf2da870e5232b8aa804a4e6b
+
+post_install() {
+ vlicense LICENSE.md
+}
From 4635cd5f122c9e37278cd02f6300699754c5b4d7 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 04/13] New package: intel-compute-runtime-24.13.29138.7
---
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 00000000000000..717f9d5860251e
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=24.13.29138.7
+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="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=96b2331ee98e800e6b6666f9ab0803a9d16430f8781f3cac1b3f2b81235dfd95
+
+post_install() {
+ vlicense LICENSE.md
+}
From 8c4caf3873a2946f827378ad0dbdc9fb60cc87b6 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
Subject: [PATCH 05/13] New package: intel-metrics-discovery-1.12.171
---
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 00000000000000..f436529190f1b5
--- /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.171
+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=6c8610b6902922e4683067760980cfa9b13f4c57ca7013bf14cf8db00341b5dd
+
+post_install() {
+ vlicense LICENSE.md
+}
From 51d6d6447c044de23408022a3209e9dd1c8214e1 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
Subject: [PATCH 06/13] New package: intel-metrics-library-1.0.161
---
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 00000000000000..8b9e104d759d76
--- /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.161
+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=5e8ea2b32cda4b9aab2f034b3862a30b7cb130b3eacfa55b67d37fc106350163
+
+post_install() {
+ vlicense LICENSE.md
+}
From f9ebd03ed92f37633ad52b16a93e59c68c5a115a Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
Subject: [PATCH 07/13] New package: level-zero-1.17.0
---
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..acf276457e0e1b
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.17.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake git"
+makedepends="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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=edf820eab84a5f746fee730604f0381c8811f7942302c0835226715e5ae93a25
+
+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 1f288a861f5dcf5bc55790f9d47e17a925fdd3ed Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:05 -0500
Subject: [PATCH 08/13] 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 b9df642f6320f2..5aa1106f54147d 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 9f1925d6c7ef85462a34cb7cca2c9344e763e09d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:17 -0500
Subject: [PATCH 09/13] 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 973e80257664cf..61f4ccf3fc4a9c 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 8ed4e1b73be72bb8da8a501e2a28eae84fe40d85 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 10/13] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 de6cd7adc9828f..21fe1b2e06a599 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
From 1b0d0c3996006a4b7443a1f8624c03507a1b1789 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:09:56 -0400
Subject: [PATCH 11/13] New package: SPIRV-LLVM-Translator15-15.0.0_1
---
common/shlibs | 1 +
srcpkgs/SPIRV-LLVM-Translator15-devel | 1 +
srcpkgs/SPIRV-LLVM-Translator15/template | 32 ++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/SPIRV-LLVM-Translator15-devel
create mode 100644 srcpkgs/SPIRV-LLVM-Translator15/template
diff --git a/common/shlibs b/common/shlibs
index 279bf10d77d26e..84a70da74149e3 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -987,6 +987,7 @@ libLLVM-11.so libllvm11-11.0.0_1
libLLVM-12.so libllvm12-12.0.0_1
libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
+libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
diff --git a/srcpkgs/SPIRV-LLVM-Translator15-devel b/srcpkgs/SPIRV-LLVM-Translator15-devel
new file mode 120000
index 00000000000000..77ea95bbc4b924
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15-devel
@@ -0,0 +1 @@
+SPIRV-LLVM-Translator15
\ No newline at end of file
diff --git a/srcpkgs/SPIRV-LLVM-Translator15/template b/srcpkgs/SPIRV-LLVM-Translator15/template
new file mode 100644
index 00000000000000..845da9aaaa9a5e
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15/template
@@ -0,0 +1,32 @@
+# Template file for 'SPIRV-LLVM-Translator15'
+pkgname=SPIRV-LLVM-Translator15
+version=15.0.0
+revision=1
+build_style=cmake
+make_build_args="llvm-spirv"
+configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
+ -DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
+ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
+hostmakedepends="clang15 llvm15"
+makedepends="clang-tools-extra15 llvm15-devel SPIRV-Headers"
+short_desc="API and commands for processing SPIR-V modules"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="NCSA"
+homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
+checksum=b1bebd77f72988758c00852e78c2ddc545815a612169a0cb377d021e2f846d88
+
+post_install() {
+ vlicense LICENSE.TXT
+ vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
+}
+
+SPIRV-LLVM-Translator15-devel_package() {
+ depends="SPIRV-LLVM-Translator15-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 37b486ae7d27aa799ba7b5471bee1f78c828c911 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:10:50 -0400
Subject: [PATCH 12/13] llvm15: readd devel packages
---
common/shlibs | 1 +
srcpkgs/clang15-devel | 1 +
srcpkgs/llvm15-devel | 1 +
srcpkgs/llvm15/template | 59 +++++++++++++++++++++++++++++++++++++++--
4 files changed, 60 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/clang15-devel
create mode 120000 srcpkgs/llvm15-devel
diff --git a/common/shlibs b/common/shlibs
index 84a70da74149e3..4b89eccb7941e8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -989,6 +989,7 @@ libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
+libopencl-clang.so.15 intel-opencl-clang-15.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/clang15-devel b/srcpkgs/clang15-devel
new file mode 120000
index 00000000000000..c3d2f127dbecdf
--- /dev/null
+++ b/srcpkgs/clang15-devel
@@ -0,0 +1 @@
+clang15
\ No newline at end of file
diff --git a/srcpkgs/llvm15-devel b/srcpkgs/llvm15-devel
new file mode 120000
index 00000000000000..ad57a969b9f9cf
--- /dev/null
+++ b/srcpkgs/llvm15-devel
@@ -0,0 +1 @@
+llvm15
\ No newline at end of file
diff --git a/srcpkgs/llvm15/template b/srcpkgs/llvm15/template
index 91ef4a07949135..2122206c0c0ebb 100644
--- a/srcpkgs/llvm15/template
+++ b/srcpkgs/llvm15/template
@@ -1,7 +1,7 @@
# Template file for 'llvm15'
pkgname=llvm15
version=15.0.7
-revision=4
+revision=5
build_wrksrc=llvm
build_style=cmake
_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
@@ -57,7 +57,7 @@ esac
subpackages="clang-tools-extra15 clang15 clang-analyzer15 libclang15 libclang-cpp15
- libllvm15"
+ libllvm15 llvm15-devel"
if [ "$_lldb_enable" = "yes" ]; then
# XXX fails to cross compile due to python
@@ -219,6 +219,38 @@ clang-tools-extra15_package() {
}
}
+clang15-devel_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ clang15>=${version}_${revision} clang-analyzer15>=${version}_${revision}
+ llvm15>=${version}_${revision}"
+ if [ "$build_option_clang_tools_extra" ]; then
+ depends+=" clang-tools-extra15>=${version}_${revision}"
+ fi
+ short_desc+=" - C language family frontend - development Files"
+ homepage="https://clang.llvm.org/"
+ pkg_install() {
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/libear
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ vmove usr/bin/hmaptool
+ vmove usr/bin/git-clang-format
+ if [ "$build_option_clang_tools_extra" ]; then
+ vmove usr/include/clang-tidy
+ vmove usr/lib/libfindAllSymbols.a
+ fi
+ if [ "$build_option_polly" ]; then
+ vmove usr/include/polly
+ vmove usr/lib/cmake/polly
+ vmove "usr/lib/libPolly*.a"
+ fi
+ }
+}
+
clang15_package() {
lib32disabled=yes
depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
@@ -304,6 +336,29 @@ lldb15-devel_package() {
}
}
+llvm15-devel_package() {
+ short_desc+=" - development files"
+ depends="llvm15>=${version}_${revision}"
+ if [ "$build_option_openmp" ]; then
+ depends+=" libomp-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_mlir" ]; then
+ depends+=" mlir17-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_clang" ]; then
+ depends+=" clang15-devel>=${version}_${revision} "
+ fi
+ pkg_install() {
+ vmove usr/lib/libLLVM.so
+ vmove usr/lib/libLTO.so
+ vmove usr/lib/libRemarks.so
+ vmove usr/include/llvm
+ vmove usr/include/llvm-c
+ vmove "usr/lib/libLLVM*.a"
+ vmove usr/lib/cmake/llvm
+ }
+}
+
libllvm15_package() {
short_desc+=" - runtime library"
pkg_install() {
From e6c6b7206d20d91c200896025986de0f6205ff93 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 1 Jun 2024 14:04:38 -0400
Subject: [PATCH 13/13] obs: revbump for oneVPL-2023.4.0
---
srcpkgs/obs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index feb9649977a8d4..0888fb3aaaccfe 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -1,7 +1,7 @@
# Template file for 'obs'
pkgname=obs
version=30.1.1
-revision=1
+revision=2
archs="i686* x86_64* ppc64le* aarch64* riscv64*"
build_style=cmake
configure_args="-DOBS_VERSION_OVERRIDE=${version} -DENABLE_JACK=ON
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (40 preceding siblings ...)
2024-06-01 18:04 ` [PR PATCH] [Updated] " zlice
@ 2024-06-23 16:24 ` zlice
2024-06-25 17:40 ` zlice
` (10 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-06-23 16:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2185113785
Comment:
https://github.com/intel/media-driver/commit/632f240ad830655de7cb50893fc7884f530c9c37
Should be good for musl now. Will try to do arm/musl mix builds in a day or few.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (41 preceding siblings ...)
2024-06-23 16:24 ` zlice
@ 2024-06-25 17:40 ` zlice
2024-06-26 12:21 ` [PR PATCH] [Updated] " zlice
` (9 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-06-25 17:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2189590529
Comment:
https://github.com/intel/intel-graphics-compiler/issues/332
intel-graphics-compile not working for musl
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (42 preceding siblings ...)
2024-06-25 17:40 ` zlice
@ 2024-06-26 12:21 ` zlice
2024-06-26 12:26 ` zlice
` (8 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-06-26 12:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1307 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.~~
`level-zero` uses git to pull `spdlog`(1.13.0). Void does not have a 'spdlog-devel' but it could probably be added.
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: 23346 bytes --]
From 1c4c781eb0039a3f92d926c8399e9237337368ad Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 01/13] New package: intel-opencl-clang-15.0.0
---
srcpkgs/intel-opencl-clang/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/intel-opencl-clang/template
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..744231805b6f70
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=15.0.0
+revision=1
+archs="x86_64"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=15.0.7"
+hostmakedepends="cmake"
+makedepends="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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 700dc4a42e92b2a250f6b43a444960249892ee92 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 02/13] New package: intel-vc-intrinsics-0.18.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 00000000000000..3cb9768def90d8
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm15-devel clang15 clang-tools-extra15"
+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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From 21d08ea6165cde8239768555318bd79d5c3c36db Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 03/13] New package: intel-graphics-compiler-1.0.16695.4
---
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 00000000000000..d3e2d714eeeabc
--- /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.16695.4
+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="llvm15-devel clang15 clang-tools-extra15 intel-opencl-clang intel-vc-intrinsics
+ lld15 lld15-devel SPIRV-Headers SPIRV-LLVM-Translator15-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=8f00c317a4b58c75f9d7f3d77cd4024586b837ebf2da870e5232b8aa804a4e6b
+
+post_install() {
+ vlicense LICENSE.md
+}
From 2f86ea3144c20b8732ba5b61113adc6e30f3c82c Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 04/13] New package: intel-compute-runtime-24.13.29138.7
---
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 00000000000000..717f9d5860251e
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=24.13.29138.7
+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="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=96b2331ee98e800e6b6666f9ab0803a9d16430f8781f3cac1b3f2b81235dfd95
+
+post_install() {
+ vlicense LICENSE.md
+}
From 2e8914533cc6b02e1dc4073010b1054a75cbf864 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
Subject: [PATCH 05/13] New package: intel-metrics-discovery-1.12.171
---
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 00000000000000..b49198ceeafe08
--- /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.171
+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=6c8610b6902922e4683067760980cfa9b13f4c57ca7013bf14cf8db00341b5dd
+
+post_install() {
+ vlicense LICENSE.md
+}
From 4e0acde2abf580719472617b142a154748e8d191 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
Subject: [PATCH 06/13] New package: intel-metrics-library-1.0.161
---
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 00000000000000..8e1d086406d127
--- /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.161
+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=5e8ea2b32cda4b9aab2f034b3862a30b7cb130b3eacfa55b67d37fc106350163
+
+post_install() {
+ vlicense LICENSE.md
+}
From 009c4fffce0c997c0fe5695e6f1ba0cb28c6830b Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
Subject: [PATCH 07/13] New package: level-zero-1.17.0
---
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..acf276457e0e1b
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.17.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake git"
+makedepends="llvm15-devel clang15 clang-tools-extra15 SPIRV-LLVM-Translator15-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=edf820eab84a5f746fee730604f0381c8811f7942302c0835226715e5ae93a25
+
+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 d07166592433ba0bb58df9e49ddcfd46b04d4bf8 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:05 -0500
Subject: [PATCH 08/13] 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 b9df642f6320f2..5aa1106f54147d 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 f8f5350b0b8f8877fee39ec50c46e3bacb06be33 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:17 -0500
Subject: [PATCH 09/13] intel-media-driver: update to 24.1.3
---
...Disable-overloaded-virtual-being-hid.patch | 40 +++++++++++++++++++
srcpkgs/intel-media-driver/template | 4 +-
2 files changed, 42 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/intel-media-driver/patches/0001-Media-Common-VP-Disable-overloaded-virtual-being-hid.patch
diff --git a/srcpkgs/intel-media-driver/patches/0001-Media-Common-VP-Disable-overloaded-virtual-being-hid.patch b/srcpkgs/intel-media-driver/patches/0001-Media-Common-VP-Disable-overloaded-virtual-being-hid.patch
new file mode 100644
index 00000000000000..704c7707f07314
--- /dev/null
+++ b/srcpkgs/intel-media-driver/patches/0001-Media-Common-VP-Disable-overloaded-virtual-being-hid.patch
@@ -0,0 +1,40 @@
+From 632f240ad830655de7cb50893fc7884f530c9c37 Mon Sep 17 00:00:00 2001
+From: Jay Yang <jay.yang@intel.com>
+Date: Thu, 6 Jun 2024 14:01:00 +0800
+Subject: [PATCH] [Media Common] [VP] Disable overloaded virtual being hidden
+ warning
+
+Fix: #1807
+Signed-off-by: Jay Yang <jay.yang@intel.com>
+---
+ media_driver/cmake/linux/media_compile_flags_linux.cmake | 1 +
+ media_softlet/cmake/linux/media_compile_flags_linux.cmake | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+index 0a211fdc7..397e8c5cb 100755
+--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
++++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+@@ -36,6 +36,7 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -Werror=format-security
+ -Werror=non-virtual-dtor
+ -Werror=return-type
++ -Wno-overloaded-virtual
+
+ # General optimization options
+ -finline-functions
+diff --git a/media_softlet/cmake/linux/media_compile_flags_linux.cmake b/media_softlet/cmake/linux/media_compile_flags_linux.cmake
+index 0537cf04e..2c36efe29 100644
+--- a/media_softlet/cmake/linux/media_compile_flags_linux.cmake
++++ b/media_softlet/cmake/linux/media_compile_flags_linux.cmake
+@@ -36,6 +36,7 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -Werror=format-security
+ -Werror=non-virtual-dtor
+ -Werror=return-type
++ -Wno-overloaded-virtual
+
+ # General optimization options
+ -finline-functions
+--
+2.45.2
+
diff --git a/srcpkgs/intel-media-driver/template b/srcpkgs/intel-media-driver/template
index 973e80257664cf..61f4ccf3fc4a9c 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 07445b4200aaa722dfd97ac537ae27cb1216302d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 10/13] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 20dcd04f5f4976..1c78134cfc5a9f 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="pkg-config"
makedepends="libva-devel libX11-devel"
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
From 31bd2e77a4f93202d682c3bbe5650772b58e0ead Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:09:56 -0400
Subject: [PATCH 11/13] New package: SPIRV-LLVM-Translator15-15.0.0_1
---
common/shlibs | 1 +
srcpkgs/SPIRV-LLVM-Translator15-devel | 1 +
srcpkgs/SPIRV-LLVM-Translator15/template | 32 ++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/SPIRV-LLVM-Translator15-devel
create mode 100644 srcpkgs/SPIRV-LLVM-Translator15/template
diff --git a/common/shlibs b/common/shlibs
index 092fd9b409d500..f5e4e2a9fcc74f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -986,6 +986,7 @@ libLLVM-11.so libllvm11-11.0.0_1
libLLVM-12.so libllvm12-12.0.0_1
libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
+libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
diff --git a/srcpkgs/SPIRV-LLVM-Translator15-devel b/srcpkgs/SPIRV-LLVM-Translator15-devel
new file mode 120000
index 00000000000000..77ea95bbc4b924
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15-devel
@@ -0,0 +1 @@
+SPIRV-LLVM-Translator15
\ No newline at end of file
diff --git a/srcpkgs/SPIRV-LLVM-Translator15/template b/srcpkgs/SPIRV-LLVM-Translator15/template
new file mode 100644
index 00000000000000..845da9aaaa9a5e
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator15/template
@@ -0,0 +1,32 @@
+# Template file for 'SPIRV-LLVM-Translator15'
+pkgname=SPIRV-LLVM-Translator15
+version=15.0.0
+revision=1
+build_style=cmake
+make_build_args="llvm-spirv"
+configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
+ -DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
+ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
+hostmakedepends="clang15 llvm15"
+makedepends="clang-tools-extra15 llvm15-devel SPIRV-Headers"
+short_desc="API and commands for processing SPIR-V modules"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="NCSA"
+homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
+checksum=b1bebd77f72988758c00852e78c2ddc545815a612169a0cb377d021e2f846d88
+
+post_install() {
+ vlicense LICENSE.TXT
+ vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
+}
+
+SPIRV-LLVM-Translator15-devel_package() {
+ depends="SPIRV-LLVM-Translator15-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From b203d631a43671fe39e4ded51a44f329248cdcc6 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 11 May 2024 20:10:50 -0400
Subject: [PATCH 12/13] llvm15: readd devel packages
---
common/shlibs | 1 +
srcpkgs/clang15-devel | 1 +
srcpkgs/llvm15-devel | 1 +
srcpkgs/llvm15/template | 59 +++++++++++++++++++++++++++++++++++++++--
4 files changed, 60 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/clang15-devel
create mode 120000 srcpkgs/llvm15-devel
diff --git a/common/shlibs b/common/shlibs
index f5e4e2a9fcc74f..cbaae4cda30bcb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -988,6 +988,7 @@ libLLVM-15.so libllvm15-15.0.7_4
libLLVM-17.so libllvm17-17.0.6_1
libLLVMSPIRVLib.so.15 SPIRV-LLVM-Translator15-15.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
+libopencl-clang.so.15 intel-opencl-clang-15.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.17 libomp-17.0.3_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/clang15-devel b/srcpkgs/clang15-devel
new file mode 120000
index 00000000000000..c3d2f127dbecdf
--- /dev/null
+++ b/srcpkgs/clang15-devel
@@ -0,0 +1 @@
+clang15
\ No newline at end of file
diff --git a/srcpkgs/llvm15-devel b/srcpkgs/llvm15-devel
new file mode 120000
index 00000000000000..ad57a969b9f9cf
--- /dev/null
+++ b/srcpkgs/llvm15-devel
@@ -0,0 +1 @@
+llvm15
\ No newline at end of file
diff --git a/srcpkgs/llvm15/template b/srcpkgs/llvm15/template
index 91ef4a07949135..2122206c0c0ebb 100644
--- a/srcpkgs/llvm15/template
+++ b/srcpkgs/llvm15/template
@@ -1,7 +1,7 @@
# Template file for 'llvm15'
pkgname=llvm15
version=15.0.7
-revision=4
+revision=5
build_wrksrc=llvm
build_style=cmake
_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
@@ -57,7 +57,7 @@ esac
subpackages="clang-tools-extra15 clang15 clang-analyzer15 libclang15 libclang-cpp15
- libllvm15"
+ libllvm15 llvm15-devel"
if [ "$_lldb_enable" = "yes" ]; then
# XXX fails to cross compile due to python
@@ -219,6 +219,38 @@ clang-tools-extra15_package() {
}
}
+clang15-devel_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ clang15>=${version}_${revision} clang-analyzer15>=${version}_${revision}
+ llvm15>=${version}_${revision}"
+ if [ "$build_option_clang_tools_extra" ]; then
+ depends+=" clang-tools-extra15>=${version}_${revision}"
+ fi
+ short_desc+=" - C language family frontend - development Files"
+ homepage="https://clang.llvm.org/"
+ pkg_install() {
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/libear
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ vmove usr/bin/hmaptool
+ vmove usr/bin/git-clang-format
+ if [ "$build_option_clang_tools_extra" ]; then
+ vmove usr/include/clang-tidy
+ vmove usr/lib/libfindAllSymbols.a
+ fi
+ if [ "$build_option_polly" ]; then
+ vmove usr/include/polly
+ vmove usr/lib/cmake/polly
+ vmove "usr/lib/libPolly*.a"
+ fi
+ }
+}
+
clang15_package() {
lib32disabled=yes
depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
@@ -304,6 +336,29 @@ lldb15-devel_package() {
}
}
+llvm15-devel_package() {
+ short_desc+=" - development files"
+ depends="llvm15>=${version}_${revision}"
+ if [ "$build_option_openmp" ]; then
+ depends+=" libomp-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_mlir" ]; then
+ depends+=" mlir17-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_clang" ]; then
+ depends+=" clang15-devel>=${version}_${revision} "
+ fi
+ pkg_install() {
+ vmove usr/lib/libLLVM.so
+ vmove usr/lib/libLTO.so
+ vmove usr/lib/libRemarks.so
+ vmove usr/include/llvm
+ vmove usr/include/llvm-c
+ vmove "usr/lib/libLLVM*.a"
+ vmove usr/lib/cmake/llvm
+ }
+}
+
libllvm15_package() {
short_desc+=" - runtime library"
pkg_install() {
From 9ced6dd617f4119a49b49dea73ef903f17f8082f Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 1 Jun 2024 14:04:38 -0400
Subject: [PATCH 13/13] obs: revbump for oneVPL-2023.4.0
---
srcpkgs/obs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index feb9649977a8d4..0888fb3aaaccfe 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -1,7 +1,7 @@
# Template file for 'obs'
pkgname=obs
version=30.1.1
-revision=1
+revision=2
archs="i686* x86_64* ppc64le* aarch64* riscv64*"
build_style=cmake
configure_args="-DOBS_VERSION_OVERRIDE=${version} -DENABLE_JACK=ON
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (43 preceding siblings ...)
2024-06-26 12:21 ` [PR PATCH] [Updated] " zlice
@ 2024-06-26 12:26 ` zlice
2024-07-07 21:26 ` [PR PATCH] [Updated] " zlice
` (7 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-06-26 12:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2191563040
Comment:
Sounds like only llvm14 is officially supported. 14 was never in void (12 -> 15) and trying to build it falls to some 'swig' error? https://forums.gentoo.org/viewtopic-p-8755491.html?sid=216b6b968a7d942265029bf44921e1b0
Removed `archs=x86_64*` for musl. Not sure who is using musl for Intel openCL but for now I guess it's not doable unless someone else can figure out what's segfaulting and fix it. (See the above issue for `vcb` failing)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (44 preceding siblings ...)
2024-06-26 12:26 ` zlice
@ 2024-07-07 21:26 ` zlice
2024-07-14 13:25 ` [PR PATCH] [Updated] [ready] " zlice
` (6 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-07-07 21:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1307 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.~~
`level-zero` uses git to pull `spdlog`(1.13.0). Void does not have a 'spdlog-devel' but it could probably be added.
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: 48787 bytes --]
From 9026fd11caaa4436755e5a8a11224c55586bc64e Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 7 Jul 2024 17:16:45 -0400
Subject: [PATCH 01/11] New package: llvm14-14.0.6
---
common/shlibs | 8 +-
srcpkgs/clang-analyzer14 | 1 +
| 1 +
srcpkgs/clang14 | 1 +
srcpkgs/libclang-cpp14 | 1 +
srcpkgs/libclang14 | 1 +
srcpkgs/libllvm14 | 1 +
srcpkgs/lld14 | 1 +
srcpkgs/lld14-devel | 1 +
srcpkgs/lldb14 | 1 +
srcpkgs/lldb14-devel | 1 +
srcpkgs/llvm14-devel | 1 +
.../llvm14/files/llvm-Config-llvm-config.h | 9 +
.../patches/clang-002-add-musl-triples.patch | 115 ++++++
srcpkgs/llvm14/patches/libcxx-musl.patch | 26 ++
srcpkgs/llvm14/patches/llvm-001-musl.patch | 44 +++
srcpkgs/llvm14/patches/swig.patch | 72 ++++
srcpkgs/llvm14/template | 365 ++++++++++++++++++
srcpkgs/llvm14/update | 3 +
19 files changed, 649 insertions(+), 4 deletions(-)
create mode 120000 srcpkgs/clang-analyzer14
create mode 120000 srcpkgs/clang-tools-extra14
create mode 120000 srcpkgs/clang14
create mode 120000 srcpkgs/libclang-cpp14
create mode 120000 srcpkgs/libclang14
create mode 120000 srcpkgs/libllvm14
create mode 120000 srcpkgs/lld14
create mode 120000 srcpkgs/lld14-devel
create mode 120000 srcpkgs/lldb14
create mode 120000 srcpkgs/lldb14-devel
create mode 120000 srcpkgs/llvm14-devel
create mode 100644 srcpkgs/llvm14/files/llvm-Config-llvm-config.h
create mode 100644 srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
create mode 100644 srcpkgs/llvm14/patches/libcxx-musl.patch
create mode 100644 srcpkgs/llvm14/patches/llvm-001-musl.patch
create mode 100644 srcpkgs/llvm14/patches/swig.patch
create mode 100644 srcpkgs/llvm14/template
create mode 100644 srcpkgs/llvm14/update
diff --git a/common/shlibs b/common/shlibs
index d5d256bededd64..dc8bd81880b5f6 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -978,16 +978,16 @@ libyajl.so.2 yajl-2.0.1_1
libconfuse.so.2 confuse-3.2.1_1
liblldb.so.18.1 liblldb18-18.1.8_1
liblldb.so.17 liblldb17-17.0.6_3
-liblldb.so.15 lldb15-15.0.7_4
+liblldb.so.14 lldb14-14.0.6_1
libclang.so.18.1 libclang18-18.1.8_1
libclang.so.17 libclang17-17.0.6_1
-libclang.so.15 libclang15-15.0.7_4
+libclang.so.13 libclang14-14.0.6_1
libclang-cpp.so.18.1 libclang-cpp18-18.1.8_1
libclang-cpp.so.17 libclang-cpp17-17.0.6_1
-libclang-cpp.so.15 libclang-cpp15-15.0.7_4
+libclang-cpp.so.14 libclang-cpp14-14.0.6_1
libLLVM-11.so libllvm11-11.0.0_1
libLLVM-12.so libllvm12-12.0.0_1
-libLLVM-15.so libllvm15-15.0.7_4
+libLLVM-14.so libllvm14-14.0.6_1
libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
diff --git a/srcpkgs/clang-analyzer14 b/srcpkgs/clang-analyzer14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang-analyzer14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
--git a/srcpkgs/clang-tools-extra14 b/srcpkgs/clang-tools-extra14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang-tools-extra14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/clang14 b/srcpkgs/clang14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libclang-cpp14 b/srcpkgs/libclang-cpp14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libclang-cpp14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libclang14 b/srcpkgs/libclang14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libclang14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libllvm14 b/srcpkgs/libllvm14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libllvm14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lld14 b/srcpkgs/lld14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lld14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lld14-devel b/srcpkgs/lld14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lld14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lldb14 b/srcpkgs/lldb14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lldb14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lldb14-devel b/srcpkgs/lldb14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lldb14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/llvm14-devel b/srcpkgs/llvm14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/llvm14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/llvm14/files/llvm-Config-llvm-config.h b/srcpkgs/llvm14/files/llvm-Config-llvm-config.h
new file mode 100644
index 00000000000000..2fa08c9be69621
--- /dev/null
+++ b/srcpkgs/llvm14/files/llvm-Config-llvm-config.h
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "llvm-config-32.h"
+#elif __WORDSIZE == 64
+#include "llvm-config-64.h"
+#else
+#error "Unknown word size"
+#endif
diff --git a/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch b/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
new file mode 100644
index 00000000000000..0ef4c7e75d6b58
--- /dev/null
+++ b/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
@@ -0,0 +1,115 @@
+--- a/clang/lib/Driver/ToolChains/Gnu.cpp
++++ b/clang/lib/Driver/ToolChains/Gnu.cpp
+@@ -2086,7 +2086,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf",
+ "armv7hl-redhat-linux-gnueabi",
+ "armv6hl-suse-linux-gnueabi",
+- "armv7hl-suse-linux-gnueabi"};
++ "armv7hl-suse-linux-gnueabi",
++ "armv7l-linux-gnueabihf"};
+ static const char *const ARMebLibDirs[] = {"/lib"};
+ static const char *const ARMebTriples[] = {"armeb-linux-gnueabi",
+ "armeb-linux-androideabi"};
+@@ -2153,8 +2154,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ "powerpc64-suse-linux", "powerpc-montavista-linuxspe"};
+ static const char *const PPCLELibDirs[] = {"/lib32", "/lib"};
+ static const char *const PPCLETriples[] = {"powerpcle-linux-gnu",
+- "powerpcle-unknown-linux-gnu",
+- "powerpcle-linux-musl"};
++ "powerpcle-unknown-linux-gnu"};
+
+ static const char *const PPC64LibDirs[] = {"/lib64", "/lib"};
+ static const char *const PPC64Triples[] = {
+@@ -2235,6 +2235,92 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ return;
+ }
+
++ if (TargetTriple.isMusl()) {
++ static const char *const AArch64MuslTriples[] = {"aarch64-linux-musl"};
++ static const char *const ARMHFMuslTriples[] = {
++ "arm-linux-musleabihf", "armv7l-linux-musleabihf"
++ };
++ static const char *const ARMMuslTriples[] = {"arm-linux-musleabi"};
++ static const char *const X86_64MuslTriples[] = {"x86_64-linux-musl"};
++ static const char *const X86MuslTriples[] = {"i686-linux-musl"};
++ static const char *const MIPSMuslTriples[] = {
++ "mips-linux-musl", "mipsel-linux-musl",
++ "mipsel-linux-muslhf", "mips-linux-muslhf"
++ };
++ static const char *const PPCMuslTriples[] = {"powerpc-linux-musl"};
++ static const char *const PPCLEMuslTriples[] = {"powerpcle-linux-musl"};
++ static const char *const PPC64MuslTriples[] = {"powerpc64-linux-musl"};
++ static const char *const PPC64LEMuslTriples[] = {"powerpc64le-linux-musl"};
++ static const char *const RISCV64MuslTriples[] = {"riscv64-linux-musl"};
++
++ switch (TargetTriple.getArch()) {
++ case llvm::Triple::aarch64:
++ LibDirs.append(begin(AArch64LibDirs), end(AArch64LibDirs));
++ TripleAliases.append(begin(AArch64MuslTriples), end(AArch64MuslTriples));
++ BiarchLibDirs.append(begin(AArch64LibDirs), end(AArch64LibDirs));
++ BiarchTripleAliases.append(begin(AArch64MuslTriples), end(AArch64MuslTriples));
++ break;
++ case llvm::Triple::arm:
++ LibDirs.append(begin(ARMLibDirs), end(ARMLibDirs));
++ if (TargetTriple.getEnvironment() == llvm::Triple::MuslEABIHF) {
++ TripleAliases.append(begin(ARMHFMuslTriples), end(ARMHFMuslTriples));
++ } else {
++ TripleAliases.append(begin(ARMMuslTriples), end(ARMMuslTriples));
++ }
++ break;
++ case llvm::Triple::x86_64:
++ LibDirs.append(begin(X86_64LibDirs), end(X86_64LibDirs));
++ TripleAliases.append(begin(X86_64MuslTriples), end(X86_64MuslTriples));
++ BiarchLibDirs.append(begin(X86LibDirs), end(X86LibDirs));
++ BiarchTripleAliases.append(begin(X86MuslTriples), end(X86MuslTriples));
++ break;
++ case llvm::Triple::x86:
++ LibDirs.append(begin(X86LibDirs), end(X86LibDirs));
++ TripleAliases.append(begin(X86MuslTriples), end(X86MuslTriples));
++ BiarchLibDirs.append(begin(X86_64LibDirs), end(X86_64LibDirs));
++ BiarchTripleAliases.append(begin(X86_64MuslTriples), end(X86_64MuslTriples));
++ break;
++ case llvm::Triple::mips:
++ LibDirs.append(begin(MIPSLibDirs), end(MIPSLibDirs));
++ TripleAliases.append(begin(MIPSMuslTriples), end(MIPSMuslTriples));
++ break;
++ case llvm::Triple::ppc:
++ LibDirs.append(begin(PPCLibDirs), end(PPCLibDirs));
++ TripleAliases.append(begin(PPCMuslTriples), end(PPCMuslTriples));
++ BiarchLibDirs.append(begin(PPC64LibDirs), end(PPC64LibDirs));
++ BiarchTripleAliases.append(begin(PPC64MuslTriples), end(PPC64MuslTriples));
++ break;
++ case llvm::Triple::ppcle:
++ LibDirs.append(begin(PPCLELibDirs), end(PPCLELibDirs));
++ TripleAliases.append(begin(PPCLEMuslTriples), end(PPCLEMuslTriples));
++ BiarchLibDirs.append(begin(PPC64LELibDirs), end(PPC64LELibDirs));
++ BiarchTripleAliases.append(begin(PPC64LEMuslTriples), end(PPC64LEMuslTriples));
++ break;
++ case llvm::Triple::ppc64:
++ LibDirs.append(begin(PPC64LibDirs), end(PPC64LibDirs));
++ TripleAliases.append(begin(PPC64MuslTriples), end(PPC64MuslTriples));
++ BiarchLibDirs.append(begin(PPCLibDirs), end(PPCLibDirs));
++ BiarchTripleAliases.append(begin(PPCMuslTriples), end(PPCMuslTriples));
++ break;
++ case llvm::Triple::ppc64le:
++ LibDirs.append(begin(PPC64LELibDirs), end(PPC64LELibDirs));
++ TripleAliases.append(begin(PPC64LEMuslTriples), end(PPC64LEMuslTriples));
++ BiarchLibDirs.append(begin(PPCLELibDirs), end(PPCLELibDirs));
++ BiarchTripleAliases.append(begin(PPCLEMuslTriples), end(PPCLEMuslTriples));
++ break;
++ case llvm::Triple::riscv64:
++ LibDirs.append(begin(RISCV64LibDirs), end(RISCV64LibDirs));
++ TripleAliases.append(begin(RISCV64MuslTriples), end(RISCV64MuslTriples));
++ break;
++ default:
++ break;
++ }
++ TripleAliases.push_back(TargetTriple.str());
++ if (TargetTriple.str() != BiarchTriple.str())
++ BiarchTripleAliases.push_back(BiarchTriple.str());
++ return;
++ }
++
+ // Android targets should not use GNU/Linux tools or libraries.
+ if (TargetTriple.isAndroid()) {
+ static const char *const AArch64AndroidTriples[] = {
diff --git a/srcpkgs/llvm14/patches/libcxx-musl.patch b/srcpkgs/llvm14/patches/libcxx-musl.patch
new file mode 100644
index 00000000000000..d15e36fb687709
--- /dev/null
+++ b/srcpkgs/llvm14/patches/libcxx-musl.patch
@@ -0,0 +1,26 @@
+--- a/libcxx/include/locale
++++ b/libcxx/include/locale
+@@ -749,7 +749,11 @@
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
+ errno = 0;
+ char *__p2;
++#if defined(__linux__) && !defined(__GLIBC__)
++ long long __ll = strtoll(__a, &__p2, __base);
++#else
+ long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
++#endif
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
+ if (__current_errno == 0)
+ errno = __save_errno;
+@@ -793,7 +793,11 @@
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
+ errno = 0;
+ char *__p2;
++#if defined(__linux__) && !defined(__GLIBC__)
++ unsigned long long __ll = strtoull(__a, &__p2, __base);
++#else
+ unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
++#endif
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
+ if (__current_errno == 0)
+ errno = __save_errno;
diff --git a/srcpkgs/llvm14/patches/llvm-001-musl.patch b/srcpkgs/llvm14/patches/llvm-001-musl.patch
new file mode 100644
index 00000000000000..ad21b1c90e40f1
--- /dev/null
+++ b/srcpkgs/llvm14/patches/llvm-001-musl.patch
@@ -0,0 +1,44 @@
+From faca3fbd15d0c3108493c3c54cd93138e049ac43 Mon Sep 17 00:00:00 2001
+From: Andrea Brancaleoni <miwaxe@gmail.com>
+Date: Tue, 8 Sep 2015 22:03:02 +0200
+Subject: [PATCH 3/3] musl
+
+---
+ include/llvm/Analysis/TargetLibraryInfo.h | 9 +++++++++
+ lib/Support/DynamicLibrary.cpp | 2 +-
+ lib/Support/Unix/Signals.inc | 6 +++---
+ utils/unittest/googletest/src/gtest.cc | 1 +
+ 5 files changed, 17 insertions(+), 6 deletions(-)
+
+diff --git a/include/llvm/Analysis/TargetLibraryInfo.h b/include/llvm/Analysis/TargetLibraryInfo.h
+index 34a8a1e3..1214ece5 100644
+--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
++++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
+@@ -18,6 +18,15 @@
+ #include "llvm/IR/PassManager.h"
+ #include "llvm/Pass.h"
+
++#undef fopen64
++#undef fseeko64
++#undef fstat64
++#undef fstatvfs64
++#undef ftello64
++#undef lstat64
++#undef stat64
++#undef tmpfile64
++
+ namespace llvm {
+ template <typename T> class ArrayRef;
+ class Triple;
+diff --git a/utils/unittest/googletest/src/gtest.cc b/utils/unittest/googletest/src/gtest.cc
+index d882ab2e..f1fb12d0 100644
+--- a/llvm/utils/unittest/googletest/src/gtest.cc
++++ b/llvm/utils/unittest/googletest/src/gtest.cc
+@@ -128,6 +128,7 @@
+
+ #if GTEST_CAN_STREAM_RESULTS_
+ # include <arpa/inet.h> // NOLINT
++# include <sys/socket.h> // NOLINT
+ # include <netdb.h> // NOLINT
+ # include <sys/socket.h> // NOLINT
+ # include <sys/types.h> // NOLINT
diff --git a/srcpkgs/llvm14/patches/swig.patch b/srcpkgs/llvm14/patches/swig.patch
new file mode 100644
index 00000000000000..c92adf008f43dd
--- /dev/null
+++ b/srcpkgs/llvm14/patches/swig.patch
@@ -0,0 +1,72 @@
+From b6e705f628d6b4f29c45ec3f7c19b69d4ce6a3b0 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Wed, 21 Sep 2022 11:39:52 +0200
+Subject: [PATCH] Fixes for swig-4.1.0 macro definition correction
+
+For swig-4.1.0 change:
+
+ #2193 -DFOO on the SWIG command line now sets FOO to 1 for
+ consistency with C/C++ compiler preprocessors. Previously
+ SWIG set FOO to an empty value.
+
+ Existing invocations of SWIG with `-DFOO` where the empty value
+ matters can be updated to `-DFOO=` which should work with both
+ old and new releases of SWIG.
+
+ *** POTENTIAL INCOMPATIBILITY ***
+
+See https://github.com/swig/swig/issues/2193
+
+This patch is backwards compatible with older versions of SWIG.
+---
+ lldb/bindings/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lldb/bindings/CMakeLists.txt b/lldb/bindings/CMakeLists.txt
+index c8aa0bcf9681..aa4637101ad0 100644
+--- a/lldb/bindings/CMakeLists.txt
++++ b/lldb/bindings/CMakeLists.txt
+@@ -26,8 +26,8 @@ set(SWIG_COMMON_FLAGS
+ -features autodoc
+ -I${LLDB_SOURCE_DIR}/include
+ -I${CMAKE_CURRENT_SOURCE_DIR}
+- -D__STDC_LIMIT_MACROS
+- -D__STDC_CONSTANT_MACROS
++ -D__STDC_LIMIT_MACROS=
++ -D__STDC_CONSTANT_MACROS=
+ ${DARWIN_EXTRAS}
+ )
+
+--
+2.37.3
+
+From ae33ebc5bbb005281778d44fedcb817c9090ebc4 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Wed, 21 Sep 2022 11:42:46 +0200
+Subject: [PATCH] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0
+
+Fix the failure caused by change in SwigValueWraper for C++11 and later
+for improved move semantics in SWIG commit.
+
+https://github.com/swig/swig/commit/d1055f4b3d51cb8060893f8036846ac743302dab
+---
+ lldb/bindings/python/python-typemaps.swig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig
+index 203be803d2eb..11f68d59ae7b 100644
+--- a/lldb/bindings/python/python-typemaps.swig
++++ b/lldb/bindings/python/python-typemaps.swig
+@@ -435,7 +435,7 @@ template <> bool SetNumberFromPyObject<double>(double &number, PyObject *obj) {
+
+ %typemap(out) lldb::FileSP {
+ $result = nullptr;
+- lldb::FileSP &sp = $1;
++ const lldb::FileSP &sp = $1;
+ if (sp) {
+ PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp));
+ if (!pyfile.IsValid())
+--
+2.37.3
+
+
diff --git a/srcpkgs/llvm14/template b/srcpkgs/llvm14/template
new file mode 100644
index 00000000000000..df1c4f2bfae1eb
--- /dev/null
+++ b/srcpkgs/llvm14/template
@@ -0,0 +1,365 @@
+# Template file for 'llvm14'
+pkgname=llvm14
+version=14.0.6
+revision=1
+archs="x86_64*"
+build_wrksrc=llvm
+build_style=cmake
+_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
+configure_args="
+ -DCMAKE_BUILD_TYPE=Release -Wno-dev
+ -DENABLE_LINKER_BUILD_ID=YES
+ -DLLDB_USE_SYSTEM_SIX=YES
+ -DSPHINX_WARNINGS_AS_ERRORS=NO
+ -DLLVM_INSTALL_UTILS=YES
+ -DLLVM_BUILD_LLVM_DYLIB=YES
+ -DLLVM_LINK_LLVM_DYLIB=YES
+ -DLLVM_ENABLE_RTTI=YES
+ -DLLVM_ENABLE_FFI=YES
+ -DLLVM_BINUTILS_INCDIR=/usr/include
+ -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=NO
+ -DLLDB_PYTHON_RELATIVE_PATH=lib/python${py3_ver}/site-packages
+ -DLLDB_PYTHON_EXE_RELATIVE_PATH=bin/python${py3_ver}
+ -DLLDB_PYTHON_EXT_SUFFIX=$_ext_suffix"
+hostmakedepends="perl python3 zlib-devel libffi-devel swig"
+makedepends="python3-devel zlib-devel elfutils-devel libffi-devel libedit-devel
+ libxml2-devel binutils-devel"
+depends="libllvm14>=${version}_${revision}"
+short_desc="LLVM Compiler Infrastructure Project - Version 14"
+maintainer="Zlice <zlice555@gmail.com>"
+license="Apache-2.0"
+homepage="https://www.llvm.org"
+distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz"
+checksum=8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a
+lib32disabled=yes
+python_version=3
+
+conflicts="llvm17"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ configure_args+=" -DLIBCXX_HAS_MUSL_LIBC=YES
+ -DCOMPILER_RT_BUILD_GWP_ASAN=OFF"
+fi
+
+# "operand out of range" assembler failures
+case "$XBPS_TARGET_MACHINE" in
+ ppc64*) ;;
+ ppc*) configure_args+=" -DCLANG_ENABLE_CLANGD=OFF" ;;
+esac
+
+_enabled_projects="clang;clang-tools-extra;compiler-rt;lld"
+
+_lldb_enable=yes
+
+case "$XBPS_TARGET_MACHINE" in
+ ppc64le*) ;;
+ ppc*|i686*|riscv64*) _lldb_enable=no ;;
+esac
+
+
+subpackages="clang-tools-extra14 clang14 clang-analyzer14 libclang14 libclang-cpp14
+ libllvm14 llvm14-devel"
+
+if [ "$_lldb_enable" = "yes" ]; then
+ # XXX fails to cross compile due to python
+ _enabled_projects+=";lldb"
+ subpackages+=" lldb14 lldb14-devel"
+fi
+
+subpackages+=" lld14 lld14-devel"
+
+configure_args+=" -DLLVM_ENABLE_PROJECTS=${_enabled_projects}"
+
+post_patch() {
+ if [ "$_lldb_enable" = "yes" ]; then
+ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ vsed -i 's|__ptrace_request|int|g' \
+ ${wrksrc}/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+ fi
+ fi
+
+ # update config.guess for better platform detection
+ cp $XBPS_COMMONDIR/environment/configure/automake/config.guess \
+ ${wrksrc}/llvm/cmake
+}
+
+pre_configure() {
+ local triplet
+
+ # Vastly reduce size of debugging symbols:
+ CFLAGS=${CFLAGS/ -g/ -g1}
+ CXXFLAGS=${CXXFLAGS/ -g/ -g1}
+
+ # since gcc9, the build likes to blow up for ppc32 apparently because
+ # of clang being too large for a 24-bit relative call to the PLT, so
+ # optimize for size instead
+ case "$XBPS_TARGET_MACHINE" in
+ ppc64*) ;;
+ mips*-musl|ppc*) configure_args+=" -DVOID_CXX_OPT_FLAGS=-Os" ;;
+ armv*) configure_args+=" -DVOID_GCC_BUG_109180_WORKAROUND=ON" ;;
+ esac
+
+ if [ "$CROSS_BUILD" ]; then
+ msg_normal "Building host tblgen\n"
+ mkdir -p build/HOST
+ cd build/HOST
+ CC="$BUILD_CC" CXX="$BUILD_CXX" CFLAGS="$BUILD_CFLAGS" \
+ CXXFLAGS="$BUILD_CXXFLAGS" LDFLAGS="$BUILD_LDFLAGS" \
+ cmake ../.. -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_ENABLE_PROJECTS=${_enabled_projects}
+ make ${makejobs} -C utils/TableGen
+ make ${makejobs} -C tools/clang/utils/TableGen
+ make ${makejobs} -C tools/clang/tools/extra/clang-tidy/misc/ConfusableTable
+ make ${makejobs} -C tools/clang/tools/extra/pseudo/gen
+ [ "$_lldb_enable" = "yes" ] && make ${makejobs} -C tools/lldb/utils/TableGen
+ configure_args+=" -DLLVM_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/llvm-tblgen"
+ configure_args+=" -DCLANG_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/clang-tblgen"
+ configure_args+=" -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=${wrksrc}/llvm/build/HOST/bin/clang-tidy-confusable-chars-gen"
+ configure_args+=" -DCLANG_PSEUDO_GEN=${wrksrc}/llvm/build/HOST/bin/clang-pseudo-gen"
+ [ "$_lldb_enable" = "yes" ] && configure_args+=" -DLLDB_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/lldb-tblgen"
+ cd ../..
+ fi
+
+ case "$XBPS_TARGET_MACHINE" in
+ arm*-musl|i686-musl)
+ # sanitizer code is broken since it duplicates some libc bits
+ configure_args+=" -DCOMPILER_RT_BUILD_SANITIZERS=OFF"
+ ;;
+ esac
+
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) _arch="X86";;
+ x86_64*) _arch="X86";;
+ armv5*) _arch="Armv5te";;
+ armv6*) _arch="Armv6";;
+ armv7*) _arch="Armv7";;
+ aarch64*) _arch="AArch64";;
+ mips*) _arch="Mips";;
+ ppc*) _arch="PowerPC";;
+ riscv64*) _arch="RISCV64";;
+ esac
+
+ triplet=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}
+
+ configure_args+=" -DLLVM_TARGET_ARCH=${_arch}"
+ configure_args+=" -DLLVM_HOST_TRIPLE=${triplet}"
+ configure_args+=" -DLLVM_DEFAULT_TARGET_TRIPLE=${triplet}"
+}
+
+do_install() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=${DESTDIR}/usr -P cmake_install.cmake
+
+ # Required for multilib.
+ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+ for _header in llvm-config; do
+ mv ${DESTDIR}/usr/include/llvm/Config/${_header}{,-64}.h
+ vinstall ${FILESDIR}/llvm-Config-${_header}.h 644 \
+ usr/include/llvm/Config ${_header}.h
+ done
+ fi
+
+ # Remove llvm-config-host in cross builds.
+ if [ "$CROSS_BUILD" ]; then
+ rm -f ${DESTDIR}/usr/bin/llvm-config-host
+ fi
+}
+
+clang-analyzer14_package() {
+ pycompile_dirs="usr/share/scan-view"
+ depends="clang14-${version}_${revision} python3 perl"
+ short_desc+=" - A source code analysis framework"
+ homepage="https://clang-analyzer.llvm.org/"
+ conflicts="clang-analyzer17"
+ pkg_install() {
+ vmove "usr/bin/scan-*"
+ vmove "usr/libexec/*analyzer"
+ vmove "usr/share/scan-*"
+ vmove usr/share/man/man1/scan-build.1
+ }
+}
+
+clang-tools-extra14_package() {
+ lib32disabled=yes
+ depends="clang14-${version}_${revision} python3"
+ short_desc+=" - Extra Clang tools"
+ homepage="https://clang.llvm.org/extra/"
+ conflicts="clang-tools-extra17"
+ pkg_install() {
+ vmove usr/bin/clang-apply-replacements
+ vmove usr/bin/clang-change-namespace
+ vmove usr/bin/clang-doc
+ vmove usr/bin/clang-include-fixer
+ vmove usr/bin/clang-move
+ vmove usr/bin/clang-query
+ vmove usr/bin/clang-reorder-fields
+ vmove usr/bin/clang-tidy
+ vmove usr/bin/clangd
+ vmove usr/bin/find-all-symbols
+ vmove usr/bin/hmaptool
+ vmove usr/bin/modularize
+ vmove usr/bin/pp-trace
+ vmove usr/include/clang-tidy
+ vmove "usr/lib/libclangApplyReplacements*"
+ vmove "usr/lib/libclangChangeNamespace*"
+ vmove "usr/lib/libclangDaemon*"
+ vmove "usr/lib/libclangDoc*"
+ vmove "usr/lib/libclangIncludeFixer*"
+ vmove "usr/lib/libclangMove*"
+ vmove "usr/lib/libclangReorderFields*"
+ vmove "usr/lib/libclangQuery*"
+ vmove "usr/lib/libclangTidy*"
+ vmove "usr/lib/libclangd*"
+ vmove "usr/lib/libfindAllSymbols*"
+ vmove "usr/share/clang/*find-all-symbols*"
+ vmove "usr/share/clang/*include-fixer*"
+ vmove "usr/share/clang/*tidy*"
+ }
+}
+
+clang14-devel_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ clang14>=${version}_${revision} clang-analyzer14>=${version}_${revision}
+ llvm14>=${version}_${revision}"
+ if [ "$build_option_clang_tools_extra" ]; then
+ depends+=" clang-tools-extra14>=${version}_${revision}"
+ fi
+ short_desc+=" - C language family frontend - development Files"
+ homepage="https://clang.llvm.org/"
+ pkg_install() {
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/libear
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ vmove usr/bin/hmaptool
+ vmove usr/bin/git-clang-format
+ if [ "$build_option_clang_tools_extra" ]; then
+ vmove usr/include/clang-tidy
+ vmove usr/lib/libfindAllSymbols.a
+ fi
+ if [ "$build_option_polly" ]; then
+ vmove usr/include/polly
+ vmove usr/lib/cmake/polly
+ vmove "usr/lib/libPolly*.a"
+ fi
+ }
+}
+
+clang14_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ libclang14-${version}_${revision}"
+ short_desc+=" - C language family frontend"
+ homepage="https://clang.llvm.org/"
+ conflicts="clang17"
+ pkg_install() {
+ vmove "usr/bin/*clang*"
+ vmove usr/bin/c-index-test
+ vmove usr/bin/diagtool
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/clang
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ }
+}
+
+libclang14_package() {
+ short_desc+=" - C frontend runtime library"
+ pkg_install() {
+ vmove "usr/lib/libclang.so.*"
+ }
+}
+
+libclang-cpp14_package() {
+ short_desc+=" - C frontend runtime library (C++ interface)"
+ pkg_install() {
+ vmove "usr/lib/libclang-cpp.so.*"
+ }
+}
+
+lld14_package() {
+ lib32disabled=yes
+ short_desc+=" - linker"
+ homepage="https://lld.llvm.org"
+ conflicts="lld17"
+ pkg_install() {
+ vmove "usr/bin/ld.lld*"
+ vmove "usr/bin/ld64.lld*"
+ vmove "usr/bin/lld*"
+ vmove usr/bin/wasm-ld
+ }
+}
+
+lld14-devel_package() {
+ lib32disabled=yes
+ short_desc+=" - linker - development files"
+ homepage="https://lld.llvm.org"
+ depends="lld14>=${version}_${revision}"
+ conflicts="lld17-devel"
+ pkg_install() {
+ vmove usr/include/lld
+ vmove usr/lib/cmake/lld
+ vmove "usr/lib/liblld*a"
+ }
+}
+
+lldb14_package() {
+ lib32disabled=yes
+ depends+=" python3-six"
+ short_desc+=" - LLDB debugger"
+ homepage="https://lldb.llvm.org/"
+ conflicts="lldb17"
+ pkg_install() {
+ vmove "usr/bin/*lldb*"
+ vmove "usr/lib/liblldb*so.*"
+ vmove usr/lib/python*
+ }
+}
+
+lldb14-devel_package() {
+ lib32disabled=yes
+ depends="lldb14>=${version}_${revision}"
+ short_desc+=" - LLDB debugger - development files"
+ conflicts="lldb17-devel"
+ pkg_install() {
+ vmove usr/include/lldb
+ vmove "usr/lib/liblldb*.so"
+ }
+}
+
+llvm14-devel_package() {
+ short_desc+=" - development files"
+ depends="llvm14>=${version}_${revision}"
+ if [ "$build_option_openmp" ]; then
+ depends+=" libomp-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_mlir" ]; then
+ depends+=" mlir17-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_clang" ]; then
+ depends+=" clang14-devel>=${version}_${revision} "
+ fi
+ pkg_install() {
+ vmove usr/lib/libLLVM.so
+ vmove usr/lib/libLTO.so
+ vmove usr/lib/libRemarks.so
+ vmove usr/include/llvm
+ vmove usr/include/llvm-c
+ vmove "usr/lib/libLLVM*.a"
+ vmove usr/lib/cmake/llvm
+ }
+}
+
+libllvm14_package() {
+ short_desc+=" - runtime library"
+ pkg_install() {
+ vmove "usr/lib/libLLVM-*.so*"
+ }
+}
diff --git a/srcpkgs/llvm14/update b/srcpkgs/llvm14/update
new file mode 100644
index 00000000000000..baa6a6b6acf9a7
--- /dev/null
+++ b/srcpkgs/llvm14/update
@@ -0,0 +1,3 @@
+site="https://github.com/llvm/llvm-project/releases"
+pattern="llvmorg-\K(15)\.(\d+)\.+\d+(-rc\d+)?"
+ignore="*-rc*"
From ab2123e39e2a7e0341ab21186f94e55a27ad486a Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 7 Jul 2024 17:17:13 -0400
Subject: [PATCH 02/11] New package: SPIRV-LLVM-Translator14-14.0.0_1
---
common/shlibs | 1 +
srcpkgs/SPIRV-LLVM-Translator14-devel | 1 +
srcpkgs/SPIRV-LLVM-Translator14/template | 33 ++++++++++++++++++++++++
3 files changed, 35 insertions(+)
create mode 120000 srcpkgs/SPIRV-LLVM-Translator14-devel
create mode 100644 srcpkgs/SPIRV-LLVM-Translator14/template
diff --git a/common/shlibs b/common/shlibs
index dc8bd81880b5f6..0ed797ea2fe2a9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -990,6 +990,7 @@ libLLVM-12.so libllvm12-12.0.0_1
libLLVM-14.so libllvm14-14.0.6_1
libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
+libLLVMSPIRVLib.so.14 SPIRV-LLVM-Translator14-14.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.18.1 libomp-18.1.8_1
diff --git a/srcpkgs/SPIRV-LLVM-Translator14-devel b/srcpkgs/SPIRV-LLVM-Translator14-devel
new file mode 120000
index 00000000000000..d3b93d8ee52900
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator14-devel
@@ -0,0 +1 @@
+SPIRV-LLVM-Translator14
\ No newline at end of file
diff --git a/srcpkgs/SPIRV-LLVM-Translator14/template b/srcpkgs/SPIRV-LLVM-Translator14/template
new file mode 100644
index 00000000000000..05b3e4190f7d60
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator14/template
@@ -0,0 +1,33 @@
+# Template file for 'SPIRV-LLVM-Translator14'
+pkgname=SPIRV-LLVM-Translator14
+version=14.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+make_build_args="llvm-spirv"
+configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
+ -DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
+ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
+hostmakedepends="clang14 llvm14"
+makedepends="clang-tools-extra14 llvm14-devel SPIRV-Headers"
+short_desc="API and commands for processing SPIR-V modules"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="NCSA"
+homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
+checksum=1afc52bb4e39aeb9b5b69324a201c81bd986364f347b559995eff6fd6f013318
+
+post_install() {
+ vlicense LICENSE.TXT
+ vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
+}
+
+SPIRV-LLVM-Translator14-devel_package() {
+ depends="SPIRV-LLVM-Translator14-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 98392befe78e226d9701a1a2606aae5dcbab19f3 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 03/11] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 20dcd04f5f4976..1c78134cfc5a9f 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="pkg-config"
makedepends="libva-devel libX11-devel"
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
From ff29456cd477004dd6e8e7054351b8beabcf4198 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 1 Jun 2024 14:04:38 -0400
Subject: [PATCH 04/11] obs: revbump for oneVPL-2023.4.0
---
srcpkgs/obs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index feb9649977a8d4..0888fb3aaaccfe 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -1,7 +1,7 @@
# Template file for 'obs'
pkgname=obs
version=30.1.1
-revision=1
+revision=2
archs="i686* x86_64* ppc64le* aarch64* riscv64*"
build_style=cmake
configure_args="-DOBS_VERSION_OVERRIDE=${version} -DENABLE_JACK=ON
From 58fded9246f2b43bc478de32c7de383d1d49ccce Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 05/11] New package: intel-vc-intrinsics-0.18.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 00000000000000..88641d30b5c032
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm14-devel clang14 clang-tools-extra14"
+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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From 244d4899ef7587d06e5cb6efcb97695add1e133a Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 06/11] New package: intel-opencl-clang-14.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 0ed797ea2fe2a9..1360c1b9efef34 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -992,6 +992,7 @@ libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.14 SPIRV-LLVM-Translator14-14.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
+libopencl-clang.so.14 intel-opencl-clang-14.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.18.1 libomp-18.1.8_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..92d76ca4cdef5d
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=14.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=14.0.6"
+hostmakedepends="cmake"
+makedepends="llvm14-devel clang14 clang-tools-extra14 SPIRV-LLVM-Translator14-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=ea767bdd6d631c7b23c13f7f697d457e0f514a418b0ab5a3fe0206371a0f84df
+
+post_install() {
+ vlicense LICENSE
+}
From d53087072507692acf9900ae4e817759d46047b7 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 07/11] New package: intel-graphics-compile-1.0.16900.23
---
srcpkgs/intel-graphics-compiler/template | 24 ++++++++++++++++++++++++
1 file changed, 24 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 00000000000000..72e74de8a3b4f9
--- /dev/null
+++ b/srcpkgs/intel-graphics-compiler/template
@@ -0,0 +1,24 @@
+# Template file for 'intel-graphics-compiler'
+pkgname=intel-graphics-compiler
+version=1.0.16900.23
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DIGC_OPTION__LLVM_PREFERRED_VERSION=14.0.6 -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="llvm14-devel clang14 clang-tools-extra14 intel-opencl-clang intel-vc-intrinsics
+ lld14 lld14-devel SPIRV-Headers SPIRV-LLVM-Translator14-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=bf5ec8aedd2e19a2e6502b18f886a88c87cf95f3d33299eda471044d0d67d3b2
+# musl: build generated ze???_int32_t types (e.g. zeinfo_int32_t)
+CXXFLAGS="-include cstdint"
+
+post_install() {
+ vlicense LICENSE.md
+}
From 51009e124eae70a3c745dc46e8f1eaf852ee261e Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
Subject: [PATCH 08/11] New package: intel-metrics-discovery-1.12.171
---
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 00000000000000..f436529190f1b5
--- /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.171
+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=6c8610b6902922e4683067760980cfa9b13f4c57ca7013bf14cf8db00341b5dd
+
+post_install() {
+ vlicense LICENSE.md
+}
From abfd48f9527e553301fadf3737bc306871a8535e Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
Subject: [PATCH 09/11] New package: intel-metrics-library-1.0.161
---
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 00000000000000..8b9e104d759d76
--- /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.161
+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=5e8ea2b32cda4b9aab2f034b3862a30b7cb130b3eacfa55b67d37fc106350163
+
+post_install() {
+ vlicense LICENSE.md
+}
From 7eb00c3581df502d72e9e9ca5ca9e12b62d46155 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
Subject: [PATCH 10/11] New package: level-zero-1.17.0
---
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..d7120705a995d8
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.17.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake git"
+makedepends="llvm14-devel clang14 clang-tools-extra14 SPIRV-LLVM-Translator14-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=edf820eab84a5f746fee730604f0381c8811f7942302c0835226715e5ae93a25
+
+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 74784db341d864a622705b74ab9d06ca92c4ae98 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 11/11] New package: intel-compute-runtime-24.22.29735.20
---
.../intel-compute-runtime/patches/ctime.patch | 16 +++
.../intel-compute-runtime/patches/musl.patch | 98 +++++++++++++++++++
srcpkgs/intel-compute-runtime/template | 22 +++++
3 files changed, 136 insertions(+)
create mode 100644 srcpkgs/intel-compute-runtime/patches/ctime.patch
create mode 100644 srcpkgs/intel-compute-runtime/patches/musl.patch
create mode 100644 srcpkgs/intel-compute-runtime/template
diff --git a/srcpkgs/intel-compute-runtime/patches/ctime.patch b/srcpkgs/intel-compute-runtime/patches/ctime.patch
new file mode 100644
index 00000000000000..707f800d65f5a9
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/patches/ctime.patch
@@ -0,0 +1,16 @@
+--- a/shared/source/compiler_interface/os_compiler_cache_helper.h
++++ b/shared/source/compiler_interface/os_compiler_cache_helper.h
+@@ -7,10 +7,11 @@
+
+ #pragma once
+ #include <string>
++#include <ctime>
+
+ namespace NEO {
+ class EnvironmentVariableReader;
+ bool checkDefaultCacheDirSettings(std::string &cacheDir, NEO::EnvironmentVariableReader &reader);
+ time_t getFileModificationTime(const std::string &path);
+ size_t getFileSize(const std::string &path);
+-} // namespace NEO
+\ No newline at end of file
++} // namespace NEO
diff --git a/srcpkgs/intel-compute-runtime/patches/musl.patch b/srcpkgs/intel-compute-runtime/patches/musl.patch
new file mode 100644
index 00000000000000..9aae4e5475e293
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/patches/musl.patch
@@ -0,0 +1,98 @@
+--- a/shared/source/os_interface/linux/os_library_linux.cpp
++++ b/shared/source/os_interface/linux/os_library_linux.cpp
+@@ -42,8 +42,10 @@
+ } else {
+ #if defined(SANITIZER_BUILD)
+ auto dlopenFlag = RTLD_LAZY;
+-#else
++#elif defined(__GLIBC__)
+ auto dlopenFlag = RTLD_LAZY | RTLD_DEEPBIND;
++#else
++ auto dlopenFlag = RTLD_LAZY | RTLD_GLOBAL;
+ /* Background: https://github.com/intel/compute-runtime/issues/122 */
+ #endif
+ adjustLibraryFlags(dlopenFlag);
+
+--- a/shared/offline_compiler/source/utilities/linux/safety_guard_linux.h
++++ b/shared/offline_compiler/source/utilities/linux/safety_guard_linux.h
+@@ -10,7 +10,9 @@
+
+ #include <cstdio>
+ #include <cstdlib>
++#ifdef __GLIBC__
+ #include <execinfo.h>
++#endif
+ #include <setjmp.h>
+ #include <signal.h>
+
+@@ -39,6 +39,7 @@
+ }
+
+ static void sigAction(int sigNum, siginfo_t *info, void *ucontext) {
++#ifdef __GLIBC__
+ const int callstackDepth = 30;
+ void *addresses[callstackDepth];
+ char **callstack;
+@@ -52,6 +53,9 @@
+ }
+
+ free(callstack);
++#else
++ printf("ERROR: MUSL HAS NO BACKTRACE() or execinfo!\n");
++#endif
+ longjmp(jmpbuf, 1);
+ }
+
+# https://github.com/intel/compute-runtime/issues/265#issuecomment-594581483
+--- a/shared/source/os_interface/linux/os_library_helper.cpp
++++ b/shared/source/os_interface/linux/os_library_helper.cpp
+@@ -14,7 +14,11 @@
+ namespace Linux {
+ void adjustLibraryFlags(int &dlopenFlag) {
+ if (debugManager.flags.DisableDeepBind.get()) {
++#ifdef __GLIBC__
+ dlopenFlag &= ~RTLD_DEEPBIND;
++#else
++ dlopenFlag &= ~RTLD_GLOBAL;
++#endif
+ }
+ }
+ } // namespace Linux
+--- a/level_zero/sysman/source/shared/linux/udev/udev_lib.h
++++ b/level_zero/sysman/source/shared/linux/udev/udev_lib.h
+@@ -9,6 +9,9 @@
+
+ #include <string>
+ #include <vector>
++#ifndef __dev_t_defined
++#include <sys/types.h>
++#endif /* __dev_t_defined */
+
+ namespace L0 {
+ namespace Sysman {
+
+--- a/level_zero/tools/source/sysman/linux/udev/udev_lib.h
++++ b/level_zero/tools/source/sysman/linux/udev/udev_lib.h
+@@ -9,6 +9,9 @@
+
+ #include <string>
+ #include <vector>
++#ifndef __dev_t_defined
++#include <sys/types.h>
++#endif /* __dev_t_defined */
+
+ namespace L0 {
+ class UdevLib {
+
+--- a/level_zero/sysman/source/shared/linux/sysman_fs_access_interface.cpp
++++ b/level_zero/sysman/source/shared/linux/sysman_fs_access_interface.cpp
+@@ -12,6 +12,9 @@
+ #include <fstream>
+ #include <sstream>
+ #include <unistd.h>
++#ifndef __GLIBC__
++#include <limits.h> // PATH_MAX
++#endif
+
+ namespace L0 {
+ namespace Sysman {
diff --git a/srcpkgs/intel-compute-runtime/template b/srcpkgs/intel-compute-runtime/template
new file mode 100644
index 00000000000000..2ad3687edcbb0b
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=24.22.29735.20
+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="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=010c9c8dd7d4ad42531c868760d1d36f1dd8bafdb21747cd94dc3e50c1bb6472
+
+post_install() {
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] [ready] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (45 preceding siblings ...)
2024-07-07 21:26 ` [PR PATCH] [Updated] " zlice
@ 2024-07-14 13:25 ` zlice
2024-07-31 16:57 ` Calandracas606
` (5 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-07-14 13:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1564 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
[ready] 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.~~
`level-zero` uses git to pull `spdlog`(1.13.0). Void does not have a 'spdlog-devel' but it could probably be added.
#### Update (ready)
Added llvm14 with the SWIG patches and musl builds (with a few more patches)
llvm 14 has a shlib of `libclang.so.13 libclang14-14.0.6_1` for some reason, it works, it should only be for these packages on x86_64+musl
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: 48867 bytes --]
From 081aa0b2868ab45882e85407425937f1fbeb24c2 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 7 Jul 2024 17:16:45 -0400
Subject: [PATCH 01/11] New package: llvm14-14.0.6
---
common/shlibs | 8 +-
srcpkgs/clang-analyzer14 | 1 +
| 1 +
srcpkgs/clang14 | 1 +
srcpkgs/libclang-cpp14 | 1 +
srcpkgs/libclang14 | 1 +
srcpkgs/libllvm14 | 1 +
srcpkgs/lld14 | 1 +
srcpkgs/lld14-devel | 1 +
srcpkgs/lldb14 | 1 +
srcpkgs/lldb14-devel | 1 +
srcpkgs/llvm14-devel | 1 +
.../llvm14/files/llvm-Config-llvm-config.h | 9 +
.../patches/clang-002-add-musl-triples.patch | 115 ++++++
srcpkgs/llvm14/patches/libcxx-musl.patch | 26 ++
srcpkgs/llvm14/patches/llvm-001-musl.patch | 44 +++
srcpkgs/llvm14/patches/swig.patch | 72 ++++
srcpkgs/llvm14/template | 365 ++++++++++++++++++
srcpkgs/llvm14/update | 3 +
19 files changed, 649 insertions(+), 4 deletions(-)
create mode 120000 srcpkgs/clang-analyzer14
create mode 120000 srcpkgs/clang-tools-extra14
create mode 120000 srcpkgs/clang14
create mode 120000 srcpkgs/libclang-cpp14
create mode 120000 srcpkgs/libclang14
create mode 120000 srcpkgs/libllvm14
create mode 120000 srcpkgs/lld14
create mode 120000 srcpkgs/lld14-devel
create mode 120000 srcpkgs/lldb14
create mode 120000 srcpkgs/lldb14-devel
create mode 120000 srcpkgs/llvm14-devel
create mode 100644 srcpkgs/llvm14/files/llvm-Config-llvm-config.h
create mode 100644 srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
create mode 100644 srcpkgs/llvm14/patches/libcxx-musl.patch
create mode 100644 srcpkgs/llvm14/patches/llvm-001-musl.patch
create mode 100644 srcpkgs/llvm14/patches/swig.patch
create mode 100644 srcpkgs/llvm14/template
create mode 100644 srcpkgs/llvm14/update
diff --git a/common/shlibs b/common/shlibs
index 4131964398e40f..f2bc5f8eec2ca8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -978,16 +978,16 @@ libyajl.so.2 yajl-2.0.1_1
libconfuse.so.2 confuse-3.2.1_1
liblldb.so.18.1 liblldb18-18.1.8_1
liblldb.so.17 liblldb17-17.0.6_3
-liblldb.so.15 lldb15-15.0.7_4
+liblldb.so.14 lldb14-14.0.6_1
libclang.so.18.1 libclang18-18.1.8_1
libclang.so.17 libclang17-17.0.6_1
-libclang.so.15 libclang15-15.0.7_4
+libclang.so.13 libclang14-14.0.6_1
libclang-cpp.so.18.1 libclang-cpp18-18.1.8_1
libclang-cpp.so.17 libclang-cpp17-17.0.6_1
-libclang-cpp.so.15 libclang-cpp15-15.0.7_4
+libclang-cpp.so.14 libclang-cpp14-14.0.6_1
libLLVM-11.so libllvm11-11.0.0_1
libLLVM-12.so libllvm12-12.0.0_1
-libLLVM-15.so libllvm15-15.0.7_4
+libLLVM-14.so libllvm14-14.0.6_1
libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.18.1 SPIRV-LLVM-Translator-18.1.2_1
diff --git a/srcpkgs/clang-analyzer14 b/srcpkgs/clang-analyzer14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang-analyzer14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
--git a/srcpkgs/clang-tools-extra14 b/srcpkgs/clang-tools-extra14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang-tools-extra14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/clang14 b/srcpkgs/clang14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libclang-cpp14 b/srcpkgs/libclang-cpp14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libclang-cpp14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libclang14 b/srcpkgs/libclang14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libclang14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libllvm14 b/srcpkgs/libllvm14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libllvm14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lld14 b/srcpkgs/lld14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lld14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lld14-devel b/srcpkgs/lld14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lld14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lldb14 b/srcpkgs/lldb14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lldb14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lldb14-devel b/srcpkgs/lldb14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lldb14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/llvm14-devel b/srcpkgs/llvm14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/llvm14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/llvm14/files/llvm-Config-llvm-config.h b/srcpkgs/llvm14/files/llvm-Config-llvm-config.h
new file mode 100644
index 00000000000000..2fa08c9be69621
--- /dev/null
+++ b/srcpkgs/llvm14/files/llvm-Config-llvm-config.h
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "llvm-config-32.h"
+#elif __WORDSIZE == 64
+#include "llvm-config-64.h"
+#else
+#error "Unknown word size"
+#endif
diff --git a/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch b/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
new file mode 100644
index 00000000000000..0ef4c7e75d6b58
--- /dev/null
+++ b/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
@@ -0,0 +1,115 @@
+--- a/clang/lib/Driver/ToolChains/Gnu.cpp
++++ b/clang/lib/Driver/ToolChains/Gnu.cpp
+@@ -2086,7 +2086,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf",
+ "armv7hl-redhat-linux-gnueabi",
+ "armv6hl-suse-linux-gnueabi",
+- "armv7hl-suse-linux-gnueabi"};
++ "armv7hl-suse-linux-gnueabi",
++ "armv7l-linux-gnueabihf"};
+ static const char *const ARMebLibDirs[] = {"/lib"};
+ static const char *const ARMebTriples[] = {"armeb-linux-gnueabi",
+ "armeb-linux-androideabi"};
+@@ -2153,8 +2154,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ "powerpc64-suse-linux", "powerpc-montavista-linuxspe"};
+ static const char *const PPCLELibDirs[] = {"/lib32", "/lib"};
+ static const char *const PPCLETriples[] = {"powerpcle-linux-gnu",
+- "powerpcle-unknown-linux-gnu",
+- "powerpcle-linux-musl"};
++ "powerpcle-unknown-linux-gnu"};
+
+ static const char *const PPC64LibDirs[] = {"/lib64", "/lib"};
+ static const char *const PPC64Triples[] = {
+@@ -2235,6 +2235,92 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ return;
+ }
+
++ if (TargetTriple.isMusl()) {
++ static const char *const AArch64MuslTriples[] = {"aarch64-linux-musl"};
++ static const char *const ARMHFMuslTriples[] = {
++ "arm-linux-musleabihf", "armv7l-linux-musleabihf"
++ };
++ static const char *const ARMMuslTriples[] = {"arm-linux-musleabi"};
++ static const char *const X86_64MuslTriples[] = {"x86_64-linux-musl"};
++ static const char *const X86MuslTriples[] = {"i686-linux-musl"};
++ static const char *const MIPSMuslTriples[] = {
++ "mips-linux-musl", "mipsel-linux-musl",
++ "mipsel-linux-muslhf", "mips-linux-muslhf"
++ };
++ static const char *const PPCMuslTriples[] = {"powerpc-linux-musl"};
++ static const char *const PPCLEMuslTriples[] = {"powerpcle-linux-musl"};
++ static const char *const PPC64MuslTriples[] = {"powerpc64-linux-musl"};
++ static const char *const PPC64LEMuslTriples[] = {"powerpc64le-linux-musl"};
++ static const char *const RISCV64MuslTriples[] = {"riscv64-linux-musl"};
++
++ switch (TargetTriple.getArch()) {
++ case llvm::Triple::aarch64:
++ LibDirs.append(begin(AArch64LibDirs), end(AArch64LibDirs));
++ TripleAliases.append(begin(AArch64MuslTriples), end(AArch64MuslTriples));
++ BiarchLibDirs.append(begin(AArch64LibDirs), end(AArch64LibDirs));
++ BiarchTripleAliases.append(begin(AArch64MuslTriples), end(AArch64MuslTriples));
++ break;
++ case llvm::Triple::arm:
++ LibDirs.append(begin(ARMLibDirs), end(ARMLibDirs));
++ if (TargetTriple.getEnvironment() == llvm::Triple::MuslEABIHF) {
++ TripleAliases.append(begin(ARMHFMuslTriples), end(ARMHFMuslTriples));
++ } else {
++ TripleAliases.append(begin(ARMMuslTriples), end(ARMMuslTriples));
++ }
++ break;
++ case llvm::Triple::x86_64:
++ LibDirs.append(begin(X86_64LibDirs), end(X86_64LibDirs));
++ TripleAliases.append(begin(X86_64MuslTriples), end(X86_64MuslTriples));
++ BiarchLibDirs.append(begin(X86LibDirs), end(X86LibDirs));
++ BiarchTripleAliases.append(begin(X86MuslTriples), end(X86MuslTriples));
++ break;
++ case llvm::Triple::x86:
++ LibDirs.append(begin(X86LibDirs), end(X86LibDirs));
++ TripleAliases.append(begin(X86MuslTriples), end(X86MuslTriples));
++ BiarchLibDirs.append(begin(X86_64LibDirs), end(X86_64LibDirs));
++ BiarchTripleAliases.append(begin(X86_64MuslTriples), end(X86_64MuslTriples));
++ break;
++ case llvm::Triple::mips:
++ LibDirs.append(begin(MIPSLibDirs), end(MIPSLibDirs));
++ TripleAliases.append(begin(MIPSMuslTriples), end(MIPSMuslTriples));
++ break;
++ case llvm::Triple::ppc:
++ LibDirs.append(begin(PPCLibDirs), end(PPCLibDirs));
++ TripleAliases.append(begin(PPCMuslTriples), end(PPCMuslTriples));
++ BiarchLibDirs.append(begin(PPC64LibDirs), end(PPC64LibDirs));
++ BiarchTripleAliases.append(begin(PPC64MuslTriples), end(PPC64MuslTriples));
++ break;
++ case llvm::Triple::ppcle:
++ LibDirs.append(begin(PPCLELibDirs), end(PPCLELibDirs));
++ TripleAliases.append(begin(PPCLEMuslTriples), end(PPCLEMuslTriples));
++ BiarchLibDirs.append(begin(PPC64LELibDirs), end(PPC64LELibDirs));
++ BiarchTripleAliases.append(begin(PPC64LEMuslTriples), end(PPC64LEMuslTriples));
++ break;
++ case llvm::Triple::ppc64:
++ LibDirs.append(begin(PPC64LibDirs), end(PPC64LibDirs));
++ TripleAliases.append(begin(PPC64MuslTriples), end(PPC64MuslTriples));
++ BiarchLibDirs.append(begin(PPCLibDirs), end(PPCLibDirs));
++ BiarchTripleAliases.append(begin(PPCMuslTriples), end(PPCMuslTriples));
++ break;
++ case llvm::Triple::ppc64le:
++ LibDirs.append(begin(PPC64LELibDirs), end(PPC64LELibDirs));
++ TripleAliases.append(begin(PPC64LEMuslTriples), end(PPC64LEMuslTriples));
++ BiarchLibDirs.append(begin(PPCLELibDirs), end(PPCLELibDirs));
++ BiarchTripleAliases.append(begin(PPCLEMuslTriples), end(PPCLEMuslTriples));
++ break;
++ case llvm::Triple::riscv64:
++ LibDirs.append(begin(RISCV64LibDirs), end(RISCV64LibDirs));
++ TripleAliases.append(begin(RISCV64MuslTriples), end(RISCV64MuslTriples));
++ break;
++ default:
++ break;
++ }
++ TripleAliases.push_back(TargetTriple.str());
++ if (TargetTriple.str() != BiarchTriple.str())
++ BiarchTripleAliases.push_back(BiarchTriple.str());
++ return;
++ }
++
+ // Android targets should not use GNU/Linux tools or libraries.
+ if (TargetTriple.isAndroid()) {
+ static const char *const AArch64AndroidTriples[] = {
diff --git a/srcpkgs/llvm14/patches/libcxx-musl.patch b/srcpkgs/llvm14/patches/libcxx-musl.patch
new file mode 100644
index 00000000000000..d15e36fb687709
--- /dev/null
+++ b/srcpkgs/llvm14/patches/libcxx-musl.patch
@@ -0,0 +1,26 @@
+--- a/libcxx/include/locale
++++ b/libcxx/include/locale
+@@ -749,7 +749,11 @@
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
+ errno = 0;
+ char *__p2;
++#if defined(__linux__) && !defined(__GLIBC__)
++ long long __ll = strtoll(__a, &__p2, __base);
++#else
+ long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
++#endif
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
+ if (__current_errno == 0)
+ errno = __save_errno;
+@@ -793,7 +793,11 @@
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
+ errno = 0;
+ char *__p2;
++#if defined(__linux__) && !defined(__GLIBC__)
++ unsigned long long __ll = strtoull(__a, &__p2, __base);
++#else
+ unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
++#endif
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
+ if (__current_errno == 0)
+ errno = __save_errno;
diff --git a/srcpkgs/llvm14/patches/llvm-001-musl.patch b/srcpkgs/llvm14/patches/llvm-001-musl.patch
new file mode 100644
index 00000000000000..ad21b1c90e40f1
--- /dev/null
+++ b/srcpkgs/llvm14/patches/llvm-001-musl.patch
@@ -0,0 +1,44 @@
+From faca3fbd15d0c3108493c3c54cd93138e049ac43 Mon Sep 17 00:00:00 2001
+From: Andrea Brancaleoni <miwaxe@gmail.com>
+Date: Tue, 8 Sep 2015 22:03:02 +0200
+Subject: [PATCH 3/3] musl
+
+---
+ include/llvm/Analysis/TargetLibraryInfo.h | 9 +++++++++
+ lib/Support/DynamicLibrary.cpp | 2 +-
+ lib/Support/Unix/Signals.inc | 6 +++---
+ utils/unittest/googletest/src/gtest.cc | 1 +
+ 5 files changed, 17 insertions(+), 6 deletions(-)
+
+diff --git a/include/llvm/Analysis/TargetLibraryInfo.h b/include/llvm/Analysis/TargetLibraryInfo.h
+index 34a8a1e3..1214ece5 100644
+--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
++++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
+@@ -18,6 +18,15 @@
+ #include "llvm/IR/PassManager.h"
+ #include "llvm/Pass.h"
+
++#undef fopen64
++#undef fseeko64
++#undef fstat64
++#undef fstatvfs64
++#undef ftello64
++#undef lstat64
++#undef stat64
++#undef tmpfile64
++
+ namespace llvm {
+ template <typename T> class ArrayRef;
+ class Triple;
+diff --git a/utils/unittest/googletest/src/gtest.cc b/utils/unittest/googletest/src/gtest.cc
+index d882ab2e..f1fb12d0 100644
+--- a/llvm/utils/unittest/googletest/src/gtest.cc
++++ b/llvm/utils/unittest/googletest/src/gtest.cc
+@@ -128,6 +128,7 @@
+
+ #if GTEST_CAN_STREAM_RESULTS_
+ # include <arpa/inet.h> // NOLINT
++# include <sys/socket.h> // NOLINT
+ # include <netdb.h> // NOLINT
+ # include <sys/socket.h> // NOLINT
+ # include <sys/types.h> // NOLINT
diff --git a/srcpkgs/llvm14/patches/swig.patch b/srcpkgs/llvm14/patches/swig.patch
new file mode 100644
index 00000000000000..c92adf008f43dd
--- /dev/null
+++ b/srcpkgs/llvm14/patches/swig.patch
@@ -0,0 +1,72 @@
+From b6e705f628d6b4f29c45ec3f7c19b69d4ce6a3b0 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Wed, 21 Sep 2022 11:39:52 +0200
+Subject: [PATCH] Fixes for swig-4.1.0 macro definition correction
+
+For swig-4.1.0 change:
+
+ #2193 -DFOO on the SWIG command line now sets FOO to 1 for
+ consistency with C/C++ compiler preprocessors. Previously
+ SWIG set FOO to an empty value.
+
+ Existing invocations of SWIG with `-DFOO` where the empty value
+ matters can be updated to `-DFOO=` which should work with both
+ old and new releases of SWIG.
+
+ *** POTENTIAL INCOMPATIBILITY ***
+
+See https://github.com/swig/swig/issues/2193
+
+This patch is backwards compatible with older versions of SWIG.
+---
+ lldb/bindings/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lldb/bindings/CMakeLists.txt b/lldb/bindings/CMakeLists.txt
+index c8aa0bcf9681..aa4637101ad0 100644
+--- a/lldb/bindings/CMakeLists.txt
++++ b/lldb/bindings/CMakeLists.txt
+@@ -26,8 +26,8 @@ set(SWIG_COMMON_FLAGS
+ -features autodoc
+ -I${LLDB_SOURCE_DIR}/include
+ -I${CMAKE_CURRENT_SOURCE_DIR}
+- -D__STDC_LIMIT_MACROS
+- -D__STDC_CONSTANT_MACROS
++ -D__STDC_LIMIT_MACROS=
++ -D__STDC_CONSTANT_MACROS=
+ ${DARWIN_EXTRAS}
+ )
+
+--
+2.37.3
+
+From ae33ebc5bbb005281778d44fedcb817c9090ebc4 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Wed, 21 Sep 2022 11:42:46 +0200
+Subject: [PATCH] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0
+
+Fix the failure caused by change in SwigValueWraper for C++11 and later
+for improved move semantics in SWIG commit.
+
+https://github.com/swig/swig/commit/d1055f4b3d51cb8060893f8036846ac743302dab
+---
+ lldb/bindings/python/python-typemaps.swig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig
+index 203be803d2eb..11f68d59ae7b 100644
+--- a/lldb/bindings/python/python-typemaps.swig
++++ b/lldb/bindings/python/python-typemaps.swig
+@@ -435,7 +435,7 @@ template <> bool SetNumberFromPyObject<double>(double &number, PyObject *obj) {
+
+ %typemap(out) lldb::FileSP {
+ $result = nullptr;
+- lldb::FileSP &sp = $1;
++ const lldb::FileSP &sp = $1;
+ if (sp) {
+ PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp));
+ if (!pyfile.IsValid())
+--
+2.37.3
+
+
diff --git a/srcpkgs/llvm14/template b/srcpkgs/llvm14/template
new file mode 100644
index 00000000000000..df1c4f2bfae1eb
--- /dev/null
+++ b/srcpkgs/llvm14/template
@@ -0,0 +1,365 @@
+# Template file for 'llvm14'
+pkgname=llvm14
+version=14.0.6
+revision=1
+archs="x86_64*"
+build_wrksrc=llvm
+build_style=cmake
+_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
+configure_args="
+ -DCMAKE_BUILD_TYPE=Release -Wno-dev
+ -DENABLE_LINKER_BUILD_ID=YES
+ -DLLDB_USE_SYSTEM_SIX=YES
+ -DSPHINX_WARNINGS_AS_ERRORS=NO
+ -DLLVM_INSTALL_UTILS=YES
+ -DLLVM_BUILD_LLVM_DYLIB=YES
+ -DLLVM_LINK_LLVM_DYLIB=YES
+ -DLLVM_ENABLE_RTTI=YES
+ -DLLVM_ENABLE_FFI=YES
+ -DLLVM_BINUTILS_INCDIR=/usr/include
+ -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=NO
+ -DLLDB_PYTHON_RELATIVE_PATH=lib/python${py3_ver}/site-packages
+ -DLLDB_PYTHON_EXE_RELATIVE_PATH=bin/python${py3_ver}
+ -DLLDB_PYTHON_EXT_SUFFIX=$_ext_suffix"
+hostmakedepends="perl python3 zlib-devel libffi-devel swig"
+makedepends="python3-devel zlib-devel elfutils-devel libffi-devel libedit-devel
+ libxml2-devel binutils-devel"
+depends="libllvm14>=${version}_${revision}"
+short_desc="LLVM Compiler Infrastructure Project - Version 14"
+maintainer="Zlice <zlice555@gmail.com>"
+license="Apache-2.0"
+homepage="https://www.llvm.org"
+distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz"
+checksum=8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a
+lib32disabled=yes
+python_version=3
+
+conflicts="llvm17"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ configure_args+=" -DLIBCXX_HAS_MUSL_LIBC=YES
+ -DCOMPILER_RT_BUILD_GWP_ASAN=OFF"
+fi
+
+# "operand out of range" assembler failures
+case "$XBPS_TARGET_MACHINE" in
+ ppc64*) ;;
+ ppc*) configure_args+=" -DCLANG_ENABLE_CLANGD=OFF" ;;
+esac
+
+_enabled_projects="clang;clang-tools-extra;compiler-rt;lld"
+
+_lldb_enable=yes
+
+case "$XBPS_TARGET_MACHINE" in
+ ppc64le*) ;;
+ ppc*|i686*|riscv64*) _lldb_enable=no ;;
+esac
+
+
+subpackages="clang-tools-extra14 clang14 clang-analyzer14 libclang14 libclang-cpp14
+ libllvm14 llvm14-devel"
+
+if [ "$_lldb_enable" = "yes" ]; then
+ # XXX fails to cross compile due to python
+ _enabled_projects+=";lldb"
+ subpackages+=" lldb14 lldb14-devel"
+fi
+
+subpackages+=" lld14 lld14-devel"
+
+configure_args+=" -DLLVM_ENABLE_PROJECTS=${_enabled_projects}"
+
+post_patch() {
+ if [ "$_lldb_enable" = "yes" ]; then
+ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ vsed -i 's|__ptrace_request|int|g' \
+ ${wrksrc}/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+ fi
+ fi
+
+ # update config.guess for better platform detection
+ cp $XBPS_COMMONDIR/environment/configure/automake/config.guess \
+ ${wrksrc}/llvm/cmake
+}
+
+pre_configure() {
+ local triplet
+
+ # Vastly reduce size of debugging symbols:
+ CFLAGS=${CFLAGS/ -g/ -g1}
+ CXXFLAGS=${CXXFLAGS/ -g/ -g1}
+
+ # since gcc9, the build likes to blow up for ppc32 apparently because
+ # of clang being too large for a 24-bit relative call to the PLT, so
+ # optimize for size instead
+ case "$XBPS_TARGET_MACHINE" in
+ ppc64*) ;;
+ mips*-musl|ppc*) configure_args+=" -DVOID_CXX_OPT_FLAGS=-Os" ;;
+ armv*) configure_args+=" -DVOID_GCC_BUG_109180_WORKAROUND=ON" ;;
+ esac
+
+ if [ "$CROSS_BUILD" ]; then
+ msg_normal "Building host tblgen\n"
+ mkdir -p build/HOST
+ cd build/HOST
+ CC="$BUILD_CC" CXX="$BUILD_CXX" CFLAGS="$BUILD_CFLAGS" \
+ CXXFLAGS="$BUILD_CXXFLAGS" LDFLAGS="$BUILD_LDFLAGS" \
+ cmake ../.. -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_ENABLE_PROJECTS=${_enabled_projects}
+ make ${makejobs} -C utils/TableGen
+ make ${makejobs} -C tools/clang/utils/TableGen
+ make ${makejobs} -C tools/clang/tools/extra/clang-tidy/misc/ConfusableTable
+ make ${makejobs} -C tools/clang/tools/extra/pseudo/gen
+ [ "$_lldb_enable" = "yes" ] && make ${makejobs} -C tools/lldb/utils/TableGen
+ configure_args+=" -DLLVM_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/llvm-tblgen"
+ configure_args+=" -DCLANG_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/clang-tblgen"
+ configure_args+=" -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=${wrksrc}/llvm/build/HOST/bin/clang-tidy-confusable-chars-gen"
+ configure_args+=" -DCLANG_PSEUDO_GEN=${wrksrc}/llvm/build/HOST/bin/clang-pseudo-gen"
+ [ "$_lldb_enable" = "yes" ] && configure_args+=" -DLLDB_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/lldb-tblgen"
+ cd ../..
+ fi
+
+ case "$XBPS_TARGET_MACHINE" in
+ arm*-musl|i686-musl)
+ # sanitizer code is broken since it duplicates some libc bits
+ configure_args+=" -DCOMPILER_RT_BUILD_SANITIZERS=OFF"
+ ;;
+ esac
+
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) _arch="X86";;
+ x86_64*) _arch="X86";;
+ armv5*) _arch="Armv5te";;
+ armv6*) _arch="Armv6";;
+ armv7*) _arch="Armv7";;
+ aarch64*) _arch="AArch64";;
+ mips*) _arch="Mips";;
+ ppc*) _arch="PowerPC";;
+ riscv64*) _arch="RISCV64";;
+ esac
+
+ triplet=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}
+
+ configure_args+=" -DLLVM_TARGET_ARCH=${_arch}"
+ configure_args+=" -DLLVM_HOST_TRIPLE=${triplet}"
+ configure_args+=" -DLLVM_DEFAULT_TARGET_TRIPLE=${triplet}"
+}
+
+do_install() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=${DESTDIR}/usr -P cmake_install.cmake
+
+ # Required for multilib.
+ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+ for _header in llvm-config; do
+ mv ${DESTDIR}/usr/include/llvm/Config/${_header}{,-64}.h
+ vinstall ${FILESDIR}/llvm-Config-${_header}.h 644 \
+ usr/include/llvm/Config ${_header}.h
+ done
+ fi
+
+ # Remove llvm-config-host in cross builds.
+ if [ "$CROSS_BUILD" ]; then
+ rm -f ${DESTDIR}/usr/bin/llvm-config-host
+ fi
+}
+
+clang-analyzer14_package() {
+ pycompile_dirs="usr/share/scan-view"
+ depends="clang14-${version}_${revision} python3 perl"
+ short_desc+=" - A source code analysis framework"
+ homepage="https://clang-analyzer.llvm.org/"
+ conflicts="clang-analyzer17"
+ pkg_install() {
+ vmove "usr/bin/scan-*"
+ vmove "usr/libexec/*analyzer"
+ vmove "usr/share/scan-*"
+ vmove usr/share/man/man1/scan-build.1
+ }
+}
+
+clang-tools-extra14_package() {
+ lib32disabled=yes
+ depends="clang14-${version}_${revision} python3"
+ short_desc+=" - Extra Clang tools"
+ homepage="https://clang.llvm.org/extra/"
+ conflicts="clang-tools-extra17"
+ pkg_install() {
+ vmove usr/bin/clang-apply-replacements
+ vmove usr/bin/clang-change-namespace
+ vmove usr/bin/clang-doc
+ vmove usr/bin/clang-include-fixer
+ vmove usr/bin/clang-move
+ vmove usr/bin/clang-query
+ vmove usr/bin/clang-reorder-fields
+ vmove usr/bin/clang-tidy
+ vmove usr/bin/clangd
+ vmove usr/bin/find-all-symbols
+ vmove usr/bin/hmaptool
+ vmove usr/bin/modularize
+ vmove usr/bin/pp-trace
+ vmove usr/include/clang-tidy
+ vmove "usr/lib/libclangApplyReplacements*"
+ vmove "usr/lib/libclangChangeNamespace*"
+ vmove "usr/lib/libclangDaemon*"
+ vmove "usr/lib/libclangDoc*"
+ vmove "usr/lib/libclangIncludeFixer*"
+ vmove "usr/lib/libclangMove*"
+ vmove "usr/lib/libclangReorderFields*"
+ vmove "usr/lib/libclangQuery*"
+ vmove "usr/lib/libclangTidy*"
+ vmove "usr/lib/libclangd*"
+ vmove "usr/lib/libfindAllSymbols*"
+ vmove "usr/share/clang/*find-all-symbols*"
+ vmove "usr/share/clang/*include-fixer*"
+ vmove "usr/share/clang/*tidy*"
+ }
+}
+
+clang14-devel_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ clang14>=${version}_${revision} clang-analyzer14>=${version}_${revision}
+ llvm14>=${version}_${revision}"
+ if [ "$build_option_clang_tools_extra" ]; then
+ depends+=" clang-tools-extra14>=${version}_${revision}"
+ fi
+ short_desc+=" - C language family frontend - development Files"
+ homepage="https://clang.llvm.org/"
+ pkg_install() {
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/libear
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ vmove usr/bin/hmaptool
+ vmove usr/bin/git-clang-format
+ if [ "$build_option_clang_tools_extra" ]; then
+ vmove usr/include/clang-tidy
+ vmove usr/lib/libfindAllSymbols.a
+ fi
+ if [ "$build_option_polly" ]; then
+ vmove usr/include/polly
+ vmove usr/lib/cmake/polly
+ vmove "usr/lib/libPolly*.a"
+ fi
+ }
+}
+
+clang14_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ libclang14-${version}_${revision}"
+ short_desc+=" - C language family frontend"
+ homepage="https://clang.llvm.org/"
+ conflicts="clang17"
+ pkg_install() {
+ vmove "usr/bin/*clang*"
+ vmove usr/bin/c-index-test
+ vmove usr/bin/diagtool
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/clang
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ }
+}
+
+libclang14_package() {
+ short_desc+=" - C frontend runtime library"
+ pkg_install() {
+ vmove "usr/lib/libclang.so.*"
+ }
+}
+
+libclang-cpp14_package() {
+ short_desc+=" - C frontend runtime library (C++ interface)"
+ pkg_install() {
+ vmove "usr/lib/libclang-cpp.so.*"
+ }
+}
+
+lld14_package() {
+ lib32disabled=yes
+ short_desc+=" - linker"
+ homepage="https://lld.llvm.org"
+ conflicts="lld17"
+ pkg_install() {
+ vmove "usr/bin/ld.lld*"
+ vmove "usr/bin/ld64.lld*"
+ vmove "usr/bin/lld*"
+ vmove usr/bin/wasm-ld
+ }
+}
+
+lld14-devel_package() {
+ lib32disabled=yes
+ short_desc+=" - linker - development files"
+ homepage="https://lld.llvm.org"
+ depends="lld14>=${version}_${revision}"
+ conflicts="lld17-devel"
+ pkg_install() {
+ vmove usr/include/lld
+ vmove usr/lib/cmake/lld
+ vmove "usr/lib/liblld*a"
+ }
+}
+
+lldb14_package() {
+ lib32disabled=yes
+ depends+=" python3-six"
+ short_desc+=" - LLDB debugger"
+ homepage="https://lldb.llvm.org/"
+ conflicts="lldb17"
+ pkg_install() {
+ vmove "usr/bin/*lldb*"
+ vmove "usr/lib/liblldb*so.*"
+ vmove usr/lib/python*
+ }
+}
+
+lldb14-devel_package() {
+ lib32disabled=yes
+ depends="lldb14>=${version}_${revision}"
+ short_desc+=" - LLDB debugger - development files"
+ conflicts="lldb17-devel"
+ pkg_install() {
+ vmove usr/include/lldb
+ vmove "usr/lib/liblldb*.so"
+ }
+}
+
+llvm14-devel_package() {
+ short_desc+=" - development files"
+ depends="llvm14>=${version}_${revision}"
+ if [ "$build_option_openmp" ]; then
+ depends+=" libomp-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_mlir" ]; then
+ depends+=" mlir17-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_clang" ]; then
+ depends+=" clang14-devel>=${version}_${revision} "
+ fi
+ pkg_install() {
+ vmove usr/lib/libLLVM.so
+ vmove usr/lib/libLTO.so
+ vmove usr/lib/libRemarks.so
+ vmove usr/include/llvm
+ vmove usr/include/llvm-c
+ vmove "usr/lib/libLLVM*.a"
+ vmove usr/lib/cmake/llvm
+ }
+}
+
+libllvm14_package() {
+ short_desc+=" - runtime library"
+ pkg_install() {
+ vmove "usr/lib/libLLVM-*.so*"
+ }
+}
diff --git a/srcpkgs/llvm14/update b/srcpkgs/llvm14/update
new file mode 100644
index 00000000000000..baa6a6b6acf9a7
--- /dev/null
+++ b/srcpkgs/llvm14/update
@@ -0,0 +1,3 @@
+site="https://github.com/llvm/llvm-project/releases"
+pattern="llvmorg-\K(15)\.(\d+)\.+\d+(-rc\d+)?"
+ignore="*-rc*"
From f65b978919dde6bd89dce8827682e835866a84bc Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 7 Jul 2024 17:17:13 -0400
Subject: [PATCH 02/11] New package: SPIRV-LLVM-Translator14-14.0.0_1
---
common/shlibs | 2 ++
srcpkgs/SPIRV-LLVM-Translator14-devel | 1 +
srcpkgs/SPIRV-LLVM-Translator14/template | 33 ++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/SPIRV-LLVM-Translator14-devel
create mode 100644 srcpkgs/SPIRV-LLVM-Translator14/template
diff --git a/common/shlibs b/common/shlibs
index f2bc5f8eec2ca8..bae6114072aa18 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -991,6 +991,8 @@ libLLVM-14.so libllvm14-14.0.6_1
libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.18.1 SPIRV-LLVM-Translator-18.1.2_1
+libLLVMSPIRVLib.so.14 SPIRV-LLVM-Translator14-14.0.0_1
+libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.18.1 libomp-18.1.8_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/SPIRV-LLVM-Translator14-devel b/srcpkgs/SPIRV-LLVM-Translator14-devel
new file mode 120000
index 00000000000000..d3b93d8ee52900
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator14-devel
@@ -0,0 +1 @@
+SPIRV-LLVM-Translator14
\ No newline at end of file
diff --git a/srcpkgs/SPIRV-LLVM-Translator14/template b/srcpkgs/SPIRV-LLVM-Translator14/template
new file mode 100644
index 00000000000000..05b3e4190f7d60
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator14/template
@@ -0,0 +1,33 @@
+# Template file for 'SPIRV-LLVM-Translator14'
+pkgname=SPIRV-LLVM-Translator14
+version=14.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+make_build_args="llvm-spirv"
+configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
+ -DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
+ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
+hostmakedepends="clang14 llvm14"
+makedepends="clang-tools-extra14 llvm14-devel SPIRV-Headers"
+short_desc="API and commands for processing SPIR-V modules"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="NCSA"
+homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
+checksum=1afc52bb4e39aeb9b5b69324a201c81bd986364f347b559995eff6fd6f013318
+
+post_install() {
+ vlicense LICENSE.TXT
+ vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
+}
+
+SPIRV-LLVM-Translator14-devel_package() {
+ depends="SPIRV-LLVM-Translator14-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 8dcf043ec004c89742fc2c20c50647fe201f8001 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 03/11] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 20dcd04f5f4976..1c78134cfc5a9f 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="pkg-config"
makedepends="libva-devel libX11-devel"
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
From a4df9b7545bc6d740bb9fcc85ce30d423ca44850 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 1 Jun 2024 14:04:38 -0400
Subject: [PATCH 04/11] obs: revbump for oneVPL-2023.4.0
---
srcpkgs/obs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index feb9649977a8d4..0888fb3aaaccfe 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -1,7 +1,7 @@
# Template file for 'obs'
pkgname=obs
version=30.1.1
-revision=1
+revision=2
archs="i686* x86_64* ppc64le* aarch64* riscv64*"
build_style=cmake
configure_args="-DOBS_VERSION_OVERRIDE=${version} -DENABLE_JACK=ON
From e512f2c69c9a1e9db62695e5cd71adddd3e17c66 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 05/11] New package: intel-vc-intrinsics-0.18.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 00000000000000..88641d30b5c032
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm14-devel clang14 clang-tools-extra14"
+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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From f6c393c8dd4ec16d2a32d8775585724beabd2fda Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 06/11] New package: intel-opencl-clang-14.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 bae6114072aa18..11f1e50d59745d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -993,6 +993,7 @@ libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.18.1 SPIRV-LLVM-Translator-18.1.2_1
libLLVMSPIRVLib.so.14 SPIRV-LLVM-Translator14-14.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
+libopencl-clang.so.14 intel-opencl-clang-14.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.18.1 libomp-18.1.8_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..92d76ca4cdef5d
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=14.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=14.0.6"
+hostmakedepends="cmake"
+makedepends="llvm14-devel clang14 clang-tools-extra14 SPIRV-LLVM-Translator14-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=ea767bdd6d631c7b23c13f7f697d457e0f514a418b0ab5a3fe0206371a0f84df
+
+post_install() {
+ vlicense LICENSE
+}
From 12dfbb60c6682949d97c6f6bec487d33d4900bf2 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 07/11] New package: intel-graphics-compile-1.0.16900.23
---
srcpkgs/intel-graphics-compiler/template | 24 ++++++++++++++++++++++++
1 file changed, 24 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 00000000000000..72e74de8a3b4f9
--- /dev/null
+++ b/srcpkgs/intel-graphics-compiler/template
@@ -0,0 +1,24 @@
+# Template file for 'intel-graphics-compiler'
+pkgname=intel-graphics-compiler
+version=1.0.16900.23
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DIGC_OPTION__LLVM_PREFERRED_VERSION=14.0.6 -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="llvm14-devel clang14 clang-tools-extra14 intel-opencl-clang intel-vc-intrinsics
+ lld14 lld14-devel SPIRV-Headers SPIRV-LLVM-Translator14-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=bf5ec8aedd2e19a2e6502b18f886a88c87cf95f3d33299eda471044d0d67d3b2
+# musl: build generated ze???_int32_t types (e.g. zeinfo_int32_t)
+CXXFLAGS="-include cstdint"
+
+post_install() {
+ vlicense LICENSE.md
+}
From 576f3fdc1f776e64dc97874fbf16eedd90d173f3 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
Subject: [PATCH 08/11] New package: intel-metrics-discovery-1.12.171
---
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 00000000000000..f436529190f1b5
--- /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.171
+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=6c8610b6902922e4683067760980cfa9b13f4c57ca7013bf14cf8db00341b5dd
+
+post_install() {
+ vlicense LICENSE.md
+}
From 93fa1984cf22b95ff9136aad319f90de2a545647 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
Subject: [PATCH 09/11] New package: intel-metrics-library-1.0.161
---
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 00000000000000..8b9e104d759d76
--- /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.161
+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=5e8ea2b32cda4b9aab2f034b3862a30b7cb130b3eacfa55b67d37fc106350163
+
+post_install() {
+ vlicense LICENSE.md
+}
From c1e0922430722f3e9b59e6b3ff6cf01e94f5bd60 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
Subject: [PATCH 10/11] New package: level-zero-1.17.0
---
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..d7120705a995d8
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.17.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake git"
+makedepends="llvm14-devel clang14 clang-tools-extra14 SPIRV-LLVM-Translator14-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=edf820eab84a5f746fee730604f0381c8811f7942302c0835226715e5ae93a25
+
+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 a700a398733ec6c38f11ac7cf6d6347ac0212564 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 11/11] New package: intel-compute-runtime-24.22.29735.20
---
.../intel-compute-runtime/patches/ctime.patch | 16 +++
.../intel-compute-runtime/patches/musl.patch | 98 +++++++++++++++++++
srcpkgs/intel-compute-runtime/template | 22 +++++
3 files changed, 136 insertions(+)
create mode 100644 srcpkgs/intel-compute-runtime/patches/ctime.patch
create mode 100644 srcpkgs/intel-compute-runtime/patches/musl.patch
create mode 100644 srcpkgs/intel-compute-runtime/template
diff --git a/srcpkgs/intel-compute-runtime/patches/ctime.patch b/srcpkgs/intel-compute-runtime/patches/ctime.patch
new file mode 100644
index 00000000000000..707f800d65f5a9
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/patches/ctime.patch
@@ -0,0 +1,16 @@
+--- a/shared/source/compiler_interface/os_compiler_cache_helper.h
++++ b/shared/source/compiler_interface/os_compiler_cache_helper.h
+@@ -7,10 +7,11 @@
+
+ #pragma once
+ #include <string>
++#include <ctime>
+
+ namespace NEO {
+ class EnvironmentVariableReader;
+ bool checkDefaultCacheDirSettings(std::string &cacheDir, NEO::EnvironmentVariableReader &reader);
+ time_t getFileModificationTime(const std::string &path);
+ size_t getFileSize(const std::string &path);
+-} // namespace NEO
+\ No newline at end of file
++} // namespace NEO
diff --git a/srcpkgs/intel-compute-runtime/patches/musl.patch b/srcpkgs/intel-compute-runtime/patches/musl.patch
new file mode 100644
index 00000000000000..9aae4e5475e293
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/patches/musl.patch
@@ -0,0 +1,98 @@
+--- a/shared/source/os_interface/linux/os_library_linux.cpp
++++ b/shared/source/os_interface/linux/os_library_linux.cpp
+@@ -42,8 +42,10 @@
+ } else {
+ #if defined(SANITIZER_BUILD)
+ auto dlopenFlag = RTLD_LAZY;
+-#else
++#elif defined(__GLIBC__)
+ auto dlopenFlag = RTLD_LAZY | RTLD_DEEPBIND;
++#else
++ auto dlopenFlag = RTLD_LAZY | RTLD_GLOBAL;
+ /* Background: https://github.com/intel/compute-runtime/issues/122 */
+ #endif
+ adjustLibraryFlags(dlopenFlag);
+
+--- a/shared/offline_compiler/source/utilities/linux/safety_guard_linux.h
++++ b/shared/offline_compiler/source/utilities/linux/safety_guard_linux.h
+@@ -10,7 +10,9 @@
+
+ #include <cstdio>
+ #include <cstdlib>
++#ifdef __GLIBC__
+ #include <execinfo.h>
++#endif
+ #include <setjmp.h>
+ #include <signal.h>
+
+@@ -39,6 +39,7 @@
+ }
+
+ static void sigAction(int sigNum, siginfo_t *info, void *ucontext) {
++#ifdef __GLIBC__
+ const int callstackDepth = 30;
+ void *addresses[callstackDepth];
+ char **callstack;
+@@ -52,6 +53,9 @@
+ }
+
+ free(callstack);
++#else
++ printf("ERROR: MUSL HAS NO BACKTRACE() or execinfo!\n");
++#endif
+ longjmp(jmpbuf, 1);
+ }
+
+# https://github.com/intel/compute-runtime/issues/265#issuecomment-594581483
+--- a/shared/source/os_interface/linux/os_library_helper.cpp
++++ b/shared/source/os_interface/linux/os_library_helper.cpp
+@@ -14,7 +14,11 @@
+ namespace Linux {
+ void adjustLibraryFlags(int &dlopenFlag) {
+ if (debugManager.flags.DisableDeepBind.get()) {
++#ifdef __GLIBC__
+ dlopenFlag &= ~RTLD_DEEPBIND;
++#else
++ dlopenFlag &= ~RTLD_GLOBAL;
++#endif
+ }
+ }
+ } // namespace Linux
+--- a/level_zero/sysman/source/shared/linux/udev/udev_lib.h
++++ b/level_zero/sysman/source/shared/linux/udev/udev_lib.h
+@@ -9,6 +9,9 @@
+
+ #include <string>
+ #include <vector>
++#ifndef __dev_t_defined
++#include <sys/types.h>
++#endif /* __dev_t_defined */
+
+ namespace L0 {
+ namespace Sysman {
+
+--- a/level_zero/tools/source/sysman/linux/udev/udev_lib.h
++++ b/level_zero/tools/source/sysman/linux/udev/udev_lib.h
+@@ -9,6 +9,9 @@
+
+ #include <string>
+ #include <vector>
++#ifndef __dev_t_defined
++#include <sys/types.h>
++#endif /* __dev_t_defined */
+
+ namespace L0 {
+ class UdevLib {
+
+--- a/level_zero/sysman/source/shared/linux/sysman_fs_access_interface.cpp
++++ b/level_zero/sysman/source/shared/linux/sysman_fs_access_interface.cpp
+@@ -12,6 +12,9 @@
+ #include <fstream>
+ #include <sstream>
+ #include <unistd.h>
++#ifndef __GLIBC__
++#include <limits.h> // PATH_MAX
++#endif
+
+ namespace L0 {
+ namespace Sysman {
diff --git a/srcpkgs/intel-compute-runtime/template b/srcpkgs/intel-compute-runtime/template
new file mode 100644
index 00000000000000..2ad3687edcbb0b
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=24.22.29735.20
+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="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=010c9c8dd7d4ad42531c868760d1d36f1dd8bafdb21747cd94dc3e50c1bb6472
+
+post_install() {
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [ready] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (46 preceding siblings ...)
2024-07-14 13:25 ` [PR PATCH] [Updated] [ready] " zlice
@ 2024-07-31 16:57 ` Calandracas606
2024-07-31 16:59 ` Calandracas606
` (4 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: Calandracas606 @ 2024-07-31 16:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
New comment by Calandracas606 on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2260962294
Comment:
this is neat.
I'm probably going to version the spirv translator in llvm19, so it's good that you did it here
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [ready] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (47 preceding siblings ...)
2024-07-31 16:57 ` Calandracas606
@ 2024-07-31 16:59 ` Calandracas606
2024-07-31 17:03 ` zlice
` (3 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: Calandracas606 @ 2024-07-31 16:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 277 bytes --]
New comment by Calandracas606 on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2260967041
Comment:
there's a lot of junk in the llvm14 package that's only needed for cross compiling. if its x86_64 only, you can safely remove it
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (48 preceding siblings ...)
2024-07-31 16:59 ` Calandracas606
@ 2024-07-31 17:03 ` zlice
2024-08-01 15:42 ` Calandracas606
` (2 subsequent siblings)
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-07-31 17:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 382 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2260972771
Comment:
ya i can remove it. afaik intel only supports x86_64 and i dont think anyone would try to use some intel gpu in a arm box anyway. will update once the vpl stuff goes through because i'm lazy and dont want to build llvm extra if i dont have to
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (49 preceding siblings ...)
2024-07-31 17:03 ` zlice
@ 2024-08-01 15:42 ` Calandracas606
2024-10-31 2:00 ` github-actions
2024-11-01 12:11 ` [PR PATCH] [Updated] " zlice
52 siblings, 0 replies; 54+ messages in thread
From: Calandracas606 @ 2024-08-01 15:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
New comment by Calandracas606 on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2263387295
Comment:
look at the `SPIRV-LLVM-Translator` changes here: https://github.com/void-linux/void-packages/pull/51592/files
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (50 preceding siblings ...)
2024-08-01 15:42 ` Calandracas606
@ 2024-10-31 2:00 ` github-actions
2024-11-01 12:11 ` [PR PATCH] [Updated] " zlice
52 siblings, 0 replies; 54+ messages in thread
From: github-actions @ 2024-10-31 2:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/43084#issuecomment-2448864522
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: [PR PATCH] [Updated] New packages - Intel OpenCL (NEO)
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) zlice
` (51 preceding siblings ...)
2024-10-31 2:00 ` github-actions
@ 2024-11-01 12:11 ` zlice
52 siblings, 0 replies; 54+ messages in thread
From: zlice @ 2024-11-01 12:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1556 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.~~
`level-zero` uses git to pull `spdlog`(1.13.0). Void does not have a 'spdlog-devel' but it could probably be added.
#### Update (ready)
Added llvm14 with the SWIG patches and musl builds (with a few more patches)
llvm 14 has a shlib of `libclang.so.13 libclang14-14.0.6_1` for some reason, it works, it should only be for these packages on x86_64+musl
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: 48742 bytes --]
From a72511ada804b9dbd5935e0b1288fb3edcfc9b2a Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 7 Jul 2024 17:16:45 -0400
Subject: [PATCH 01/11] New package: llvm14-14.0.6
---
common/shlibs | 10 +
srcpkgs/clang-analyzer14 | 1 +
| 1 +
srcpkgs/clang14 | 1 +
srcpkgs/libclang-cpp14 | 1 +
srcpkgs/libclang14 | 1 +
srcpkgs/libllvm14 | 1 +
srcpkgs/lld14 | 1 +
srcpkgs/lld14-devel | 1 +
srcpkgs/lldb14 | 1 +
srcpkgs/lldb14-devel | 1 +
srcpkgs/llvm14-devel | 1 +
.../llvm14/files/llvm-Config-llvm-config.h | 9 +
.../patches/clang-002-add-musl-triples.patch | 115 ++++++
srcpkgs/llvm14/patches/libcxx-musl.patch | 26 ++
srcpkgs/llvm14/patches/llvm-001-musl.patch | 44 +++
srcpkgs/llvm14/patches/swig.patch | 72 ++++
srcpkgs/llvm14/template | 365 ++++++++++++++++++
srcpkgs/llvm14/update | 3 +
19 files changed, 655 insertions(+)
create mode 120000 srcpkgs/clang-analyzer14
create mode 120000 srcpkgs/clang-tools-extra14
create mode 120000 srcpkgs/clang14
create mode 120000 srcpkgs/libclang-cpp14
create mode 120000 srcpkgs/libclang14
create mode 120000 srcpkgs/libllvm14
create mode 120000 srcpkgs/lld14
create mode 120000 srcpkgs/lld14-devel
create mode 120000 srcpkgs/lldb14
create mode 120000 srcpkgs/lldb14-devel
create mode 120000 srcpkgs/llvm14-devel
create mode 100644 srcpkgs/llvm14/files/llvm-Config-llvm-config.h
create mode 100644 srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
create mode 100644 srcpkgs/llvm14/patches/libcxx-musl.patch
create mode 100644 srcpkgs/llvm14/patches/llvm-001-musl.patch
create mode 100644 srcpkgs/llvm14/patches/swig.patch
create mode 100644 srcpkgs/llvm14/template
create mode 100644 srcpkgs/llvm14/update
diff --git a/common/shlibs b/common/shlibs
index 56f4c7d4eef4d0..5127fa3d1e5aa4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -993,6 +993,16 @@ libclang.so.18.1 libclang18-18.1.8_1
libclang.so.17 libclang17-17.0.6_1
libclang-cpp.so.18.1 libclang-cpp18-18.1.8_1
libclang-cpp.so.17 libclang-cpp17-17.0.6_1
+liblldb.so.14 lldb14-14.0.6_1
+libclang.so.18.1 libclang18-18.1.8_1
+libclang.so.17 libclang17-17.0.6_1
+libclang.so.13 libclang14-14.0.6_1
+libclang-cpp.so.18.1 libclang-cpp18-18.1.8_1
+libclang-cpp.so.17 libclang-cpp17-17.0.6_1
+libclang-cpp.so.14 libclang-cpp14-14.0.6_1
+libLLVM-11.so libllvm11-11.0.0_1
+libLLVM-12.so libllvm12-12.0.0_1
+libLLVM-14.so libllvm14-14.0.6_1
libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.18.1 SPIRV-LLVM-Translator-18.1.2_1
diff --git a/srcpkgs/clang-analyzer14 b/srcpkgs/clang-analyzer14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang-analyzer14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
--git a/srcpkgs/clang-tools-extra14 b/srcpkgs/clang-tools-extra14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang-tools-extra14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/clang14 b/srcpkgs/clang14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/clang14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libclang-cpp14 b/srcpkgs/libclang-cpp14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libclang-cpp14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libclang14 b/srcpkgs/libclang14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libclang14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/libllvm14 b/srcpkgs/libllvm14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/libllvm14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lld14 b/srcpkgs/lld14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lld14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lld14-devel b/srcpkgs/lld14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lld14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lldb14 b/srcpkgs/lldb14
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lldb14
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/lldb14-devel b/srcpkgs/lldb14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/lldb14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/llvm14-devel b/srcpkgs/llvm14-devel
new file mode 120000
index 00000000000000..1d42ed7632a635
--- /dev/null
+++ b/srcpkgs/llvm14-devel
@@ -0,0 +1 @@
+llvm14
\ No newline at end of file
diff --git a/srcpkgs/llvm14/files/llvm-Config-llvm-config.h b/srcpkgs/llvm14/files/llvm-Config-llvm-config.h
new file mode 100644
index 00000000000000..2fa08c9be69621
--- /dev/null
+++ b/srcpkgs/llvm14/files/llvm-Config-llvm-config.h
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "llvm-config-32.h"
+#elif __WORDSIZE == 64
+#include "llvm-config-64.h"
+#else
+#error "Unknown word size"
+#endif
diff --git a/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch b/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
new file mode 100644
index 00000000000000..0ef4c7e75d6b58
--- /dev/null
+++ b/srcpkgs/llvm14/patches/clang-002-add-musl-triples.patch
@@ -0,0 +1,115 @@
+--- a/clang/lib/Driver/ToolChains/Gnu.cpp
++++ b/clang/lib/Driver/ToolChains/Gnu.cpp
+@@ -2086,7 +2086,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf",
+ "armv7hl-redhat-linux-gnueabi",
+ "armv6hl-suse-linux-gnueabi",
+- "armv7hl-suse-linux-gnueabi"};
++ "armv7hl-suse-linux-gnueabi",
++ "armv7l-linux-gnueabihf"};
+ static const char *const ARMebLibDirs[] = {"/lib"};
+ static const char *const ARMebTriples[] = {"armeb-linux-gnueabi",
+ "armeb-linux-androideabi"};
+@@ -2153,8 +2154,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ "powerpc64-suse-linux", "powerpc-montavista-linuxspe"};
+ static const char *const PPCLELibDirs[] = {"/lib32", "/lib"};
+ static const char *const PPCLETriples[] = {"powerpcle-linux-gnu",
+- "powerpcle-unknown-linux-gnu",
+- "powerpcle-linux-musl"};
++ "powerpcle-unknown-linux-gnu"};
+
+ static const char *const PPC64LibDirs[] = {"/lib64", "/lib"};
+ static const char *const PPC64Triples[] = {
+@@ -2235,6 +2235,92 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
+ return;
+ }
+
++ if (TargetTriple.isMusl()) {
++ static const char *const AArch64MuslTriples[] = {"aarch64-linux-musl"};
++ static const char *const ARMHFMuslTriples[] = {
++ "arm-linux-musleabihf", "armv7l-linux-musleabihf"
++ };
++ static const char *const ARMMuslTriples[] = {"arm-linux-musleabi"};
++ static const char *const X86_64MuslTriples[] = {"x86_64-linux-musl"};
++ static const char *const X86MuslTriples[] = {"i686-linux-musl"};
++ static const char *const MIPSMuslTriples[] = {
++ "mips-linux-musl", "mipsel-linux-musl",
++ "mipsel-linux-muslhf", "mips-linux-muslhf"
++ };
++ static const char *const PPCMuslTriples[] = {"powerpc-linux-musl"};
++ static const char *const PPCLEMuslTriples[] = {"powerpcle-linux-musl"};
++ static const char *const PPC64MuslTriples[] = {"powerpc64-linux-musl"};
++ static const char *const PPC64LEMuslTriples[] = {"powerpc64le-linux-musl"};
++ static const char *const RISCV64MuslTriples[] = {"riscv64-linux-musl"};
++
++ switch (TargetTriple.getArch()) {
++ case llvm::Triple::aarch64:
++ LibDirs.append(begin(AArch64LibDirs), end(AArch64LibDirs));
++ TripleAliases.append(begin(AArch64MuslTriples), end(AArch64MuslTriples));
++ BiarchLibDirs.append(begin(AArch64LibDirs), end(AArch64LibDirs));
++ BiarchTripleAliases.append(begin(AArch64MuslTriples), end(AArch64MuslTriples));
++ break;
++ case llvm::Triple::arm:
++ LibDirs.append(begin(ARMLibDirs), end(ARMLibDirs));
++ if (TargetTriple.getEnvironment() == llvm::Triple::MuslEABIHF) {
++ TripleAliases.append(begin(ARMHFMuslTriples), end(ARMHFMuslTriples));
++ } else {
++ TripleAliases.append(begin(ARMMuslTriples), end(ARMMuslTriples));
++ }
++ break;
++ case llvm::Triple::x86_64:
++ LibDirs.append(begin(X86_64LibDirs), end(X86_64LibDirs));
++ TripleAliases.append(begin(X86_64MuslTriples), end(X86_64MuslTriples));
++ BiarchLibDirs.append(begin(X86LibDirs), end(X86LibDirs));
++ BiarchTripleAliases.append(begin(X86MuslTriples), end(X86MuslTriples));
++ break;
++ case llvm::Triple::x86:
++ LibDirs.append(begin(X86LibDirs), end(X86LibDirs));
++ TripleAliases.append(begin(X86MuslTriples), end(X86MuslTriples));
++ BiarchLibDirs.append(begin(X86_64LibDirs), end(X86_64LibDirs));
++ BiarchTripleAliases.append(begin(X86_64MuslTriples), end(X86_64MuslTriples));
++ break;
++ case llvm::Triple::mips:
++ LibDirs.append(begin(MIPSLibDirs), end(MIPSLibDirs));
++ TripleAliases.append(begin(MIPSMuslTriples), end(MIPSMuslTriples));
++ break;
++ case llvm::Triple::ppc:
++ LibDirs.append(begin(PPCLibDirs), end(PPCLibDirs));
++ TripleAliases.append(begin(PPCMuslTriples), end(PPCMuslTriples));
++ BiarchLibDirs.append(begin(PPC64LibDirs), end(PPC64LibDirs));
++ BiarchTripleAliases.append(begin(PPC64MuslTriples), end(PPC64MuslTriples));
++ break;
++ case llvm::Triple::ppcle:
++ LibDirs.append(begin(PPCLELibDirs), end(PPCLELibDirs));
++ TripleAliases.append(begin(PPCLEMuslTriples), end(PPCLEMuslTriples));
++ BiarchLibDirs.append(begin(PPC64LELibDirs), end(PPC64LELibDirs));
++ BiarchTripleAliases.append(begin(PPC64LEMuslTriples), end(PPC64LEMuslTriples));
++ break;
++ case llvm::Triple::ppc64:
++ LibDirs.append(begin(PPC64LibDirs), end(PPC64LibDirs));
++ TripleAliases.append(begin(PPC64MuslTriples), end(PPC64MuslTriples));
++ BiarchLibDirs.append(begin(PPCLibDirs), end(PPCLibDirs));
++ BiarchTripleAliases.append(begin(PPCMuslTriples), end(PPCMuslTriples));
++ break;
++ case llvm::Triple::ppc64le:
++ LibDirs.append(begin(PPC64LELibDirs), end(PPC64LELibDirs));
++ TripleAliases.append(begin(PPC64LEMuslTriples), end(PPC64LEMuslTriples));
++ BiarchLibDirs.append(begin(PPCLELibDirs), end(PPCLELibDirs));
++ BiarchTripleAliases.append(begin(PPCLEMuslTriples), end(PPCLEMuslTriples));
++ break;
++ case llvm::Triple::riscv64:
++ LibDirs.append(begin(RISCV64LibDirs), end(RISCV64LibDirs));
++ TripleAliases.append(begin(RISCV64MuslTriples), end(RISCV64MuslTriples));
++ break;
++ default:
++ break;
++ }
++ TripleAliases.push_back(TargetTriple.str());
++ if (TargetTriple.str() != BiarchTriple.str())
++ BiarchTripleAliases.push_back(BiarchTriple.str());
++ return;
++ }
++
+ // Android targets should not use GNU/Linux tools or libraries.
+ if (TargetTriple.isAndroid()) {
+ static const char *const AArch64AndroidTriples[] = {
diff --git a/srcpkgs/llvm14/patches/libcxx-musl.patch b/srcpkgs/llvm14/patches/libcxx-musl.patch
new file mode 100644
index 00000000000000..d15e36fb687709
--- /dev/null
+++ b/srcpkgs/llvm14/patches/libcxx-musl.patch
@@ -0,0 +1,26 @@
+--- a/libcxx/include/locale
++++ b/libcxx/include/locale
+@@ -749,7 +749,11 @@
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
+ errno = 0;
+ char *__p2;
++#if defined(__linux__) && !defined(__GLIBC__)
++ long long __ll = strtoll(__a, &__p2, __base);
++#else
+ long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
++#endif
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
+ if (__current_errno == 0)
+ errno = __save_errno;
+@@ -793,7 +793,11 @@
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
+ errno = 0;
+ char *__p2;
++#if defined(__linux__) && !defined(__GLIBC__)
++ unsigned long long __ll = strtoull(__a, &__p2, __base);
++#else
+ unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
++#endif
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
+ if (__current_errno == 0)
+ errno = __save_errno;
diff --git a/srcpkgs/llvm14/patches/llvm-001-musl.patch b/srcpkgs/llvm14/patches/llvm-001-musl.patch
new file mode 100644
index 00000000000000..ad21b1c90e40f1
--- /dev/null
+++ b/srcpkgs/llvm14/patches/llvm-001-musl.patch
@@ -0,0 +1,44 @@
+From faca3fbd15d0c3108493c3c54cd93138e049ac43 Mon Sep 17 00:00:00 2001
+From: Andrea Brancaleoni <miwaxe@gmail.com>
+Date: Tue, 8 Sep 2015 22:03:02 +0200
+Subject: [PATCH 3/3] musl
+
+---
+ include/llvm/Analysis/TargetLibraryInfo.h | 9 +++++++++
+ lib/Support/DynamicLibrary.cpp | 2 +-
+ lib/Support/Unix/Signals.inc | 6 +++---
+ utils/unittest/googletest/src/gtest.cc | 1 +
+ 5 files changed, 17 insertions(+), 6 deletions(-)
+
+diff --git a/include/llvm/Analysis/TargetLibraryInfo.h b/include/llvm/Analysis/TargetLibraryInfo.h
+index 34a8a1e3..1214ece5 100644
+--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
++++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
+@@ -18,6 +18,15 @@
+ #include "llvm/IR/PassManager.h"
+ #include "llvm/Pass.h"
+
++#undef fopen64
++#undef fseeko64
++#undef fstat64
++#undef fstatvfs64
++#undef ftello64
++#undef lstat64
++#undef stat64
++#undef tmpfile64
++
+ namespace llvm {
+ template <typename T> class ArrayRef;
+ class Triple;
+diff --git a/utils/unittest/googletest/src/gtest.cc b/utils/unittest/googletest/src/gtest.cc
+index d882ab2e..f1fb12d0 100644
+--- a/llvm/utils/unittest/googletest/src/gtest.cc
++++ b/llvm/utils/unittest/googletest/src/gtest.cc
+@@ -128,6 +128,7 @@
+
+ #if GTEST_CAN_STREAM_RESULTS_
+ # include <arpa/inet.h> // NOLINT
++# include <sys/socket.h> // NOLINT
+ # include <netdb.h> // NOLINT
+ # include <sys/socket.h> // NOLINT
+ # include <sys/types.h> // NOLINT
diff --git a/srcpkgs/llvm14/patches/swig.patch b/srcpkgs/llvm14/patches/swig.patch
new file mode 100644
index 00000000000000..c92adf008f43dd
--- /dev/null
+++ b/srcpkgs/llvm14/patches/swig.patch
@@ -0,0 +1,72 @@
+From b6e705f628d6b4f29c45ec3f7c19b69d4ce6a3b0 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Wed, 21 Sep 2022 11:39:52 +0200
+Subject: [PATCH] Fixes for swig-4.1.0 macro definition correction
+
+For swig-4.1.0 change:
+
+ #2193 -DFOO on the SWIG command line now sets FOO to 1 for
+ consistency with C/C++ compiler preprocessors. Previously
+ SWIG set FOO to an empty value.
+
+ Existing invocations of SWIG with `-DFOO` where the empty value
+ matters can be updated to `-DFOO=` which should work with both
+ old and new releases of SWIG.
+
+ *** POTENTIAL INCOMPATIBILITY ***
+
+See https://github.com/swig/swig/issues/2193
+
+This patch is backwards compatible with older versions of SWIG.
+---
+ lldb/bindings/CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lldb/bindings/CMakeLists.txt b/lldb/bindings/CMakeLists.txt
+index c8aa0bcf9681..aa4637101ad0 100644
+--- a/lldb/bindings/CMakeLists.txt
++++ b/lldb/bindings/CMakeLists.txt
+@@ -26,8 +26,8 @@ set(SWIG_COMMON_FLAGS
+ -features autodoc
+ -I${LLDB_SOURCE_DIR}/include
+ -I${CMAKE_CURRENT_SOURCE_DIR}
+- -D__STDC_LIMIT_MACROS
+- -D__STDC_CONSTANT_MACROS
++ -D__STDC_LIMIT_MACROS=
++ -D__STDC_CONSTANT_MACROS=
+ ${DARWIN_EXTRAS}
+ )
+
+--
+2.37.3
+
+From ae33ebc5bbb005281778d44fedcb817c9090ebc4 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Wed, 21 Sep 2022 11:42:46 +0200
+Subject: [PATCH] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0
+
+Fix the failure caused by change in SwigValueWraper for C++11 and later
+for improved move semantics in SWIG commit.
+
+https://github.com/swig/swig/commit/d1055f4b3d51cb8060893f8036846ac743302dab
+---
+ lldb/bindings/python/python-typemaps.swig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig
+index 203be803d2eb..11f68d59ae7b 100644
+--- a/lldb/bindings/python/python-typemaps.swig
++++ b/lldb/bindings/python/python-typemaps.swig
+@@ -435,7 +435,7 @@ template <> bool SetNumberFromPyObject<double>(double &number, PyObject *obj) {
+
+ %typemap(out) lldb::FileSP {
+ $result = nullptr;
+- lldb::FileSP &sp = $1;
++ const lldb::FileSP &sp = $1;
+ if (sp) {
+ PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp));
+ if (!pyfile.IsValid())
+--
+2.37.3
+
+
diff --git a/srcpkgs/llvm14/template b/srcpkgs/llvm14/template
new file mode 100644
index 00000000000000..df1c4f2bfae1eb
--- /dev/null
+++ b/srcpkgs/llvm14/template
@@ -0,0 +1,365 @@
+# Template file for 'llvm14'
+pkgname=llvm14
+version=14.0.6
+revision=1
+archs="x86_64*"
+build_wrksrc=llvm
+build_style=cmake
+_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
+configure_args="
+ -DCMAKE_BUILD_TYPE=Release -Wno-dev
+ -DENABLE_LINKER_BUILD_ID=YES
+ -DLLDB_USE_SYSTEM_SIX=YES
+ -DSPHINX_WARNINGS_AS_ERRORS=NO
+ -DLLVM_INSTALL_UTILS=YES
+ -DLLVM_BUILD_LLVM_DYLIB=YES
+ -DLLVM_LINK_LLVM_DYLIB=YES
+ -DLLVM_ENABLE_RTTI=YES
+ -DLLVM_ENABLE_FFI=YES
+ -DLLVM_BINUTILS_INCDIR=/usr/include
+ -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=NO
+ -DLLDB_PYTHON_RELATIVE_PATH=lib/python${py3_ver}/site-packages
+ -DLLDB_PYTHON_EXE_RELATIVE_PATH=bin/python${py3_ver}
+ -DLLDB_PYTHON_EXT_SUFFIX=$_ext_suffix"
+hostmakedepends="perl python3 zlib-devel libffi-devel swig"
+makedepends="python3-devel zlib-devel elfutils-devel libffi-devel libedit-devel
+ libxml2-devel binutils-devel"
+depends="libllvm14>=${version}_${revision}"
+short_desc="LLVM Compiler Infrastructure Project - Version 14"
+maintainer="Zlice <zlice555@gmail.com>"
+license="Apache-2.0"
+homepage="https://www.llvm.org"
+distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz"
+checksum=8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a
+lib32disabled=yes
+python_version=3
+
+conflicts="llvm17"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ configure_args+=" -DLIBCXX_HAS_MUSL_LIBC=YES
+ -DCOMPILER_RT_BUILD_GWP_ASAN=OFF"
+fi
+
+# "operand out of range" assembler failures
+case "$XBPS_TARGET_MACHINE" in
+ ppc64*) ;;
+ ppc*) configure_args+=" -DCLANG_ENABLE_CLANGD=OFF" ;;
+esac
+
+_enabled_projects="clang;clang-tools-extra;compiler-rt;lld"
+
+_lldb_enable=yes
+
+case "$XBPS_TARGET_MACHINE" in
+ ppc64le*) ;;
+ ppc*|i686*|riscv64*) _lldb_enable=no ;;
+esac
+
+
+subpackages="clang-tools-extra14 clang14 clang-analyzer14 libclang14 libclang-cpp14
+ libllvm14 llvm14-devel"
+
+if [ "$_lldb_enable" = "yes" ]; then
+ # XXX fails to cross compile due to python
+ _enabled_projects+=";lldb"
+ subpackages+=" lldb14 lldb14-devel"
+fi
+
+subpackages+=" lld14 lld14-devel"
+
+configure_args+=" -DLLVM_ENABLE_PROJECTS=${_enabled_projects}"
+
+post_patch() {
+ if [ "$_lldb_enable" = "yes" ]; then
+ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ vsed -i 's|__ptrace_request|int|g' \
+ ${wrksrc}/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+ fi
+ fi
+
+ # update config.guess for better platform detection
+ cp $XBPS_COMMONDIR/environment/configure/automake/config.guess \
+ ${wrksrc}/llvm/cmake
+}
+
+pre_configure() {
+ local triplet
+
+ # Vastly reduce size of debugging symbols:
+ CFLAGS=${CFLAGS/ -g/ -g1}
+ CXXFLAGS=${CXXFLAGS/ -g/ -g1}
+
+ # since gcc9, the build likes to blow up for ppc32 apparently because
+ # of clang being too large for a 24-bit relative call to the PLT, so
+ # optimize for size instead
+ case "$XBPS_TARGET_MACHINE" in
+ ppc64*) ;;
+ mips*-musl|ppc*) configure_args+=" -DVOID_CXX_OPT_FLAGS=-Os" ;;
+ armv*) configure_args+=" -DVOID_GCC_BUG_109180_WORKAROUND=ON" ;;
+ esac
+
+ if [ "$CROSS_BUILD" ]; then
+ msg_normal "Building host tblgen\n"
+ mkdir -p build/HOST
+ cd build/HOST
+ CC="$BUILD_CC" CXX="$BUILD_CXX" CFLAGS="$BUILD_CFLAGS" \
+ CXXFLAGS="$BUILD_CXXFLAGS" LDFLAGS="$BUILD_LDFLAGS" \
+ cmake ../.. -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_ENABLE_PROJECTS=${_enabled_projects}
+ make ${makejobs} -C utils/TableGen
+ make ${makejobs} -C tools/clang/utils/TableGen
+ make ${makejobs} -C tools/clang/tools/extra/clang-tidy/misc/ConfusableTable
+ make ${makejobs} -C tools/clang/tools/extra/pseudo/gen
+ [ "$_lldb_enable" = "yes" ] && make ${makejobs} -C tools/lldb/utils/TableGen
+ configure_args+=" -DLLVM_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/llvm-tblgen"
+ configure_args+=" -DCLANG_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/clang-tblgen"
+ configure_args+=" -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=${wrksrc}/llvm/build/HOST/bin/clang-tidy-confusable-chars-gen"
+ configure_args+=" -DCLANG_PSEUDO_GEN=${wrksrc}/llvm/build/HOST/bin/clang-pseudo-gen"
+ [ "$_lldb_enable" = "yes" ] && configure_args+=" -DLLDB_TABLEGEN=${wrksrc}/llvm/build/HOST/bin/lldb-tblgen"
+ cd ../..
+ fi
+
+ case "$XBPS_TARGET_MACHINE" in
+ arm*-musl|i686-musl)
+ # sanitizer code is broken since it duplicates some libc bits
+ configure_args+=" -DCOMPILER_RT_BUILD_SANITIZERS=OFF"
+ ;;
+ esac
+
+ case "$XBPS_TARGET_MACHINE" in
+ i686*) _arch="X86";;
+ x86_64*) _arch="X86";;
+ armv5*) _arch="Armv5te";;
+ armv6*) _arch="Armv6";;
+ armv7*) _arch="Armv7";;
+ aarch64*) _arch="AArch64";;
+ mips*) _arch="Mips";;
+ ppc*) _arch="PowerPC";;
+ riscv64*) _arch="RISCV64";;
+ esac
+
+ triplet=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}
+
+ configure_args+=" -DLLVM_TARGET_ARCH=${_arch}"
+ configure_args+=" -DLLVM_HOST_TRIPLE=${triplet}"
+ configure_args+=" -DLLVM_DEFAULT_TARGET_TRIPLE=${triplet}"
+}
+
+do_install() {
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=${DESTDIR}/usr -P cmake_install.cmake
+
+ # Required for multilib.
+ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+ for _header in llvm-config; do
+ mv ${DESTDIR}/usr/include/llvm/Config/${_header}{,-64}.h
+ vinstall ${FILESDIR}/llvm-Config-${_header}.h 644 \
+ usr/include/llvm/Config ${_header}.h
+ done
+ fi
+
+ # Remove llvm-config-host in cross builds.
+ if [ "$CROSS_BUILD" ]; then
+ rm -f ${DESTDIR}/usr/bin/llvm-config-host
+ fi
+}
+
+clang-analyzer14_package() {
+ pycompile_dirs="usr/share/scan-view"
+ depends="clang14-${version}_${revision} python3 perl"
+ short_desc+=" - A source code analysis framework"
+ homepage="https://clang-analyzer.llvm.org/"
+ conflicts="clang-analyzer17"
+ pkg_install() {
+ vmove "usr/bin/scan-*"
+ vmove "usr/libexec/*analyzer"
+ vmove "usr/share/scan-*"
+ vmove usr/share/man/man1/scan-build.1
+ }
+}
+
+clang-tools-extra14_package() {
+ lib32disabled=yes
+ depends="clang14-${version}_${revision} python3"
+ short_desc+=" - Extra Clang tools"
+ homepage="https://clang.llvm.org/extra/"
+ conflicts="clang-tools-extra17"
+ pkg_install() {
+ vmove usr/bin/clang-apply-replacements
+ vmove usr/bin/clang-change-namespace
+ vmove usr/bin/clang-doc
+ vmove usr/bin/clang-include-fixer
+ vmove usr/bin/clang-move
+ vmove usr/bin/clang-query
+ vmove usr/bin/clang-reorder-fields
+ vmove usr/bin/clang-tidy
+ vmove usr/bin/clangd
+ vmove usr/bin/find-all-symbols
+ vmove usr/bin/hmaptool
+ vmove usr/bin/modularize
+ vmove usr/bin/pp-trace
+ vmove usr/include/clang-tidy
+ vmove "usr/lib/libclangApplyReplacements*"
+ vmove "usr/lib/libclangChangeNamespace*"
+ vmove "usr/lib/libclangDaemon*"
+ vmove "usr/lib/libclangDoc*"
+ vmove "usr/lib/libclangIncludeFixer*"
+ vmove "usr/lib/libclangMove*"
+ vmove "usr/lib/libclangReorderFields*"
+ vmove "usr/lib/libclangQuery*"
+ vmove "usr/lib/libclangTidy*"
+ vmove "usr/lib/libclangd*"
+ vmove "usr/lib/libfindAllSymbols*"
+ vmove "usr/share/clang/*find-all-symbols*"
+ vmove "usr/share/clang/*include-fixer*"
+ vmove "usr/share/clang/*tidy*"
+ }
+}
+
+clang14-devel_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ clang14>=${version}_${revision} clang-analyzer14>=${version}_${revision}
+ llvm14>=${version}_${revision}"
+ if [ "$build_option_clang_tools_extra" ]; then
+ depends+=" clang-tools-extra14>=${version}_${revision}"
+ fi
+ short_desc+=" - C language family frontend - development Files"
+ homepage="https://clang.llvm.org/"
+ pkg_install() {
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/libear
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ vmove usr/bin/hmaptool
+ vmove usr/bin/git-clang-format
+ if [ "$build_option_clang_tools_extra" ]; then
+ vmove usr/include/clang-tidy
+ vmove usr/lib/libfindAllSymbols.a
+ fi
+ if [ "$build_option_polly" ]; then
+ vmove usr/include/polly
+ vmove usr/lib/cmake/polly
+ vmove "usr/lib/libPolly*.a"
+ fi
+ }
+}
+
+clang14_package() {
+ lib32disabled=yes
+ depends="libstdc++-devel libgcc-devel binutils ${XBPS_TARGET_LIBC}-devel
+ libclang14-${version}_${revision}"
+ short_desc+=" - C language family frontend"
+ homepage="https://clang.llvm.org/"
+ conflicts="clang17"
+ pkg_install() {
+ vmove "usr/bin/*clang*"
+ vmove usr/bin/c-index-test
+ vmove usr/bin/diagtool
+ vmove usr/include/clang
+ vmove usr/include/clang-c
+ vmove usr/lib/clang
+ vmove usr/lib/cmake/clang
+ vmove "usr/lib/libclang*.a"
+ vmove "usr/lib/libclang*.so"
+ vmove usr/share/clang
+ }
+}
+
+libclang14_package() {
+ short_desc+=" - C frontend runtime library"
+ pkg_install() {
+ vmove "usr/lib/libclang.so.*"
+ }
+}
+
+libclang-cpp14_package() {
+ short_desc+=" - C frontend runtime library (C++ interface)"
+ pkg_install() {
+ vmove "usr/lib/libclang-cpp.so.*"
+ }
+}
+
+lld14_package() {
+ lib32disabled=yes
+ short_desc+=" - linker"
+ homepage="https://lld.llvm.org"
+ conflicts="lld17"
+ pkg_install() {
+ vmove "usr/bin/ld.lld*"
+ vmove "usr/bin/ld64.lld*"
+ vmove "usr/bin/lld*"
+ vmove usr/bin/wasm-ld
+ }
+}
+
+lld14-devel_package() {
+ lib32disabled=yes
+ short_desc+=" - linker - development files"
+ homepage="https://lld.llvm.org"
+ depends="lld14>=${version}_${revision}"
+ conflicts="lld17-devel"
+ pkg_install() {
+ vmove usr/include/lld
+ vmove usr/lib/cmake/lld
+ vmove "usr/lib/liblld*a"
+ }
+}
+
+lldb14_package() {
+ lib32disabled=yes
+ depends+=" python3-six"
+ short_desc+=" - LLDB debugger"
+ homepage="https://lldb.llvm.org/"
+ conflicts="lldb17"
+ pkg_install() {
+ vmove "usr/bin/*lldb*"
+ vmove "usr/lib/liblldb*so.*"
+ vmove usr/lib/python*
+ }
+}
+
+lldb14-devel_package() {
+ lib32disabled=yes
+ depends="lldb14>=${version}_${revision}"
+ short_desc+=" - LLDB debugger - development files"
+ conflicts="lldb17-devel"
+ pkg_install() {
+ vmove usr/include/lldb
+ vmove "usr/lib/liblldb*.so"
+ }
+}
+
+llvm14-devel_package() {
+ short_desc+=" - development files"
+ depends="llvm14>=${version}_${revision}"
+ if [ "$build_option_openmp" ]; then
+ depends+=" libomp-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_mlir" ]; then
+ depends+=" mlir17-devel>=${version}_${revision} "
+ fi
+ if [ "$build_option_clang" ]; then
+ depends+=" clang14-devel>=${version}_${revision} "
+ fi
+ pkg_install() {
+ vmove usr/lib/libLLVM.so
+ vmove usr/lib/libLTO.so
+ vmove usr/lib/libRemarks.so
+ vmove usr/include/llvm
+ vmove usr/include/llvm-c
+ vmove "usr/lib/libLLVM*.a"
+ vmove usr/lib/cmake/llvm
+ }
+}
+
+libllvm14_package() {
+ short_desc+=" - runtime library"
+ pkg_install() {
+ vmove "usr/lib/libLLVM-*.so*"
+ }
+}
diff --git a/srcpkgs/llvm14/update b/srcpkgs/llvm14/update
new file mode 100644
index 00000000000000..baa6a6b6acf9a7
--- /dev/null
+++ b/srcpkgs/llvm14/update
@@ -0,0 +1,3 @@
+site="https://github.com/llvm/llvm-project/releases"
+pattern="llvmorg-\K(15)\.(\d+)\.+\d+(-rc\d+)?"
+ignore="*-rc*"
From 075e2075441ebc472f057906c91f0db1d8aa9380 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 7 Jul 2024 17:17:13 -0400
Subject: [PATCH 02/11] New package: SPIRV-LLVM-Translator14-14.0.0_1
---
common/shlibs | 2 ++
srcpkgs/SPIRV-LLVM-Translator14-devel | 1 +
srcpkgs/SPIRV-LLVM-Translator14/template | 33 ++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/SPIRV-LLVM-Translator14-devel
create mode 100644 srcpkgs/SPIRV-LLVM-Translator14/template
diff --git a/common/shlibs b/common/shlibs
index 5127fa3d1e5aa4..e5f01e831d9d51 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1006,6 +1006,8 @@ libLLVM-14.so libllvm14-14.0.6_1
libLLVM-17.so libllvm17-17.0.6_1
libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.18.1 SPIRV-LLVM-Translator-18.1.2_1
+libLLVMSPIRVLib.so.14 SPIRV-LLVM-Translator14-14.0.0_1
+libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.18.1 libomp-18.1.8_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/SPIRV-LLVM-Translator14-devel b/srcpkgs/SPIRV-LLVM-Translator14-devel
new file mode 120000
index 00000000000000..d3b93d8ee52900
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator14-devel
@@ -0,0 +1 @@
+SPIRV-LLVM-Translator14
\ No newline at end of file
diff --git a/srcpkgs/SPIRV-LLVM-Translator14/template b/srcpkgs/SPIRV-LLVM-Translator14/template
new file mode 100644
index 00000000000000..05b3e4190f7d60
--- /dev/null
+++ b/srcpkgs/SPIRV-LLVM-Translator14/template
@@ -0,0 +1,33 @@
+# Template file for 'SPIRV-LLVM-Translator14'
+pkgname=SPIRV-LLVM-Translator14
+version=14.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+make_build_args="llvm-spirv"
+configure_args="-Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_SKIP_RPATH=ON
+ -DLLVM_SPIRV_INCLUDE_TESTS=OFF -DBUILD_SHARED_LIBS=ON
+ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr"
+hostmakedepends="clang14 llvm14"
+makedepends="clang-tools-extra14 llvm14-devel SPIRV-Headers"
+short_desc="API and commands for processing SPIR-V modules"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="NCSA"
+homepage="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+distfiles="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v${version}.tar.gz"
+checksum=1afc52bb4e39aeb9b5b69324a201c81bd986364f347b559995eff6fd6f013318
+
+post_install() {
+ vlicense LICENSE.TXT
+ vbin ${wrksrc}/${cmake_builddir}/tools/llvm-spirv/llvm-spirv
+}
+
+SPIRV-LLVM-Translator14-devel_package() {
+ depends="SPIRV-LLVM-Translator14-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 24f44e10512a5588c9f78e785eaf007484514820 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:13:29 -0500
Subject: [PATCH 03/11] oneVPL: update to 2023.4.0
---
srcpkgs/oneVPL/patches/cross-pc.patch | 7 ++++---
srcpkgs/oneVPL/template | 12 ++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/oneVPL/patches/cross-pc.patch b/srcpkgs/oneVPL/patches/cross-pc.patch
index 0b24a2124c9b2f..611192a3862585 100644
--- a/srcpkgs/oneVPL/patches/cross-pc.patch
+++ b/srcpkgs/oneVPL/patches/cross-pc.patch
@@ -1,5 +1,5 @@
---- a/dispatcher/pkgconfig/vpl.pc.in 2023-07-21 23:28:38.000000000 +0200
-+++ - 2023-11-14 10:16:46.665168740 +0100
+--- a/libvpl/pkgconfig/vpl.pc.in 2023-11-29 17:59:08.000000000 -0500
++++ - 15:12:59.127421949 -0500
@@ -1,6 +1,6 @@
-prefix=@pc_rel_prefix@
-libdir=@pc_rel_libdir@
@@ -7,6 +7,7 @@
+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 20dcd04f5f4976..1c78134cfc5a9f 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="pkg-config"
makedepends="libva-devel libX11-devel"
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
From 2bc6affc5552c3e54c38360183969061b4afe71e Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sat, 1 Jun 2024 14:04:38 -0400
Subject: [PATCH 04/11] obs: revbump for oneVPL-2023.4.0
---
srcpkgs/obs/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/obs/template b/srcpkgs/obs/template
index c0a57717744bcb..47ea36131b3af5 100644
--- a/srcpkgs/obs/template
+++ b/srcpkgs/obs/template
@@ -1,7 +1,7 @@
# Template file for 'obs'
pkgname=obs
version=30.2.3
-revision=2
+revision=3
archs="i686* x86_64* ppc64le* aarch64* riscv64*"
build_style=cmake
configure_args="-DOBS_VERSION_OVERRIDE=${version} -DENABLE_JACK=ON
From 49663d3c6aa7395aad2e0de3eb773c16b6da0938 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:10:52 -0500
Subject: [PATCH 05/11] New package: intel-vc-intrinsics-0.18.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 00000000000000..88641d30b5c032
--- /dev/null
+++ b/srcpkgs/intel-vc-intrinsics/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-vc-intrinsics'
+pkgname=intel-vc-intrinsics
+version=0.18.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="llvm14-devel clang14 clang-tools-extra14"
+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=b694273095356b35686c1e8684ee215f46bd8a73988092913d84216f080ef995
+
+post_install() {
+ vlicense LICENSE.md
+}
From 2635ddd8fe87859b3ea3574d791d91a98d0b6fd4 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:08:36 -0500
Subject: [PATCH 06/11] New package: intel-opencl-clang-14.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 e5f01e831d9d51..43aac4949c4c3a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1008,6 +1008,7 @@ libLLVM.so.18.1 libllvm18-18.1.8_1
libLLVMSPIRVLib.so.18.1 SPIRV-LLVM-Translator-18.1.2_1
libLLVMSPIRVLib.so.14 SPIRV-LLVM-Translator14-14.0.0_1
libLLVMSPIRVLib.so.17 SPIRV-LLVM-Translator-17.0.0_1
+libopencl-clang.so.14 intel-opencl-clang-14.0.0_1
libomp.so.5 libomp-17.0.6_1
libomptarget.so.18.1 libomp-18.1.8_1
libisofs.so.6 libisofs-0.6.24_1
diff --git a/srcpkgs/intel-opencl-clang/template b/srcpkgs/intel-opencl-clang/template
new file mode 100644
index 00000000000000..92d76ca4cdef5d
--- /dev/null
+++ b/srcpkgs/intel-opencl-clang/template
@@ -0,0 +1,19 @@
+# Template file for 'intel-opencl-clang'
+pkgname=intel-opencl-clang
+version=14.0.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DPREFERRED_LLVM_VERSION=14.0.6"
+hostmakedepends="cmake"
+makedepends="llvm14-devel clang14 clang-tools-extra14 SPIRV-LLVM-Translator14-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=ea767bdd6d631c7b23c13f7f697d457e0f514a418b0ab5a3fe0206371a0f84df
+
+post_install() {
+ vlicense LICENSE
+}
From 589d4350aec530393cf470dc988f093ed01ae85d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:11:29 -0500
Subject: [PATCH 07/11] New package: intel-graphics-compile-1.0.16900.23
---
srcpkgs/intel-graphics-compiler/template | 24 ++++++++++++++++++++++++
1 file changed, 24 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 00000000000000..72e74de8a3b4f9
--- /dev/null
+++ b/srcpkgs/intel-graphics-compiler/template
@@ -0,0 +1,24 @@
+# Template file for 'intel-graphics-compiler'
+pkgname=intel-graphics-compiler
+version=1.0.16900.23
+revision=1
+archs="x86_64*"
+build_style=cmake
+configure_args="-Wno-dev -DIGC_OPTION__LLVM_PREFERRED_VERSION=14.0.6 -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="llvm14-devel clang14 clang-tools-extra14 intel-opencl-clang intel-vc-intrinsics
+ lld14 lld14-devel SPIRV-Headers SPIRV-LLVM-Translator14-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=bf5ec8aedd2e19a2e6502b18f886a88c87cf95f3d33299eda471044d0d67d3b2
+# musl: build generated ze???_int32_t types (e.g. zeinfo_int32_t)
+CXXFLAGS="-include cstdint"
+
+post_install() {
+ vlicense LICENSE.md
+}
From 0c20f4fc9e95c9cd95217771e5ab767c26aca7c2 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:26 -0500
Subject: [PATCH 08/11] New package: intel-metrics-discovery-1.12.171
---
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 00000000000000..f436529190f1b5
--- /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.171
+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=6c8610b6902922e4683067760980cfa9b13f4c57ca7013bf14cf8db00341b5dd
+
+post_install() {
+ vlicense LICENSE.md
+}
From 2b1d74a84c01ef9e64481696712e77e2df56dc2c Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:37 -0500
Subject: [PATCH 09/11] New package: intel-metrics-library-1.0.161
---
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 00000000000000..8b9e104d759d76
--- /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.161
+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=5e8ea2b32cda4b9aab2f034b3862a30b7cb130b3eacfa55b67d37fc106350163
+
+post_install() {
+ vlicense LICENSE.md
+}
From bcedad60d27d268f8cd8f60aaa78af1b3410fa7d Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:48 -0500
Subject: [PATCH 10/11] New package: level-zero-1.17.0
---
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 00000000000000..96ee8adf7303c4
--- /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 00000000000000..d7120705a995d8
--- /dev/null
+++ b/srcpkgs/level-zero/template
@@ -0,0 +1,28 @@
+# Template file for 'level-zero'
+pkgname=level-zero
+version=1.17.0
+revision=1
+archs="x86_64*"
+build_style=cmake
+hostmakedepends="cmake git"
+makedepends="llvm14-devel clang14 clang-tools-extra14 SPIRV-LLVM-Translator14-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=edf820eab84a5f746fee730604f0381c8811f7942302c0835226715e5ae93a25
+
+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 3eb9908cc05dbe49ef116b5d40f1da69bb249b4b Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Sun, 25 Feb 2024 12:12:12 -0500
Subject: [PATCH 11/11] New package: intel-compute-runtime-24.22.29735.20
---
.../intel-compute-runtime/patches/ctime.patch | 16 +++
.../intel-compute-runtime/patches/musl.patch | 98 +++++++++++++++++++
srcpkgs/intel-compute-runtime/template | 22 +++++
3 files changed, 136 insertions(+)
create mode 100644 srcpkgs/intel-compute-runtime/patches/ctime.patch
create mode 100644 srcpkgs/intel-compute-runtime/patches/musl.patch
create mode 100644 srcpkgs/intel-compute-runtime/template
diff --git a/srcpkgs/intel-compute-runtime/patches/ctime.patch b/srcpkgs/intel-compute-runtime/patches/ctime.patch
new file mode 100644
index 00000000000000..707f800d65f5a9
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/patches/ctime.patch
@@ -0,0 +1,16 @@
+--- a/shared/source/compiler_interface/os_compiler_cache_helper.h
++++ b/shared/source/compiler_interface/os_compiler_cache_helper.h
+@@ -7,10 +7,11 @@
+
+ #pragma once
+ #include <string>
++#include <ctime>
+
+ namespace NEO {
+ class EnvironmentVariableReader;
+ bool checkDefaultCacheDirSettings(std::string &cacheDir, NEO::EnvironmentVariableReader &reader);
+ time_t getFileModificationTime(const std::string &path);
+ size_t getFileSize(const std::string &path);
+-} // namespace NEO
+\ No newline at end of file
++} // namespace NEO
diff --git a/srcpkgs/intel-compute-runtime/patches/musl.patch b/srcpkgs/intel-compute-runtime/patches/musl.patch
new file mode 100644
index 00000000000000..9aae4e5475e293
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/patches/musl.patch
@@ -0,0 +1,98 @@
+--- a/shared/source/os_interface/linux/os_library_linux.cpp
++++ b/shared/source/os_interface/linux/os_library_linux.cpp
+@@ -42,8 +42,10 @@
+ } else {
+ #if defined(SANITIZER_BUILD)
+ auto dlopenFlag = RTLD_LAZY;
+-#else
++#elif defined(__GLIBC__)
+ auto dlopenFlag = RTLD_LAZY | RTLD_DEEPBIND;
++#else
++ auto dlopenFlag = RTLD_LAZY | RTLD_GLOBAL;
+ /* Background: https://github.com/intel/compute-runtime/issues/122 */
+ #endif
+ adjustLibraryFlags(dlopenFlag);
+
+--- a/shared/offline_compiler/source/utilities/linux/safety_guard_linux.h
++++ b/shared/offline_compiler/source/utilities/linux/safety_guard_linux.h
+@@ -10,7 +10,9 @@
+
+ #include <cstdio>
+ #include <cstdlib>
++#ifdef __GLIBC__
+ #include <execinfo.h>
++#endif
+ #include <setjmp.h>
+ #include <signal.h>
+
+@@ -39,6 +39,7 @@
+ }
+
+ static void sigAction(int sigNum, siginfo_t *info, void *ucontext) {
++#ifdef __GLIBC__
+ const int callstackDepth = 30;
+ void *addresses[callstackDepth];
+ char **callstack;
+@@ -52,6 +53,9 @@
+ }
+
+ free(callstack);
++#else
++ printf("ERROR: MUSL HAS NO BACKTRACE() or execinfo!\n");
++#endif
+ longjmp(jmpbuf, 1);
+ }
+
+# https://github.com/intel/compute-runtime/issues/265#issuecomment-594581483
+--- a/shared/source/os_interface/linux/os_library_helper.cpp
++++ b/shared/source/os_interface/linux/os_library_helper.cpp
+@@ -14,7 +14,11 @@
+ namespace Linux {
+ void adjustLibraryFlags(int &dlopenFlag) {
+ if (debugManager.flags.DisableDeepBind.get()) {
++#ifdef __GLIBC__
+ dlopenFlag &= ~RTLD_DEEPBIND;
++#else
++ dlopenFlag &= ~RTLD_GLOBAL;
++#endif
+ }
+ }
+ } // namespace Linux
+--- a/level_zero/sysman/source/shared/linux/udev/udev_lib.h
++++ b/level_zero/sysman/source/shared/linux/udev/udev_lib.h
+@@ -9,6 +9,9 @@
+
+ #include <string>
+ #include <vector>
++#ifndef __dev_t_defined
++#include <sys/types.h>
++#endif /* __dev_t_defined */
+
+ namespace L0 {
+ namespace Sysman {
+
+--- a/level_zero/tools/source/sysman/linux/udev/udev_lib.h
++++ b/level_zero/tools/source/sysman/linux/udev/udev_lib.h
+@@ -9,6 +9,9 @@
+
+ #include <string>
+ #include <vector>
++#ifndef __dev_t_defined
++#include <sys/types.h>
++#endif /* __dev_t_defined */
+
+ namespace L0 {
+ class UdevLib {
+
+--- a/level_zero/sysman/source/shared/linux/sysman_fs_access_interface.cpp
++++ b/level_zero/sysman/source/shared/linux/sysman_fs_access_interface.cpp
+@@ -12,6 +12,9 @@
+ #include <fstream>
+ #include <sstream>
+ #include <unistd.h>
++#ifndef __GLIBC__
++#include <limits.h> // PATH_MAX
++#endif
+
+ namespace L0 {
+ namespace Sysman {
diff --git a/srcpkgs/intel-compute-runtime/template b/srcpkgs/intel-compute-runtime/template
new file mode 100644
index 00000000000000..2ad3687edcbb0b
--- /dev/null
+++ b/srcpkgs/intel-compute-runtime/template
@@ -0,0 +1,22 @@
+# Template file for 'intel-compute-runtime'
+pkgname=intel-compute-runtime
+version=24.22.29735.20
+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="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=010c9c8dd7d4ad42531c868760d1d36f1dd8bafdb21747cd94dc3e50c1bb6472
+
+post_install() {
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 54+ messages in thread
end of thread, other threads:[~2024-11-01 12:11 UTC | newest]
Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-29 0:04 [PR PATCH] New packages - Intel OpenCL (NEO) 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 ` [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
2024-06-01 18:04 ` [PR PATCH] [Updated] " zlice
2024-06-23 16:24 ` zlice
2024-06-25 17:40 ` zlice
2024-06-26 12:21 ` [PR PATCH] [Updated] " zlice
2024-06-26 12:26 ` zlice
2024-07-07 21:26 ` [PR PATCH] [Updated] " zlice
2024-07-14 13:25 ` [PR PATCH] [Updated] [ready] " zlice
2024-07-31 16:57 ` Calandracas606
2024-07-31 16:59 ` Calandracas606
2024-07-31 17:03 ` zlice
2024-08-01 15:42 ` Calandracas606
2024-10-31 2:00 ` github-actions
2024-11-01 12:11 ` [PR PATCH] [Updated] " zlice
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).