diff --git a/CHANGELOG.md b/CHANGELOG.md index 29d518b41..4185c7733 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/configure b/configure index 48837ca1a..4aa86608c 100755 --- a/configure +++ b/configure @@ -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