|
|
|
@ -149,25 +149,23 @@ if (WITH_NGRAPH)
|
|
|
|
|
)
|
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
if (NOT MOBILE_INFERENCE AND NOT RPI)
|
|
|
|
|
set(dst_dir "${FLUID_INSTALL_DIR}/third_party/install/snappy")
|
|
|
|
|
copy(snappy_lib
|
|
|
|
|
SRCS ${SNAPPY_INCLUDE_DIR} ${SNAPPY_LIBRARIES}
|
|
|
|
|
DSTS ${dst_dir} ${dst_dir}/lib
|
|
|
|
|
DEPS snappy)
|
|
|
|
|
set(dst_dir "${FLUID_INSTALL_DIR}/third_party/install/snappy")
|
|
|
|
|
copy(snappy_lib
|
|
|
|
|
SRCS ${SNAPPY_INCLUDE_DIR} ${SNAPPY_LIBRARIES}
|
|
|
|
|
DSTS ${dst_dir} ${dst_dir}/lib
|
|
|
|
|
DEPS snappy)
|
|
|
|
|
|
|
|
|
|
set(dst_dir "${FLUID_INSTALL_DIR}/third_party/install/snappystream")
|
|
|
|
|
copy(snappystream_lib
|
|
|
|
|
SRCS ${SNAPPYSTREAM_INCLUDE_DIR} ${SNAPPYSTREAM_LIBRARIES}
|
|
|
|
|
DSTS ${dst_dir} ${dst_dir}/lib
|
|
|
|
|
DEPS snappystream)
|
|
|
|
|
set(dst_dir "${FLUID_INSTALL_DIR}/third_party/install/snappystream")
|
|
|
|
|
copy(snappystream_lib
|
|
|
|
|
SRCS ${SNAPPYSTREAM_INCLUDE_DIR} ${SNAPPYSTREAM_LIBRARIES}
|
|
|
|
|
DSTS ${dst_dir} ${dst_dir}/lib
|
|
|
|
|
DEPS snappystream)
|
|
|
|
|
|
|
|
|
|
set(dst_dir "${FLUID_INSTALL_DIR}/third_party/install/zlib")
|
|
|
|
|
copy(zlib_lib
|
|
|
|
|
SRCS ${ZLIB_INCLUDE_DIR} ${ZLIB_LIBRARIES}
|
|
|
|
|
DSTS ${dst_dir} ${dst_dir}/lib
|
|
|
|
|
DEPS zlib)
|
|
|
|
|
endif ()
|
|
|
|
|
set(dst_dir "${FLUID_INSTALL_DIR}/third_party/install/zlib")
|
|
|
|
|
copy(zlib_lib
|
|
|
|
|
SRCS ${ZLIB_INCLUDE_DIR} ${ZLIB_LIBRARIES}
|
|
|
|
|
DSTS ${dst_dir} ${dst_dir}/lib
|
|
|
|
|
DEPS zlib)
|
|
|
|
|
|
|
|
|
|
# paddle fluid module
|
|
|
|
|
set(src_dir "${PADDLE_SOURCE_DIR}/paddle/fluid")
|
|
|
|
|