diff --git a/elastic-ctr/client/CMakeLists.txt b/elastic-ctr/client/CMakeLists.txt index 4aee909931325cb6624f58c777aa3f6f66fbf933..3d93fc5eed99f393623291ebddfc6bb9b237e0bf 100644 --- a/elastic-ctr/client/CMakeLists.txt +++ b/elastic-ctr/client/CMakeLists.txt @@ -33,14 +33,26 @@ install(FILES ${CMAKE_BINARY_DIR}/elastic-ctr/client/builtin_format.pb.h DESTINATION ${PADDLE_SERVING_INSTALL_DIR}/elastic_ctr/api/include/elastic-ctr/client/) -install(DIRECTORY ${CMAKE_SOURCE_DIR}/sdk-cpp/include +install(DIRECTORY + ${CMAKE_SOURCE_DIR}/sdk-cpp/include DESTINATION ${PADDLE_SERVING_INSTALL_DIR}/elastic_ctr/api/include/sdk-cpp/) +install(DIRECTORY + ${CMAKE_SOURCE_DIR}/configure/include + DESTINATION + ${PADDLE_SERVING_INSTALL_DIR}/elastic_ctr/api/include/configure) +install(FILES + ${CMAKE_BINARY_DIR}/configure/sdk_configure.pb.h + DESTINATION + ${PADDLE_SERVING_INSTALL_DIR}/elastic_ctr/api/include/configure) + install(DIRECTORY ${CMAKE_BINARY_DIR}/third_party/install/protobuf/include/google ${CMAKE_BINARY_DIR}/third_party/install/brpc/include/brpc ${CMAKE_BINARY_DIR}/third_party/install/brpc/include/butil ${CMAKE_BINARY_DIR}/third_party/install/brpc/include/bthread + ${CMAKE_BINARY_DIR}/third_party/install/brpc/include/bvar + ${CMAKE_BINARY_DIR}/third_party/install/brpc/include/json2pb ${CMAKE_BINARY_DIR}/third_party/install/gflags/include/gflags ${CMAKE_BINARY_DIR}/third_party/install/glog/include/glog DESTINATION diff --git a/sdk-cpp/include/common.h b/sdk-cpp/include/common.h index 19a37650c5e037044598da506f2c8576a283b3e1..618b532965707ce18b35a5e44731c95f59e4b671 100644 --- a/sdk-cpp/include/common.h +++ b/sdk-cpp/include/common.h @@ -23,7 +23,6 @@ #include #include -#include "boost/unordered_map.hpp" #include "gflags/gflags.h" #include "google/protobuf/message.h" @@ -35,7 +34,7 @@ #include "base/logging.h" #include "base/object_pool.h" #include "base/time.h" -#include "bthread.h" +#include "bthread.h" // NOLINT #else #include "brpc/channel.h" #include "brpc/parallel_channel.h" @@ -49,7 +48,7 @@ #include "bvar/bvar.h" #ifdef BCLOUD -#include "json_to_pb.h" +#include "json_to_pb.h" // NOLINT #else #include "json2pb/json_to_pb.h" #endif