1
0
mirror of https://github.com/ceph/ceph synced 2024-12-30 15:33:31 +00:00
ceph/cmake/modules/Findqatzip.cmake
Qiaowei Ren 9f3965aef3 compressor: add QAT support
This patch adds new QATzip plugin to support QAT for compression.

QATZip is a user space library which builds on top of the Intel
QAT (QuickAssist Technology) user space library, to provide extended
accelerated compression and decompression services by offloading the
actual compression and decompression request(s) to the hardware
QAT accelerators, which are more efficient in terms of cost and power
than general purpose CPUs for those specific compute-intensive
workloads.

Based on QAT accelerators, QATZip can support several compression
algorithm, including deflate, snappy, lz4, etc..

Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
2018-04-18 12:05:44 +08:00

18 lines
499 B
CMake

# - Find Qatzip
# Find the qatzip compression library and includes
#
# QATZIP_INCLUDE_DIR - where to find qatzip.h, etc.
# QATZIP_LIBRARIES - List of libraries when using qatzip.
# QATZIP_FOUND - True if qatzip found.
find_path(QATZIP_INCLUDE_DIR NAMES qatzip.h)
find_library(QATZIP_LIBRARIES NAMES qatzip)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(qatzip DEFAULT_MSG QATZIP_LIBRARIES QATZIP_INCLUDE_DIR)
mark_as_advanced(
QATZIP_LIBRARIES
QATZIP_INCLUDE_DIR)