8 Star 3 Fork 42

src-openEuler/spdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-Add-without-ISA-L-option-and-disabled-by-default.patch 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
张洪涛 提交于 2024-02-20 20:31 . Update to 24.01 LTS version
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/spdk.git
git@gitee.com:src-openeuler/spdk.git
src-openeuler
spdk
spdk
master

搜索帮助