From bf2795c65dceb49a0c69585d1ef06ba75703bf9d Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 2 May 2017 14:12:44 -0700 Subject: [PATCH] test/blobfs/rocksdb: clean before building RocksDB's build system does not correctly generate dependencies - if headers have been removed in the SPDK repository since the previous build, the .d files will prevent the build from continuing. Avoid this by cleaning up any left-over build outputs from the previous run. Change-Id: Ib8669273eb38c241f83e14714683693430469462 Signed-off-by: Daniel Verkamp --- test/blobfs/rocksdb/rocksdb.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/blobfs/rocksdb/rocksdb.sh b/test/blobfs/rocksdb/rocksdb.sh index 05acba83f..f702c0e34 100755 --- a/test/blobfs/rocksdb/rocksdb.sh +++ b/test/blobfs/rocksdb/rocksdb.sh @@ -20,6 +20,7 @@ timing_enter rocksdb timing_enter db_bench_build pushd $DB_BENCH_DIR +git clean -x -f -d $MAKE db_bench $MAKEFLAGS $MAKECONFIG DEBUG_LEVEL=0 SPDK_DIR=$rootdir popd