clang-ccache-bindings: update footprint

This commit is contained in:
Danny Rawlins 2021-02-17 20:53:22 +11:00
parent 59deda4f34
commit 33de66e350
3 changed files with 7 additions and 7 deletions

View File

@ -4,4 +4,4 @@ drwxr-xr-x root/root usr/lib/ccache/
lrwxrwxrwx root/root usr/lib/ccache/clang -> ../../bin/ccache
lrwxrwxrwx root/root usr/lib/ccache/clang++ -> ../../bin/ccache
lrwxrwxrwx root/root usr/lib/ccache/clang-11 -> ../../bin/ccache
lrwxrwxrwx root/root usr/lib/ccache/clang-11.0 -> ../../bin/ccache
lrwxrwxrwx root/root usr/lib/ccache/clang-11.1 -> ../../bin/ccache

View File

@ -1,4 +1,4 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Tnku5q5YBqOUxyAA7QCfc/VYmQuSHylJXUQdTekvtMl4k6y+72YN0kgecbUTlKrZGeQN3IW1Oj51w33727qgwM=
SHA256 (Pkgfile) = 61c04b25c1a59dc158823b526dfe4a763ddd38414564630b265998b2a2c076bd
SHA256 (.footprint) = 50fcd79bec335679df5be4f2affaa8bbfae5122d92287d184bb2d2618750afaf
RWSE3ohX2g5d/QwuB+JzuMHIGamCApBJ42BnI4OP+w+7TWWBAKS409O5QdKbrxX6N58H2p4pUAqmPGGDxLTjdu+ndjNCGxcgOQM=
SHA256 (Pkgfile) = beb3b76ce3bdde2c12b71743628ca9345d9a239877d13a9089cd1377a47bf1da
SHA256 (.footprint) = 9fd862d8969c211e5bef766f78decd13b3e0b9f099245016144c53d00b642ca9

View File

@ -1,5 +1,5 @@
# Description: Masquerade directory to use ccache with clang.
# URL: http://llvm.org/
# URL: https://ccache.dev/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: ccache clang
@ -11,8 +11,8 @@ source=()
build() {
install -d $PKG/usr/lib/ccache
local clang0="$(clang++ -v 2>&1 | grep version | sed 's/.*version \([0-9]*\).[0-9]*.[0-9]*/\1/g')"
local clang1="$(clang++ -v 2>&1 | grep version | sed 's/.*version \([0-9]*.[0-9]*\).[0-9]*/\1/g')"
local clang0="$(clang --version | awk '/version/ { split($3,i,"."); print i[1]"."i[2] }')"
local clang1="${clang0:0:2}"
if [ -z "$clang0" ]; then
echo 'Failed to find clang version'