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 <daniel.verkamp@intel.com>
This commit is contained in:
parent
e9bfc11043
commit
bf2795c65d
@ -20,6 +20,7 @@ timing_enter rocksdb
|
|||||||
timing_enter db_bench_build
|
timing_enter db_bench_build
|
||||||
|
|
||||||
pushd $DB_BENCH_DIR
|
pushd $DB_BENCH_DIR
|
||||||
|
git clean -x -f -d
|
||||||
$MAKE db_bench $MAKEFLAGS $MAKECONFIG DEBUG_LEVEL=0 SPDK_DIR=$rootdir
|
$MAKE db_bench $MAKEFLAGS $MAKECONFIG DEBUG_LEVEL=0 SPDK_DIR=$rootdir
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user