From: Kefu Chai Date: Fri, 9 Apr 2021 04:14:23 +0000 (+0800) Subject: cmake: introduce WITH_EC_ISA_PLUGIN X-Git-Tag: v17.1.0~2272^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bed1b32974fa76044c66162a671e023c966bc73c;p=ceph.git cmake: introduce WITH_EC_ISA_PLUGIN instead of checking "HAVE_NASM_X64_AVX2 OR HAVE_ARMV8_SIMD" everywhere, use a single cached variable of WITH_EC_ISA_PLUGIN. so it's more consistent when checking the availability of ec_isa plugin. Signed-off-by: Kefu Chai --- diff --git a/src/common/options.cc b/src/common/options.cc index 8d6175d41a2..15911cbe820 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2753,7 +2753,7 @@ std::vector