forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New packages - Intel OpenCL (NEO) void-linux#43084
see void-linux#43084
- Loading branch information
Showing
9 changed files
with
151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
license="MIT" | ||
homepage="https://github.com/intel/compute-runtime" | ||
distfiles="${homepage}/archive/refs/tags/${version}.tar.gz" | ||
checksum=abe2e6d9d2ac771d5f42ee2357ce897ca3b00dc6185c06f3f62772f729c7f8e1 | ||
|
||
post_install() { | ||
vlicense LICENSE.md | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
license="NCSA" | ||
homepage="https://github.com/intel/opencl-clang" | ||
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" | ||
checksum=ea179674e52bc8c658e2655f76be467f7052f7d2c37ebcfdb102dce645ad1411 | ||
|
||
post_install() { | ||
vlicense LICENSE | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
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 | ||
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
level-zero/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
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" | ||
} | ||
} |