vm_setup: Compile refspdk in a subshell
This is done in order to not taint the rest of the environment with autotest settings. Change-Id: Iad31096aa29d4893200e64c77f2cf22663f0dfc7 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2524 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
18bc2f70d6
commit
c943701c7d
@ -31,6 +31,8 @@ function install_refspdk() {
|
||||
EOF
|
||||
|
||||
mkdir -p $HOME/output
|
||||
|
||||
(
|
||||
rootdir="$output_dir"
|
||||
source $HOME/autorun-spdk.conf
|
||||
source $output_dir/test/common/autotest_common.sh
|
||||
@ -51,6 +53,7 @@ function install_refspdk() {
|
||||
$output_dir/configure $config_params --with-ocf=$output_dir/build/ocf.a --with-shared
|
||||
fi
|
||||
$MAKE -C $output_dir $MAKEFLAGS
|
||||
)
|
||||
}
|
||||
|
||||
function install_qat() {
|
||||
|
Loading…
Reference in New Issue
Block a user