Skip to content

Commit

Permalink
[no ci] ccache?
Browse files Browse the repository at this point in the history
  • Loading branch information
eebssk1 authored Jul 23, 2024
1 parent e142156 commit cce5fdb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions b.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ if [ -e /opt/newclang/bin ]; then
export PATH=/opt/newclang/bin:$PATH
fi

hash -r

if [ x$2 = xgcc ]; then
KCFLAGS="-fgraphite -fgraphite-identity -fipa-pta -fmodulo-sched -fmodulo-sched-allow-regmoves -freschedule-modulo-scheduled-loops -flive-range-shrinkage -floop-nest-optimize -fsched-pressure -fsched-spec-load -fsched-stalled-insns=4 -fsched-stalled-insns-dep=6 -fschedule-insns -ftree-lrs -fweb -fira-region=mixed -fgcse-las -malign-data=cacheline -mrelax-cmpxchg-loop @$PWD/../gp.txt"
else
Expand Down Expand Up @@ -83,10 +85,11 @@ export LLVM=1
fi

if [ "x$(which ccache)" != "x" ]; then
echo "Found ccache !"
ccache -o compression_level=3
ccache -o sloppiness=locale
export CC="ccache $CC"
fi

make olddefconfig
make bindeb-pkg -j3 V=1
make olddefconfig CC="$CC"
make bindeb-pkg -j3 V=1 CC="$CC"

0 comments on commit cce5fdb

Please sign in to comment.