File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 8585 - name : install dependencies
8686 run : |
8787 .github/workflows/dependencies/nvcc11.sh
88+ - name : CCache Cache
89+ uses : actions/cache@v2
90+ # - once stored under a key, they become immutable (even if local cache path content changes)
91+ # - for a refresh the key has to change, e.g., hash of a tracked file in the key
92+ with :
93+ path : ~/.ccache
94+ key : ccache-cuda-gnumake-${{ hashFiles('.github/workflows/cuda.yml') }}-${{ hashFiles('cmake/dependencies/AMReX.cmake') }}
95+ restore-keys : |
96+ ccache-cuda-gnumake-${{ hashFiles('.github/workflows/cuda.yml') }}-
97+ ccache-cuda-gnumake-
8898 - name : build WarpX
8999 run : |
90100 export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export CEI_TMP="/tmp/cei"
5151
5252# ccache 4.2+
5353#
54- cmake-easyinstall --prefix=/usr/local \
54+ CXXFLAGS= " " cmake-easyinstall --prefix=/usr/local \
5555 git+https://github.com/ccache/
[email protected] \
5656 -DCMAKE_BUILD_TYPE=Release \
5757 -DENABLE_DOCUMENTATION=OFF \
You can’t perform that action at this time.
0 commit comments