ClickHouse/debian/pbuilder-hooks/A00ccache

12 lines
223 B
Plaintext
Raw Normal View History

2017-12-29 18:20:03 +00:00
#!/bin/sh
if [ -n "$CCACHEDIR" ]; then
mkdir -p $CCACHEDIR
chown -R $BUILDUSERID:$BUILDUSERID $CCACHEDIR
chmod -R a+rwx $CCACHEDIR
fi
CCACHE_SIZE=${CCACHE_SIZE:=32G}
ccache --show-stats
ccache -M $CCACHE_SIZE