Clear C dependency files from cache (#4692)
This commit is contained in:
		@@ -40,6 +40,10 @@ fi
 | 
				
			|||||||
BENCH_FILE=bench_output.log
 | 
					BENCH_FILE=bench_output.log
 | 
				
			||||||
BENCH_ARTIFACT=current_bench_results.log
 | 
					BENCH_ARTIFACT=current_bench_results.log
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Clear the C dependency files, if dependeny moves these files are not regenerated
 | 
				
			||||||
 | 
					test -d target/debug/bpf && find target/debug/bpf -name '*.d' -delete
 | 
				
			||||||
 | 
					test -d target/release/bpf && find target/release/bpf -name '*.d' -delete
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Ensure all dependencies are built
 | 
					# Ensure all dependencies are built
 | 
				
			||||||
_ cargo +$rust_nightly build --all --release
 | 
					_ cargo +$rust_nightly build --all --release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,6 +19,10 @@ source scripts/ulimit-n.sh
 | 
				
			|||||||
# Clear cached json keypair files
 | 
					# Clear cached json keypair files
 | 
				
			||||||
rm -rf "$HOME/.config/solana"
 | 
					rm -rf "$HOME/.config/solana"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Clear the C dependency files, if dependeny moves these files are not regenerated
 | 
				
			||||||
 | 
					test -d target/debug/bpf && find target/debug/bpf -name '*.d' -delete
 | 
				
			||||||
 | 
					test -d target/release/bpf && find target/release/bpf -name '*.d' -delete
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Clear the BPF sysroot files, they are not automatically rebuilt
 | 
					# Clear the BPF sysroot files, they are not automatically rebuilt
 | 
				
			||||||
rm -rf target/xargo # Issue #3105
 | 
					rm -rf target/xargo # Issue #3105
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user