configure: allow cuncurrent build of RBD and reduce
This was disabled in configure because at one time there was an ISA-L dependency break between the RBD libraries and our own submodule. It seems that the dependency break was fixed a while ago, but the check to not allow one to build with the other was never removed. Unfortunately, I don't have the details on what that fix was. Either way, this compilation works now. Change-Id: Ic249791549dae36c7279114d67e77be94e842ddf Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/479726 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
91dc22bae6
commit
cbc1e069ee
6
configure
vendored
6
configure
vendored
@ -574,11 +574,6 @@ if [[ "${CONFIG[ISAL]}" = "y" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${CONFIG[RBD]}" = "y" ]]; then
|
|
||||||
echo "ISAL and RBD cannot co-exist currently so disabling ISAL and compression."
|
|
||||||
CONFIG[ISAL]=n
|
|
||||||
CONFIG[REDUCE]=n
|
|
||||||
else
|
|
||||||
cd $rootdir/isa-l
|
cd $rootdir/isa-l
|
||||||
ISAL_LOG=$rootdir/isa-l/spdk-isal.log
|
ISAL_LOG=$rootdir/isa-l/spdk-isal.log
|
||||||
echo -n "Configuring ISA-L (logfile: $ISAL_LOG)..."
|
echo -n "Configuring ISA-L (logfile: $ISAL_LOG)..."
|
||||||
@ -587,7 +582,6 @@ if [[ "${CONFIG[ISAL]}" = "y" ]]; then
|
|||||||
echo "done."
|
echo "done."
|
||||||
cd $rootdir
|
cd $rootdir
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${CONFIG[PMDK]}" = "y" ]]; then
|
if [[ "${CONFIG[PMDK]}" = "y" ]]; then
|
||||||
if ! echo -e '#include <libpmemblk.h>\nint main(void) { return 0; }\n' \
|
if ! echo -e '#include <libpmemblk.h>\nint main(void) { return 0; }\n' \
|
||||||
|
@ -207,11 +207,7 @@ if [ -f /usr/include/libpmem.h ] && [ $SPDK_TEST_REDUCE -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d /usr/include/rbd ] && [ -d /usr/include/rados ] && [ $SPDK_TEST_RBD -eq 1 ]; then
|
if [ -d /usr/include/rbd ] && [ -d /usr/include/rados ] && [ $SPDK_TEST_RBD -eq 1 ]; then
|
||||||
if [ $SPDK_TEST_ISAL -eq 0 ]; then
|
|
||||||
config_params+=' --with-rbd'
|
config_params+=' --with-rbd'
|
||||||
else
|
|
||||||
echo "rbd not enabled because isal is enabled."
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SPDK_TEST_VPP -eq 1 ]; then
|
if [ $SPDK_TEST_VPP -eq 1 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user