Skip to content

Commit

Permalink
MISC: macbuild.sh: use ccache
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Westerfeld <[email protected]>
  • Loading branch information
swesterfeld committed Jun 23, 2024
1 parent f754430 commit afeaa09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions misc/macbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export PATH="$(brew --prefix python)/bin:$PATH"
export UBSAN_OPTIONS=halt_on_error=1
export NPROC=$(sysctl -n hw.ncpu)

export CCACHE_DIR=$PWD/ccache
export CCACHE_MAXSIZE=1G
export CC="ccache clang" CXX="ccache clang++"

if [[ "$1" == "sanitize" ]]; then
./autogen.sh --with-download-instruments --enable-asan --enable-ubsan --without-jack

Expand Down

0 comments on commit afeaa09

Please sign in to comment.