From 606da0254de6e0a3796d4cdfdcd66ebc1f7a9c31 Mon Sep 17 00:00:00 2001 From: zlice 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 " +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 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 " +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 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 " +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 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 " +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 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 " +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 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 " +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 +}