mirror of
https://github.com/apache/impala.git
synced 2025-12-30 21:02:41 -05:00
Goodnight, sweet non-blocking prince. We didn't support, or test, this configuration, and it doesn't work with security or sessions and brings in some annoying dependencies that are a pain to build. We have other RPC-stack options to investigate; we may wind up re-adding the non-blocking server but only in a way that supports all required features more regularly. Change-Id: Ifbcabc5014441f6d31c342c4e288dd7fc6201443
17 lines
636 B
CMake
17 lines
636 B
CMake
# In order to statically link in the Boost, bz2, event and z libraries, they
|
|
# needs to be recompiled with -fPIC. Set $PIC_LIB_PATH to the location of
|
|
# these libraries in the environment, or dynamic linking will be used instead.
|
|
|
|
IF (DEFINED ENV{PIC_LIB_PATH})
|
|
set(CMAKE_SKIP_RPATH TRUE)
|
|
set(Boost_USE_STATIC_LIBS ON)
|
|
set(Boost_USE_STATIC_RUNTIME ON)
|
|
set(LIBBZ2 $ENV{PIC_LIB_PATH}/lib/libbz2.a)
|
|
set(LIBZ $ENV{PIC_LIB_PATH}/lib/libz.a)
|
|
ELSE (DEFINED ENV{PIC_LIB_PATH})
|
|
set(Boost_USE_STATIC_LIBS OFF)
|
|
set(Boost_USE_STATIC_RUNTIME OFF)
|
|
set(LIBBZ2 -lbz2)
|
|
set(LIBZ -lz)
|
|
ENDIF (DEFINED ENV{PIC_LIB_PATH})
|