@@ -6,7 +6,7 @@ do_steps: &do_steps
66 steps :
77 - run : echo "$CROSS_COMPILE" > ~/_cross_compile
88 - restore_cache :
9- key : code-tree-shallow
9+ key : code-tree-shallow-{{ .Environment.CACHE_VERSION }}
1010 - run :
1111 name : checkout build tree
1212 command : |
@@ -22,7 +22,7 @@ do_steps: &do_steps
2222 fi
2323 git reset --hard $CIRCLE_SHA1
2424 - save_cache :
25- key : code-tree-shallow-{{ epoch }}
25+ key : code-tree-shallow-{{ .Environment.CACHE_VERSION }}-{{ epoch }}
2626 paths :
2727 - /home/ubuntu/project/.git
2828 - run :
@@ -33,7 +33,7 @@ do_steps: &do_steps
3333 rm -rf ~/junit
3434 - run : mkdir -p /home/ubuntu/.ccache
3535 - restore_cache :
36- key : compiler-cache-{{ checksum "~/_cross_compile" }}
36+ key : compiler-cache-{{ checksum "~/_cross_compile" }}-{{ .Environment.CACHE_VERSION }}
3737 - run :
3838 name : build DPDK
3939 command : |
@@ -65,7 +65,7 @@ do_steps: &do_steps
6565 - save_cache :
6666 paths :
6767 - /home/ubuntu/.ccache
68- key : compiler-cache-{{ checksum "~/_cross_compile" }}-{{ epoch }}
68+ key : compiler-cache-{{ checksum "~/_cross_compile" }}-{{ .Environment.CACHE_VERSION }}-{{ epoch }}
6969 - run :
7070 name : wait emulator to boot
7171 command : |
@@ -146,11 +146,11 @@ jobs:
146146 environment :
147147 steps :
148148 - restore_cache :
149- key : code-tree-full-history
149+ key : code-tree-full-history-{{ .Environment.CACHE_VERSION }}
150150 - checkout
151151 - run : tools/lkl/scripts/checkpatch.sh
152152 - save_cache :
153- key : code-tree-full-history-{{ epoch }}
153+ key : code-tree-full-history-{{ .Environment.CACHE_VERSION }}-{{ epoch }}
154154 paths :
155155 - /home/ubuntu/project/.git
156156 when : always
0 commit comments