configure: fix building without isa-l submodule
The isa-l directory is generated automatically by git on checkout, although it's empty. We check for that directory existence in order to build ISA-L and without `git submodule update --init` the build just fails. To fix, instead of checking the dir existence, we check for the autogen.sh file inside that dir. Change-Id: I7b62513afcd7e9f3953f825c41b265efe3484d57 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/442523 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
891bf99aaa
commit
385f42eb97
2
configure
vendored
2
configure
vendored
@ -416,7 +416,7 @@ if [[ "${CONFIG[ISAL]}" = "y" ]] || [[ "${CONFIG[CRYPTO]}" = "y" ]]; then
|
||||
fi
|
||||
|
||||
if [[ "${CONFIG[ISAL]}" = "y" ]]; then
|
||||
if [ ! -d "$rootdir"/isa-l ]; then
|
||||
if [ ! -f "$rootdir"/isa-l/autogen.sh ]; then
|
||||
echo "isa-l folder is not found; If you do want to install isa-l, run:"
|
||||
echo " git submodule update --init"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user