script/perf: move "make clean" before "./configure"
I suggest putting "make clean" before "./configure". Like Migration-tc3a.sh (spdk/test/vhost/migration): ssh_remote $MGMT_INITIATOR_IP "cd $spdk_repo_share_dir/spdk; make clean; ./configure --with-rdma --enable-debug; make -j40" Otherwise, once the configuration is changed, some outdated compiled files may remain after "make clean". Change-Id: I7300749986129cbfaef44f8ff72fad0449f4e081 Signed-off-by: WANGHAILIANG <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2805 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Liang Yan <liang.z.yan@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
a1c00096dd
commit
74050eacd7
@ -735,8 +735,8 @@ class SPDKInitiator(Initiator):
|
||||
|
||||
self.log_print("Sources unpacked")
|
||||
self.log_print("Using fio binary %s" % self.fio_bin)
|
||||
self.remote_call("cd %s; git submodule update --init; ./configure --with-rdma --with-fio=%s;"
|
||||
"make clean; make -j$(($(nproc)*2))" % (self.spdk_dir, os.path.dirname(self.fio_bin)))
|
||||
self.remote_call("cd %s; git submodule update --init; make clean; ./configure --with-rdma --with-fio=%s;"
|
||||
"make -j$(($(nproc)*2))" % (self.spdk_dir, os.path.dirname(self.fio_bin)))
|
||||
|
||||
self.log_print("SPDK built")
|
||||
self.remote_call("sudo %s/scripts/setup.sh" % self.spdk_dir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user