From 1ff12d000a53149b475f59db3021e2b74a37013e Mon Sep 17 00:00:00 2001 From: idriskalp Date: Sat, 11 Jan 2020 01:44:42 +0300 Subject: [PATCH] opencl-icd add to repo --- x11/misc/opencl-icd/actions.py | 29 ++++++++++++++++ x11/misc/opencl-icd/pspec.xml | 60 ++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100755 x11/misc/opencl-icd/actions.py create mode 100755 x11/misc/opencl-icd/pspec.xml diff --git a/x11/misc/opencl-icd/actions.py b/x11/misc/opencl-icd/actions.py new file mode 100755 index 0000000000..7646e673a4 --- /dev/null +++ b/x11/misc/opencl-icd/actions.py @@ -0,0 +1,29 @@ + +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Copyright 2009 TUBITAK/UEKAE +# Licensed under the GNU General Public License, version 2. +# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + pisitools.insinto("/usr/include/CL", "OpenCL-Headers-2.1/CL/*") + shelltools.export("CFLAGS", "-I%s/usr/include -O2") + shelltools.export("CXXFLAGS", "-I%s/usr/include -O2") + + autotools.autoreconf("-vfi") + + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("COPYING","NEWS", "README") \ No newline at end of file diff --git a/x11/misc/opencl-icd/pspec.xml b/x11/misc/opencl-icd/pspec.xml new file mode 100755 index 0000000000..21e7fa4e17 --- /dev/null +++ b/x11/misc/opencl-icd/pspec.xml @@ -0,0 +1,60 @@ + + + + + opencl-icd + https://forge.imag.fr/projects/ocl-icd/ + + Mathias Freire + mathiasfreire45@gmail.com + + BSD + Clause + library + OpenCL ICD loader library + OpenCL is a royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices. + https://github.com/OCL-dev/ocl-icd/archive/v2.2.12.tar.gz + https://sourceforge.net/projects/pisilinux/files/source/OpenCL-Headers-2.1.tar.xz + + ruby + + + + + opencl-icd + + /usr/lib + /usr/share/man + /usr/share/doc + + + + + opencl-icd-32bit + emul32 + emul32 + + /usr/lib32 + + + + + opencl-icd-devel + + /usr/include + /usr/lib/pkgconfig + + + + + + 2019-11-15 + 2.2.12 + First Release + Idris Kalp + idriskalp@gmail.com + + + + +