]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crc32c,compressor: only compile functions on supported arch
authorKefu Chai <kchai@redhat.com>
Sun, 2 Apr 2017 17:32:18 +0000 (01:32 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 4 Apr 2017 03:38:29 +0000 (11:38 +0800)
commit7f2ac2334ae72abeb353af9c0dfc52a9a49780f0
treeeb2a63983dc65e642472da00ae76da738112656c
parent3ebe721a91a2a626702a98262d526bcc6e72bd6f
crc32c,compressor: only compile functions on supported arch

so we can still compile if certain header file (<sys/auxv.h>) used
for detecting cpu capabilities on ppc is missing on x86 host machine.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/arch/probe.cc
src/common/crc32c.cc
src/compressor/zlib/CompressionPluginZlib.h
src/test/common/test_crc32c.cc