diff options
author | Danny Rawlins <contact@romster.me> | 2021-02-17 20:53:22 +1100 |
---|---|---|
committer | Danny Rawlins <contact@romster.me> | 2021-02-17 20:54:41 +1100 |
commit | 33de66e3502a9a4bdbf12c37102f57ce0de88ced (patch) | |
tree | 33c55a83b1ddf82b7a326dc58b3eeb2a17339669 /clang-ccache-bindings | |
parent | 59deda4f345e344c872872268e5d79206895866e (diff) | |
download | opt-33de66e3502a9a4bdbf12c37102f57ce0de88ced.tar.gz opt-33de66e3502a9a4bdbf12c37102f57ce0de88ced.tar.xz |
clang-ccache-bindings: update footprint
Diffstat (limited to 'clang-ccache-bindings')
-rw-r--r-- | clang-ccache-bindings/.footprint | 2 | ||||
-rw-r--r-- | clang-ccache-bindings/.signature | 6 | ||||
-rw-r--r-- | clang-ccache-bindings/Pkgfile | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/clang-ccache-bindings/.footprint b/clang-ccache-bindings/.footprint index 2178d1d78..b32fb7c3b 100644 --- a/clang-ccache-bindings/.footprint +++ b/clang-ccache-bindings/.footprint @@ -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 diff --git a/clang-ccache-bindings/.signature b/clang-ccache-bindings/.signature index ecd56bd72..827cd725b 100644 --- a/clang-ccache-bindings/.signature +++ b/clang-ccache-bindings/.signature @@ -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 diff --git a/clang-ccache-bindings/Pkgfile b/clang-ccache-bindings/Pkgfile index 4d4ee8023..cad2008c4 100644 --- a/clang-ccache-bindings/Pkgfile +++ b/clang-ccache-bindings/Pkgfile @@ -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' |