summaryrefslogtreecommitdiff
path: root/virtual/opencl
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /virtual/opencl
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'virtual/opencl')
-rw-r--r--virtual/opencl/metadata.xml10
-rw-r--r--virtual/opencl/opencl-3-r5.ebuild37
2 files changed, 47 insertions, 0 deletions
diff --git a/virtual/opencl/metadata.xml b/virtual/opencl/metadata.xml
new file mode 100644
index 000000000000..b5f6bf6ac305
--- /dev/null
+++ b/virtual/opencl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/virtual/opencl/opencl-3-r5.ebuild b/virtual/opencl/opencl-3-r5.ebuild
new file mode 100644
index 000000000000..155f55647632
--- /dev/null
+++ b/virtual/opencl/opencl-3-r5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for OpenCL API"
+SLOT="0"
+KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
+
+RDEPEND="
+ >=dev-libs/opencl-icd-loader-2023.02.06[${MULTILIB_USEDEP}]
+"
+
+pkg_postinst() {
+ elog
+ elog "In order to take advantage of OpenCL you will need a runtime for your hardware."
+ elog "Currently included in Gentoo are:"
+ elog
+ elog " * open:"
+ elog " - dev-libs/intel-compute-runtime - integrated Intel GPUs from Gen12 onwards. 64-bit only;"
+ elog " - dev-libs/intel-compute-runtime:legacy - integrated Intel GPUs from Gen8 up to Gen11. 64-bit only;"
+ elog " - dev-libs/pocl - to run OpenCL programs on your CPU, if you do not have a supported GPU;"
+ elog " - dev-libs/rocm-opencl-runtime - AMD GPUs supported by the amdgpu kernel driver. 64-bit only;"
+ elog " - media-libs/mesa[opencl] - some older AMD GPUs; see [1]. 32-bit support;"
+ elog
+ elog " * proprietary:"
+ elog " - dev-libs/amdgpu-pro-opencl - AMD Polaris GPUs. 32-bit support;"
+ elog " - dev-util/intel-ocl-sdk - Intel CPUs (*not* GPUs). 64-bit only;"
+ elog " - x11-drivers/nvidia-drivers - Nvidia GPUs; specific package versions"
+ elog " required for older devices [2]. 32-bit support."
+ elog
+ elog " [1] https://dri.freedesktop.org/wiki/GalliumCompute/"
+ elog " [2] https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/"
+ elog
+}