add libhighway.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
i = ''.join([
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DBUILD_SHARED_LIBS=ON',
|
||||
' -DHWY_SYSTEM_GTEST=ON',
|
||||
' -B_build -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
cmaketools.configure(i)
|
||||
|
||||
def build():
|
||||
cmaketools.make("-C _build")
|
||||
|
||||
def install():
|
||||
cmaketools.install("-C _build")
|
||||
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libhwy</Name>
|
||||
<Homepage>https://github.com/google/highway</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>Apache-2</License>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>programming.library</PartOf>
|
||||
<Summary>Efficient and performance-portable vector software.</Summary>
|
||||
<Description>Highway is a C++ library that provides portable SIMD/vector intrinsics.</Description>
|
||||
<Archive sha1sum="4853600bf59560ef448b48e7874063f1e43bee7b" type="targz">
|
||||
https://github.com/google/highway/archive/refs/tags/1.0.2.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>gtest-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level='1'></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libhwy</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libhwy-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libhwy</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="headers">/usr/include/hwy</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2023-01-06</Date>
|
||||
<Version>1.0.2</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user