代码拉取完成,页面将自动刷新
From 14b5ef92c2d3e9c9ffda1938ce9640b9f3698ddc Mon Sep 17 00:00:00 2001
From: Hongtao Zhang <zhanghongtao22@huawei.com>
Date: Tue, 20 Feb 2024 20:20:07 +0800
Subject: [PATCH] Add without ISA-L option and disabled by default
---
configure | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index ed91a3d..86a6ab3 100755
--- a/configure
+++ b/configure
@@ -130,6 +130,7 @@ function usage() {
echo " --without-avahi No path required."
echo " --with-golang Build with components written in Go"
echo " --without-golang No path required."
+ echo " --without-isal Build with ISAL-L. DIsabled by default"
echo ""
echo "Environment variables:"
echo ""
@@ -674,6 +675,9 @@ for i in "$@"; do
CONFIG[MAX_LCORES]="${i#*=}"
CONFIG["MAX_LCORES"]=${CONFIG["MAX_LCORES"],,}
;;
+ --without-isal)
+ CONFIG[ISAL]=n
+ ;;
--)
break
;;
@@ -1173,7 +1177,7 @@ if [[ "${CONFIG[FUZZER]}" = "y" && "$CC_TYPE" != "clang" ]]; then
exit 1
fi
-if [[ $arch == x86_64* ]] || [[ $arch == aarch64* ]]; then
+if [[ "${CONFIG[ISAL]}" != "n" ]] && ([[ $arch == x86_64* ]] || [[ $arch == aarch64* ]]); then
CONFIG[ISAL]=y
# make sure the submodule is initialized
if [ ! -f "$rootdir"/isa-l/autogen.sh ]; then
--
2.23.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。