]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: introduce WITH_EC_ISA_PLUGIN
authorKefu Chai <kchai@redhat.com>
Fri, 9 Apr 2021 04:14:23 +0000 (12:14 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 13 Apr 2021 01:13:46 +0000 (09:13 +0800)
commitbed1b32974fa76044c66162a671e023c966bc73c
tree786e22895661d7675110e62560b933b4df900887
parent3798cc6592169ac1166b427e26c8a6c9cddc3c65
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 <kchai@redhat.com>
src/common/options.cc
src/erasure-code/CMakeLists.txt
src/include/config-h.in.cmake
src/test/erasure-code/CMakeLists.txt
src/test/erasure-code/TestErasureCodePluginClay.cc