Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/scripts/utils.zsh/setup_ccache
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
autoload -Uz log_debug log_warning
autoload -Uz is-at-least log_debug log_warning

if (( ${+commands[ccache]} )) {
log_debug "Found ccache at ${commands[ccache]}"

ccache --set-config=run_second_cpp=true
local ccache_version=$(ccache --version | head -1 | cut -d ' ' -f 3)
if ! is-at-least 4.12 ${ccache_version}; then
ccache --set-config=run_second_cpp=true
fi

ccache --set-config=direct_mode=true
ccache --set-config=inode_cache=true
ccache --set-config=compiler_check=content
Expand Down
1 change: 0 additions & 1 deletion cmake/macos/resources/ccache-launcher-c.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ if [[ "$1" == "${CMAKE_C_COMPILER}" ]] ; then
shift
fi

export CCACHE_CPP2=true
export CCACHE_DEPEND=true
export CCACHE_DIRECT=true
export CCACHE_FILECLONE=true
Expand Down
1 change: 0 additions & 1 deletion cmake/macos/resources/ccache-launcher-cxx.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ if [[ "$1" == "${CMAKE_CXX_COMPILER}" ]] ; then
shift
fi

export CCACHE_CPP2=true
export CCACHE_DEPEND=true
export CCACHE_DIRECT=true
export CCACHE_FILECLONE=true
Expand Down
2 changes: 1 addition & 1 deletion plugins/obs-browser