diff options
author | Cem Keylan <cem@ckyln.com> | 2020-10-20 15:08:47 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-10-20 15:08:47 +0300 |
commit | 27e99351ba6a71145d11a37a9ea564e038eb786e (patch) | |
tree | 4211f02f06898eb4d14e961984d5b0dec812d192 | |
parent | 000bb28c6c7c3bd59424f0cb3650d5612915c4a8 (diff) | |
download | repository-27e99351ba6a71145d11a37a9ea564e038eb786e.tar.gz |
ccache: bump to 4.0
-rwxr-xr-x | extra/ccache/build | 21 | ||||
-rw-r--r-- | extra/ccache/checksums | 2 | ||||
-rw-r--r-- | extra/ccache/depends | 3 | ||||
-rw-r--r-- | extra/ccache/sources | 2 | ||||
-rw-r--r-- | extra/ccache/version | 2 |
5 files changed, 17 insertions, 13 deletions
diff --git a/extra/ccache/build b/extra/ccache/build index 1b063cc2..d78718ae 100755 --- a/extra/ccache/build +++ b/extra/ccache/build @@ -1,18 +1,21 @@ #!/bin/sh -e -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var +export DESTDIR=$1 +export LDFLAGS="$LDFLAGS -static" -make +TEST=OFF +[ "$CPT_TEST" ] && TEST=ON -install -Dm 755 ccache "$1/usr/bin/ccache" -install -Dm 644 doc/ccache.1 "$1/usr/share/man/man1/ccache.1" +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DENABLE_TESTING=$TEST \ + -DZSTD_LIBRARY=/usr/lib/libzstd.a -mkdir -p "$1/usr/lib/ccache/bin" +cmake --build build +cmake --install build +mkdir -p "$1/usr/lib/ccache/bin" triplet=$(cc -dumpmachine) for link in cc gcc g++ cpp c++ "$triplet-cc" "$triplet-gcc" \ diff --git a/extra/ccache/checksums b/extra/ccache/checksums index 1a468347..616a680b 100644 --- a/extra/ccache/checksums +++ b/extra/ccache/checksums @@ -1 +1 @@ -a02f4e8360dc6618bc494ca35b0ae21cea080f804a4898eab1ad3fcd108eb400 ccache-3.7.12.tar.xz +ac1b82fe0a5e39905945c4d68fcb24bd0f32344869faf647a1b8d31e544dcb88 ccache-4.0.tar.xz diff --git a/extra/ccache/depends b/extra/ccache/depends index f22003e8..e52bd7d6 100644 --- a/extra/ccache/depends +++ b/extra/ccache/depends @@ -1 +1,2 @@ -zlib +cmake make +zstd make diff --git a/extra/ccache/sources b/extra/ccache/sources index ae9955b5..d085dba5 100644 --- a/extra/ccache/sources +++ b/extra/ccache/sources @@ -1 +1 @@ -https://github.com/ccache/ccache/releases/download/v3.7.12/ccache-3.7.12.tar.xz +https://github.com/ccache/ccache/releases/download/v4.0/ccache-4.0.tar.xz diff --git a/extra/ccache/version b/extra/ccache/version index b7fc787d..6c899f05 100644 --- a/extra/ccache/version +++ b/extra/ccache/version @@ -1 +1 @@ -3.7.12 1 +4.0 1 |