summaryrefslogtreecommitdiff
path: root/clang-ccache-bindings
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2019-11-28 23:05:15 +1100
committerDanny Rawlins <monster.romster@gmail.com>2019-11-28 23:09:04 +1100
commitf49c0482c7179e2d53a8cb28afce2a198acd3abd (patch)
tree1b7c4b52d227cf28d0d3d1e07446b691197d450d /clang-ccache-bindings
parent92f4ac4fd7a3a602a88923bcda27963a20cf690a (diff)
downloadopt-f49c0482c7179e2d53a8cb28afce2a198acd3abd.tar.gz
opt-f49c0482c7179e2d53a8cb28afce2a198acd3abd.tar.xz
clang-ccache-bindings: update for clang 9
Diffstat (limited to 'clang-ccache-bindings')
-rw-r--r--clang-ccache-bindings/.footprint3
-rw-r--r--clang-ccache-bindings/.signature4
-rw-r--r--clang-ccache-bindings/Pkgfile10
3 files changed, 10 insertions, 7 deletions
diff --git a/clang-ccache-bindings/.footprint b/clang-ccache-bindings/.footprint
index 1745bc788..08399004f 100644
--- a/clang-ccache-bindings/.footprint
+++ b/clang-ccache-bindings/.footprint
@@ -3,4 +3,5 @@ drwxr-xr-x root/root usr/lib/
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-8.0 -> ../../bin/ccache
+lrwxrwxrwx root/root usr/lib/ccache/clang-9 -> ../../bin/ccache
+lrwxrwxrwx root/root usr/lib/ccache/clang-9.0 -> ../../bin/ccache
diff --git a/clang-ccache-bindings/.signature b/clang-ccache-bindings/.signature
index c18a38d29..be55ec8b2 100644
--- a/clang-ccache-bindings/.signature
+++ b/clang-ccache-bindings/.signature
@@ -1,4 +1,4 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/fwhI4vtsIGZIDjyZFESP7aUBQAdASoYBLFowuLvJ57fZMgZ+SUkVL1E9hgMlndnJ0A9JJ4RR1A+UshnApHYKwA=
-SHA256 (Pkgfile) = 807356ba4011783fd4bf9e5cad26cf30c0a1542f0df74cac523952c7dc2c112e
+RWSE3ohX2g5d/fQwAiNC40XmvCTfcS1drtPphvyiaeRZkdFy53IcylJLkHJxSouWgJR7wfRKXKSQ8bzSHbeFV77T10cku7MZ1Qk=
+SHA256 (Pkgfile) = 53d1fae09d5c56e27d4ad944ad6b6102f815d1eb4ecc6e1838a157cdf290f3df
SHA256 (.footprint) = 5adac0fcd1bf4fee8c1996b57ee83a30043b42da087159727dfe73f2470827e7
diff --git a/clang-ccache-bindings/Pkgfile b/clang-ccache-bindings/Pkgfile
index 8269962b3..a4bdc6a20 100644
--- a/clang-ccache-bindings/Pkgfile
+++ b/clang-ccache-bindings/Pkgfile
@@ -5,21 +5,23 @@
name=clang-ccache-bindings
version=1
-release=3
+release=4
source=()
build() {
install -d $PKG/usr/lib/ccache
- local clang="$(clang++ -v 2>&1 | grep version | sed 's/.*version \([0-9]*.[0-9]*\).[0-9]* .*/\1/g')"
+ 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')"
- if [ -z $clang ]; then
+ if [ -z $clang0 ]; then
echo 'Failed to find clang version'
exit 1
fi
ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang
- ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang-$clang
+ ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang-$clang0
+ ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang-$clang1
ln -s ../../bin/ccache $PKG/usr/lib/ccache/clang++
}

Generated by cgit