ccache-4.10.2
This commit is contained in:
@@ -2,31 +2,32 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import cmaketools, mesontools, pisitools, get
|
||||||
from pisi.actionsapi import autotools
|
|
||||||
from pisi.actionsapi import pisitools
|
i = ''.join([
|
||||||
from pisi.actionsapi import get
|
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||||
|
' -DREDIS_STORAGE_BACKEND=OFF',
|
||||||
|
' -Bbuild -G Ninja -L '
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
if shelltools.isDirectory("zlib"):
|
cmaketools.configure(i)
|
||||||
shelltools.unlinkDir("zlib")
|
|
||||||
|
|
||||||
autotools.configure("--prefix=/usr")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
mesontools.build()
|
||||||
|
|
||||||
def check():
|
def check():
|
||||||
autotools.make("check")
|
# mesontools.build("test")
|
||||||
|
pass
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.install()
|
mesontools.install()
|
||||||
|
|
||||||
# Create symlinks
|
# Create symlinks
|
||||||
for cc in ("gcc", "g++", "cc", "c++"): # , "clang" , "clang++"
|
for cc in ("gcc", "g++", "cc", "c++"): # , "clang" , "clang++"
|
||||||
pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s" % cc)
|
pisitools.dosym("/usr/bin/ccache", "/usr/lib/ccache/bin/%s" % cc)
|
||||||
pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s-%s" % (get.HOST(), cc))
|
pisitools.dosym("/usr/bin/ccache", "/usr/lib/ccache/bin/%s-%s" % (get.HOST(), cc))
|
||||||
|
|
||||||
#pisitools.dodoc("LICENSE.txt", "README.txt")
|
pisitools.dodoc("GPL-3.0.txt", "LGPL-3.0.txt")
|
||||||
|
|||||||
@@ -1,39 +1,53 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>ccache</Name>
|
<Name>ccache</Name>
|
||||||
<Homepage>https://ccache.samba.org/</Homepage>
|
<Homepage>https://ccache.dev/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>GPLv3+</License>
|
<License>GPLv3</License>
|
||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>Fast C/C++ compiler cache</Summary>
|
<Summary>Fast C/C++ compiler cache.</Summary>
|
||||||
<Description>ccache is a compiler cache. It speeds up recompilation of C/C++ code by caching previous compiles and detecting when the same compile is being done.</Description>
|
<Description>Ccache speeds up recompilation of C/C++ code by caching previous compiles and detecting when the same compile is being done.</Description>
|
||||||
<!-- <Archive sha1sum="5acfdea35d379cadf192363e21f3e25e0f35b01c" type="tarxz">http://samba.org/ftp/ccache/ccache-3.7.1.tar.xz</Archive> -->
|
<Archive sha1sum="cff97f7592f5042eb43cb54a6d12a1ce7e49da62" type="tarxz">https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2.tar.xz</Archive>
|
||||||
<Archive sha1sum="a974ffc4d2328562da9308e508806b3be96975ef" type="tarxz">https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.xz</Archive>
|
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>ninja</Dependency>
|
||||||
|
<Dependency>fmt-devel</Dependency>
|
||||||
|
<Dependency>zstd-devel</Dependency>
|
||||||
|
<Dependency>asciidoctor</Dependency>
|
||||||
|
<Dependency>blake3-devel</Dependency>
|
||||||
|
<Dependency>xxhash-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>ccache</Name>
|
<Name>ccache</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<!--Dependency>gcc</Dependency-->
|
<Dependency>fmt</Dependency>
|
||||||
<Dependency>zlib</Dependency>
|
<Dependency>zstd</Dependency>
|
||||||
|
<Dependency>blake3</Dependency>
|
||||||
|
<Dependency>xxhash</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="executable">/usr/lib/ccache/bin</Path>
|
<Path fileType="executable">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="5">
|
||||||
|
<Date>2025-02-11</Date>
|
||||||
|
<Version>4.10.2</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="4">
|
<Update release="4">
|
||||||
<Date>2021-05-18</Date>
|
<Date>2021-05-18</Date>
|
||||||
<Version>3.7.7</Version>
|
<Version>3.7.7</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user