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
1 change: 1 addition & 0 deletions .github/actions/setup-ccache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ runs:
mkdir -p .ccache
echo "CCACHE_NOHASHDIR=1" >> $GITHUB_ENV
echo "CCACHE_BASEDIR=${{ github.workspace }}" >> $GITHUB_ENV
echo "CCACHE_PREFIX_CPP=${{ github.workspace }}/scripts/helpers/ccache-prefix-cpp.sh" >> $GITHUB_ENV
echo "CCACHE_SLOPPINESS=time_macros" >> $GITHUB_ENV
echo "CCACHE_DIR=${{ github.workspace }}/.ccache" >> $GITHUB_ENV
echo "CCACHE_COMPILERCHECK=content" >> $GITHUB_ENV
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/examples-linux-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ concurrency:

env:
CCACHE_NOHASHDIR: 1
CCACHE_BASEDIR: ${{ github.workspace }}
CCACHE_PREFIX_CPP: ${{ github.workspace }}/scripts/helpers/ccache-prefix-cpp.sh
CHIP_NO_LOG_TIMESTAMPS: true
CHIP_PW_COMMAND_LAUNCHER: ccache

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/examples-linux-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ concurrency:

env:
CCACHE_NOHASHDIR: 1
CCACHE_BASEDIR: ${{ github.workspace }}
CCACHE_PREFIX_CPP: ${{ github.workspace }}/scripts/helpers/ccache-prefix-cpp.sh
CHIP_NO_LOG_TIMESTAMPS: true
CHIP_PW_COMMAND_LAUNCHER: ccache

Expand Down
6 changes: 3 additions & 3 deletions scripts/setup/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,14 @@ if [ -n "$ZSH_VERSION" ]; then
fi

# Set ccache environment variables
# TODO: For now, the no-hash-dir is not enabled globally, however, anyone can
# TODO: For now, the ccache env is not enabled globally, however, anyone can
# enable it in the local environment, so apps build in different output
# directories can reuse cache. In order to enable it globally we need
# to figure out why NRF builds do not work when sharing cache between
# applications.
#export CCACHE_NOHASHDIR=1
export CCACHE_PREFIX_CPP="$_CHIP_ROOT/scripts/helpers/ccache-prefix-cpp.sh"
export CCACHE_BASEDIR="$_CHIP_ROOT"
#export CCACHE_BASEDIR="$_CHIP_ROOT"
#export CCACHE_PREFIX_CPP="$_CHIP_ROOT/scripts/helpers/ccache-prefix-cpp.sh"

unset -f _bootstrap_or_activate
unset -f _install_additional_pip_requirements
Expand Down
Loading