new packages: bencmark, grpc, warpinator and index
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/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 shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBENCHMARK_ENABLE_LTO=ON \
|
||||
-DBENCHMARK_ENABLE_GTEST_TESTS=OFF", sourceDir="..")
|
||||
|
||||
def build():
|
||||
cmaketools.make("-C build")
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
#pisitools.dodoc("LICENSE", "README.md")
|
||||
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>benchmark</Name>
|
||||
<Homepage>https://github.com/google/benchmark</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Apache</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A microbenchmark support library</Summary>
|
||||
<Description>A library to benchmark code snippets, similar to unit tests.</Description>
|
||||
<Archive sha1sum="1faaa54195824bbe151c1ebee31623232477d075" type="targz">https://github.com/google/benchmark/archive/refs/tags/v1.6.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>git</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>benchmark</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libbenchmark.so*</Path>
|
||||
<Path fileType="library">/usr/lib/libbenchmark_main.so*</Path>
|
||||
<Path fileType="doc">/usr/share/doc/benchmark</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>benchmark-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">benchmark</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-06-11</Date>
|
||||
<Version>1.6.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>benchmark</Name>
|
||||
<Summary xml:lang="tr">Bir mikro kıyaslama destek kitaplığı</Summary>
|
||||
<Description xml:lang="tr">Birim testlerine benzer şekilde kod parçacıklarını karşılaştırmak için bir kitaplık.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user