2022-04-26 17:52:35 +00:00
# The Intel® QPL provides high performance implementations of data processing functions for existing hardware accelerator, and/or software path in case if hardware accelerator is not available.
set ( QPL_INCLUDE_DIRS
" $ { C l i c k H o u s e _ S O U R C E _ D I R } / c o n t r i b / q p l / i n c l u d e "
" $ { C l i c k H o u s e _ B I N A R Y _ D I R } / c o n t r i b / q p l / i n c l u d e "
)
set ( LOG_HW_INIT ON )
set ( EFFICIENT_WAIT ON )
2022-04-26 18:51:31 +00:00
set ( LIB_FUZZING_ENGINE ON )
2022-04-26 17:52:35 +00:00
set ( QPL_SOURCE_DIR "${ClickHouse_SOURCE_DIR}/contrib/qpl" )
set ( QPL_BINARY_DIR "${ClickHouse_BINARY_DIR}/contrib/qpl" )
add_subdirectory ( "${QPL_SOURCE_DIR}" "${QPL_BINARY_DIR}" )
add_library ( _qpl INTERFACE )
target_link_libraries ( _qpl INTERFACE qpl )
target_include_directories ( _qpl SYSTEM BEFORE INTERFACE ${ QPL_INCLUDE_DIRS } )
add_library ( ch_contrib::qpl ALIAS _qpl )