gperftools update
This commit is contained in:
@@ -10,10 +10,6 @@ from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
# fix for glibc 2.16
|
||||
#pisitools.dosed("src/base/linuxthreads.cc", "siginfo_t", "siginfo")
|
||||
shelltools.chmod("autogen.sh", 0755)
|
||||
shelltools.system("./autogen.sh")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--enable-fast-install \
|
||||
@@ -23,6 +19,8 @@ def setup():
|
||||
# Disable rpath
|
||||
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
|
||||
pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make("noinst_PROGRAMS=' '")
|
||||
|
||||
@@ -13,13 +13,17 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Google Performance Tools</Summary>
|
||||
<Description>Perf Tools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.</Description>
|
||||
<Archive sha1sum="a5b3db3e640e7ea4a0c5a49a8e666658234396aa" type="targz">http://source.pisilinux.org/1.0/gperftools-846b775dfadb.tar.gz</Archive>
|
||||
<Archive sha1sum="13b904d0d1f220e43e4495f3403ee280c6da26ea" type="targz">https://github.com/gperftools/gperftools/releases/download/gperftools-2.4/gperftools-2.4.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libunwind-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gperftools</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libunwind</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -58,6 +62,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2016-01-25</Date>
|
||||
<Version>2.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-06-02</Date>
|
||||
<Version>2.2</Version>
|
||||
|
||||
Reference in New Issue
Block a user