opencl-icd add to repo

This commit is contained in:
idriskalp
2020-01-11 01:44:42 +03:00
parent 0537bfd141
commit 1ff12d000a
2 changed files with 89 additions and 0 deletions
+29
View File
@@ -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")
+60
View File
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>opencl-icd</Name>
<Homepage>https://forge.imag.fr/projects/ocl-icd/</Homepage>
<Packager>
<Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email>
</Packager>
<License>BSD</License>
<License>Clause</License>
<IsA>library</IsA>
<Summary>OpenCL ICD loader library</Summary>
<Description>OpenCL is a royalty-free standard for cross-platform, parallel programming of modern processors found in personal computers, servers and handheld/embedded devices.</Description>
<Archive sha1sum="437a9ddb5ab51c7cf9589b83c86df5cfbad918f2" type="targz">https://github.com/OCL-dev/ocl-icd/archive/v2.2.12.tar.gz</Archive>
<Archive sha1sum="67aaa4264084ae0551f1f3045998e78b217ee37d" type="tarxz" target="ocl-icd-2.2.12">https://sourceforge.net/projects/pisilinux/files/source/OpenCL-Headers-2.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>ruby</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>opencl-icd</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>opencl-icd-32bit</Name>
<BuildType>emul32</BuildType>
<PartOf>emul32</PartOf>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<Package>
<Name>opencl-icd-devel</Name>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="config">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-11-15</Date>
<Version>2.2.12</Version>
<Comment>First Release</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
</History>
</PISI>