spdk: enable isa-l by default aarch64

In addition to x86, enable isa-l by default on aarch64.

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Change-Id: I2db3f248bdc857326ec9b6f4b040a95d2a2ca1ca
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472107
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Richael Zhuang 2019-10-23 11:26:00 +08:00 committed by Tomasz Zawadzki
parent c4d4800a46
commit 8cad9cc10a
2 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,8 @@
Updated ISA-L submodule to commit f3993f5c0b6911 which includes implementation and
optimization for aarch64.
Enabled ISA-L on aarch64 by default in addition to x86.
### thread
`spdk_thread_send_msg` now returns int indicating if the message was successfully

6
configure vendored
View File

@ -86,7 +86,7 @@ function usage()
echo " If argument is file, interpret it as compiled OCF lib"
echo " If no argument is specified, OCF git submodule is used by default"
echo " example: /usr/src/ocf/"
echo " isal Build with ISA-L. Enabled by default on x86 architecture."
echo " isal Build with ISA-L. Enabled by default on x86 and aarch64 architectures."
echo " No path required."
echo " uring Build I/O uring bdev."
echo " If an argument is provided, it is considered a directory containing"
@ -395,9 +395,9 @@ else
BUILD_CMD=($CC -o /dev/null -x c $CPPFLAGS $CFLAGS $LDFLAGS)
fi
# Detect architecture and force no ISA-L if non-x86 archtecture
# Detect architecture and force no ISA-L if non-x86 or non-aarch64 architecture
if [[ "${CONFIG[ISAL]}" = "y" ]]; then
if [[ $arch != x86_64* ]]; then
if [[ $arch != x86_64* ]] && [[ $arch != aarch64* ]]; then
echo "Notice: ISA-L disabled due to CPU incompatiblity."
CONFIG[ISAL]=n
fi