spiv-llvm

This commit is contained in:
Rmys
2021-06-05 14:48:42 +03:00
parent dfee189ef4
commit 8c78e10277
7 changed files with 267253 additions and 266820 deletions
+267135 -266818
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
3ff517b0f409c201529c43e09d373f07878b22d4
65d3c5ce114f4d3696fb966800e70fa0d51bb330
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
dc1882d6f56b5931ccf4dd4c2ee8d6698ddb90c8
b96f1b09213893dc69bf2be6ec6856fee827ecf1
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_SKIP_RPATH=ON \
-DLLVM_INCLUDE_TESTS=ON")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE*", "README*")
+84
View File
@@ -0,0 +1,84 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>spirv-llvm</Name>
<Homepage>https://github.com/KhronosGroup/SPIRV-LLVM-Translator</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>custom</License>
<IsA>library</IsA>
<Summary>Tool and a library for bi-directional translation between SPIR-V and LLVM IR</Summary>
<Description>Tool and a library for bi-directional translation between SPIR-V and LLVM IR</Description>
<Archive sha1sum="d4ab8f0bb0a442e65328c17ac49757dea4cacfe7" type="targz">https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v12.0.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>python3=devel</Dependency>
<Dependency>llvm-mlir</Dependency>
<Dependency>llvm-libs</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>llvm-clang-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>spirv-llvm.patch</Patch>
<Patch level="1">spirv-llvm.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>spirv-llvm</Name>
<RuntimeDependencies>
<Dependency>llvm</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>spirv-llvm-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for spirv-llvm</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>llvm-32bit</Dependency>
<Dependency>libxml2-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>llvm-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<Package>
<Name>spirv-llvm-devel</Name>
<Summary>Development files for spirv-llvm</Summary>
<RuntimeDependencies>
<Dependency release="current">spirv-llvm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/lib32/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-06-05</Date>
<Version>12.0.0</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>spirv-llvm</Name>
<Summary xml:lang="tr">Tool and a library for bi-directional translation between SPIR-V and LLVM IR</Summary>
<Description xml:lang="tr">Tool and a library for bi-directional translation between SPIR-V and LLVM IR</Description>
</Source>
</PISI>