From 7fc5ebc19a9f7a1c5db29346cc6772d9877e8560 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 1 Nov 2023 09:16:30 +0000 Subject: automatic import of pytorch --- ...e-SVE-for-v1.6.0-due-to-sleef-build-error.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 0002-disable-SVE-for-v1.6.0-due-to-sleef-build-error.patch (limited to '0002-disable-SVE-for-v1.6.0-due-to-sleef-build-error.patch') diff --git a/0002-disable-SVE-for-v1.6.0-due-to-sleef-build-error.patch b/0002-disable-SVE-for-v1.6.0-due-to-sleef-build-error.patch new file mode 100644 index 0000000..c035b2a --- /dev/null +++ b/0002-disable-SVE-for-v1.6.0-due-to-sleef-build-error.patch @@ -0,0 +1,29 @@ +From 9fa24f75ca24761183ea2fe664744f2284007e3f Mon Sep 17 00:00:00 2001 +From: Zhipeng Xie +Date: Wed, 3 Feb 2021 10:22:31 -0500 +Subject: [PATCH] disable SVE for v1.6.0 due to sleef build error. + +sleef build error due to SVE not fully supported, so +disable it temporarily. + +Signed-off-by: Zhipeng Xie +--- + third_party/sleef/Configure.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/third_party/sleef/Configure.cmake b/third_party/sleef/Configure.cmake +index 25fc675e..02c364d2 100644 +--- a/third_party/sleef/Configure.cmake ++++ b/third_party/sleef/Configure.cmake +@@ -545,7 +545,7 @@ endif() + + # SVE + +-option(DISABLE_SVE "Disable SVE" OFF) ++option(DISABLE_SVE "Disable SVE" ON) + option(ENFORCE_SVE "Build fails if SVE is not supported by the compiler" OFF) + + if(SLEEF_ARCH_AARCH64 AND NOT DISABLE_SVE) +-- +2.27.0 + -- cgit v1.2.3