Commit 04b3df2e authored by 段英荣's avatar 段英荣

Initial commit

parents
.settings
.cproject
.project
.git
Debug
# Copyright 2018 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# cmake build file for C++ helloworld example.
# Assumes protobuf and gRPC have been installed using cmake.
# See cmake_externalproject/CMakeLists.txt for all-in-one cmake build
# that automatically builds all the dependencies before building helloworld.
cmake_minimum_required(VERSION 3.5.1)
project(HelloWorld C CXX)
if(NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
else()
add_definitions(-D_WIN32_WINNT=0x600)
endif()
find_package(Threads REQUIRED)
if(GRPC_AS_SUBMODULE)
# One way to build a projects that uses gRPC is to just include the
# entire gRPC project tree via "add_subdirectory".
# This approach is very simple to use, but the are some potential
# disadvantages:
# * it includes gRPC's CMakeLists.txt directly into your build script
# without and that can make gRPC's internal setting interfere with your
# own build.
# * depending on what's installed on your system, the contents of submodules
# in gRPC's third_party/* might need to be available (and there might be
# additional prerequisites required to build them). Consider using
# the gRPC_*_PROVIDER options to fine-tune the expected behavior.
#
# A more robust approach to add dependency on gRPC is using
# cmake's ExternalProject_Add (see cmake_externalproject/CMakeLists.txt).
# Include the gRPC's cmake build (normally grpc source code would live
# in a git submodule called "third_party/grpc", but this example lives in
# the same repository as gRPC sources, so we just look a few directories up)
add_subdirectory(../../.. ${CMAKE_CURRENT_BINARY_DIR}/grpc EXCLUDE_FROM_ALL)
message(STATUS "Using gRPC via add_subdirectory.")
# After using add_subdirectory, we can now use the grpc targets directly from
# this build.
set(_PROTOBUF_LIBPROTOBUF libprotobuf)
set(_REFLECTION grpc++_reflection)
if(CMAKE_CROSSCOMPILING)
find_program(_PROTOBUF_PROTOC protoc)
else()
set(_PROTOBUF_PROTOC $<TARGET_FILE:protobuf::protoc>)
endif()
set(_GRPC_GRPCPP grpc++)
if(CMAKE_CROSSCOMPILING)
find_program(_GRPC_CPP_PLUGIN_EXECUTABLE grpc_cpp_plugin)
else()
set(_GRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:grpc_cpp_plugin>)
endif()
elseif(GRPC_FETCHCONTENT)
# Another way is to use CMake's FetchContent module to clone gRPC at
# configure time. This makes gRPC's source code available to your project,
# similar to a git submodule.
message(STATUS "Using gRPC via add_subdirectory (FetchContent).")
include(FetchContent)
FetchContent_Declare(
grpc
GIT_REPOSITORY https://github.com/grpc/grpc.git
# when using gRPC, you will actually set this to an existing tag, such as
# v1.25.0, v1.26.0 etc..
# For the purpose of testing, we override the tag used to the commit
# that's currently under test.
GIT_TAG vGRPC_TAG_VERSION_OF_YOUR_CHOICE)
FetchContent_MakeAvailable(grpc)
# Since FetchContent uses add_subdirectory under the hood, we can use
# the grpc targets directly from this build.
set(_PROTOBUF_LIBPROTOBUF libprotobuf)
set(_REFLECTION grpc++_reflection)
set(_PROTOBUF_PROTOC $<TARGET_FILE:protoc>)
set(_GRPC_GRPCPP grpc++)
if(CMAKE_CROSSCOMPILING)
find_program(_GRPC_CPP_PLUGIN_EXECUTABLE grpc_cpp_plugin)
else()
set(_GRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:grpc_cpp_plugin>)
endif()
else()
# This branch assumes that gRPC and all its dependencies are already installed
# on this system, so they can be located by find_package().
# Find Protobuf installation
# Looks for protobuf-config.cmake file installed by Protobuf's cmake installation.
set(protobuf_MODULE_COMPATIBLE TRUE)
find_package(Protobuf CONFIG REQUIRED)
message(STATUS "Using protobuf ${Protobuf_VERSION}")
set(_PROTOBUF_LIBPROTOBUF protobuf::libprotobuf)
set(_REFLECTION gRPC::grpc++_reflection)
if(CMAKE_CROSSCOMPILING)
find_program(_PROTOBUF_PROTOC protoc)
else()
set(_PROTOBUF_PROTOC $<TARGET_FILE:protobuf::protoc>)
endif()
# Find gRPC installation
# Looks for gRPCConfig.cmake file installed by gRPC's cmake installation.
find_package(gRPC CONFIG REQUIRED)
message(STATUS "Using gRPC ${gRPC_VERSION}")
set(_GRPC_GRPCPP gRPC::grpc++)
find_package(PkgConfig)
pkg_search_module(_REDISLIB REQUIRED hiredis)
find_package(Poco CONFIG REQUIRED Util Data Net XML Zip)
message(STATUS "Using Poco ${Poco_VERSION}")
if(CMAKE_CROSSCOMPILING)
find_program(_GRPC_CPP_PLUGIN_EXECUTABLE grpc_cpp_plugin)
else()
set(_GRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:gRPC::grpc_cpp_plugin>)
endif()
endif()
# Proto file
get_filename_component(query_analyzer_proto "/Users/gengmei/eclipse-workspace/CppTensor/pb/query_analyzer.proto" ABSOLUTE)
get_filename_component(query_analyzer_proto_path "${query_analyzer_proto}" PATH)
# Generated sources
set(query_analyzer_proto_srcs "${CMAKE_CURRENT_BINARY_DIR}/query_analyzer.pb.cc")
set(query_analyzer_proto_hdrs "${CMAKE_CURRENT_BINARY_DIR}/query_analyzer.pb.h")
set(query_analyzer_grpc_srcs "${CMAKE_CURRENT_BINARY_DIR}/query_analyzer.grpc.pb.cc")
set(query_analyzer_grpc_hdrs "${CMAKE_CURRENT_BINARY_DIR}/query_analyzer.grpc.pb.h")
add_custom_command(
OUTPUT "${query_analyzer_proto_srcs}" "${query_analyzer_proto_hdrs}" "${query_analyzer_grpc_srcs}" "${query_analyzer_grpc_hdrs}"
COMMAND ${_PROTOBUF_PROTOC}
ARGS --grpc_out "${CMAKE_CURRENT_BINARY_DIR}"
--cpp_out "${CMAKE_CURRENT_BINARY_DIR}"
-I "${query_analyzer_proto_path}"
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
"${query_analyzer_proto}"
DEPENDS "${query_analyzer_proto}")
# Include generated *.pb.h files
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../../redis")
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../../app/config")
file(GLOB SRCS "app/*.cpp")
file(GLOB CONFIG_SRCS "app/config/*.cpp")
file(GLOB REDIS_SRCS "redis/*.cpp")
# Targets greeter_[async_](client|server)
foreach(_target strategy_server)
add_executable(${_target} ${SRCS} ${CONFIG_SRCS} ${REDIS_SRCS}
${query_analyzer_proto_srcs}
${query_analyzer_grpc_srcs})
target_link_libraries(${_target}
${_REFLECTION}
${_GRPC_GRPCPP}
${_PROTOBUF_LIBPROTOBUF}
${Poco_LIBRARIES}
${_REDISLIB_LIBRARIES})
endforeach()
#include "server_config.h"
ServerConfig* ServerConfig::_conf = NULL;
ServerConfig::ServerConfig()
{
_bIsLoad = false;
}
ServerConfig::~ServerConfig()
{}
void ServerConfig::LoadConfig(AbstractConfiguration &config)
{
if ( false == _bIsLoad )
{
_settings._port = config.getInt("port");
_settings._max_thread = config.getInt("max_threads");
_settings._max_queue = config.getInt("max_queued");
_settings._thread_idle_time = config.getInt("thread_idle_time");
_settings._log_path = config.getString("log_path");
_settings._redisServerIp = config.getString("redis_server_ip");
_settings._redisAuth = config.getString("redis_auth");
_settings._redisNeedAuth = config.getInt("redis_need_auth");
_settings._redisServerPort = config.getInt("redis_server_port");
_settings._redisConTimeOut = config.getInt("redis_con_timeout");
_settings._connRetryTimes = config.getInt("redis_connect_retry_times");
_settings._iMaxThreadNum = config.getInt("instance_max_threads_num");
_settings._iDefThreadNum = config.getInt("instance_default_threads_num");
_settings._iServerFlag = config.getInt("server_flag");
_bIsLoad = true;
}
}
LocalSettings ServerConfig::getLocalSettings()
{
return _settings;
}
ServerConfig* ServerConfig::getInstance()
{
if ( NULL == _conf )
_conf = new ServerConfig();
return _conf;
}
#ifndef _SERVER_CONFIG_INCLUDE
#define _SERVER_CONFIG_INCLUDE
#include <string>
#include <Poco/Util/Application.h>
#include "Poco/Util/ServerApplication.h"
using Poco::Util::ServerApplication;
//using namespace Poco::Net;
using namespace Poco::Util;
using namespace std;
struct LocalSettings
{
int _max_thread;
int _max_queue;
int _thread_idle_time;
string _log_path;
string _redisServerIp;
string _redisAuth;
int _redisNeedAuth;
int _redisServerPort;
int _redisConTimeOut;
int _port;
int _connRetryTimes;
int _iMaxThreadNum;
int _iDefThreadNum;
int _iServerFlag;
inline int getMaxTrd()
{
return _max_thread;
}
inline int getMaxQue()
{
return _max_queue;
}
inline int getIdleTime()
{
return _thread_idle_time;
}
inline string getLogPath()
{
return _log_path;
}
};
class ServerConfig
{
public:
ServerConfig();
~ServerConfig();
void LoadConfig(AbstractConfiguration &config);
LocalSettings getLocalSettings();
static ServerConfig* getInstance();
private:
static ServerConfig *_conf;
LocalSettings _settings;
bool _bIsLoad;
};
#endif
#include <Poco/Format.h>
#include "Poco/Exception.h"
#include "query_analyzer.h"
#include "Poco/JSON/Object.h"
#include "Poco/JSON/Parser.h"
#include "Poco/JSON/Query.h"
#include "Poco/JSON/JSONException.h"
#include "Poco/JSON/Stringifier.h"
#include "Poco/JSON/ParseHandler.h"
#include "Poco/JSON/PrintHandler.h"
#include "Poco/JSON/Template.h"
#include "Poco/JSON/JSONException.h"
#include "Poco/JSON/ParseHandler.h"
#include "Poco/Dynamic/Var.h"
using namespace std;
using namespace Poco::JSON;
using Poco::JSON::Parser;
using Poco::JSON::Object;
using namespace Poco::Dynamic;
using Poco::Dynamic::Var;
QueryAnalyzerImpl::QueryAnalyzerImpl()
:_logger(Logger::get("StrategyServer")){
_pRedis = RedisManage::getInstance();
}
Status QueryAnalyzerImpl::QueryInferenceService(ServerContext* context,const QueryInferenceRequest *request,QueryInferenceReply *reply){
std::map<std::string,int> query_flag_map = {
{"unknown", 0}, //未知
{"face", 1}, //魔镜
{"free_face", 2}, //免费整形
{"hospital", 3}, //医院
{"doctor", 4}, //医生
{"project", 5}, //项目
};
try {
std::string query_word = request->query();
std::string version_type = request->version_type();
bool return_face = request->return_face();
int iredisDuration = 0;
redisContext *pContext = NULL;
_pRedis->getRedisContext(&pContext);
int iRetLabel = query_flag_map["unknown"];
std::string stValue;
std::string stCommand = "get " + query_word;
if(_pRedis->get(stCommand, stValue,pContext,&iredisDuration)){
Parser parser;
Var result = parser.parse(stValue);
Object::Ptr pObjPtr = result.extract<JSON::Object::Ptr>();
iRetLabel = atoi(pObjPtr->get(std::string("value")).toString().c_str());
int is_online = atoi((pObjPtr->get(std::string("is_online"))).toString().c_str());
}
reply->set_label(iRetLabel);
return Status::OK;
} catch (Poco::Exception e) {
_logger.error(Poco::format("Exception occured in func %s,err_msg is:%s",string(__FUNCTION__),e.displayText()));
return Status::OK;
}
}
#ifndef _QUERY_ANALYZER_INCLUDE
#define _QUERY_ANALYZER_INCLUDE
#include <iostream>
#include <memory>
#include <string>
#include <Poco/Logger.h>
#include <grpcpp/grpcpp.h>
#include <grpcpp/health_check_service_interface.h>
#include <grpcpp/ext/proto_server_reflection_plugin.h>
#include "query_analyzer.grpc.pb.h"
#include "redis_manage.h"
using grpc::Server;
using grpc::ServerBuilder;
using grpc::ServerContext;
using grpc::Status;
using QueryAnalyzer::QueryInferenceService;
using QueryAnalyzer::QueryInferenceRequest;
using QueryAnalyzer::QueryInferenceReply;
using Poco::Logger;
class QueryAnalyzerImpl final : public QueryInferenceService::Service{
public:
QueryAnalyzerImpl();
Status QueryInferenceService(ServerContext* context,const QueryInferenceRequest *request,QueryInferenceReply *reply);
private:
RedisManage *_pRedis;
Logger &_logger;
};
#endif
#include <iostream>
#include <memory>
#include <string>
#include <Poco/Logger.h>
#include "Poco/FileChannel.h"
#include <Poco/FormattingChannel.h>
#include <Poco/PatternFormatter.h>
#include "query_analyzer.h"
#include "server_config.h"
using Poco::FormattingChannel;
using Poco::FileChannel;
using Poco::PatternFormatter;
using Poco::AutoPtr;
using Poco::Util::ServerApplication;
void init_config(AbstractConfiguration &config){
// get original launching path before daemonizing
std::string cwd(getenv("POCO_CWD"));
// init logging
ServerConfig* confIns = ServerConfig::getInstance();
confIns->LoadConfig(config);
AutoPtr<Poco::Channel> pFileChannel(new FileChannel);
std::string logPath = config.getString("log_path");
if (logPath[0] != '/')
logPath = cwd + "/" + logPath;
pFileChannel->setProperty("path", logPath);
pFileChannel->setProperty("rotation", "00:00");
pFileChannel->setProperty("archive", "timestamp");
pFileChannel->setProperty("times", "local");
pFileChannel->setProperty("purgeAge", "30 days");
AutoPtr<PatternFormatter> pPF(new PatternFormatter);
pPF->setProperty("times", "local");
pPF->setProperty("pattern", "[%Y-%m-%d %H:%M:%S] %P-%I %p: %t");
AutoPtr<FormattingChannel> pFC(new FormattingChannel(pPF, pFileChannel));
Poco::Logger::root().setChannel(pFC);
Poco::Logger& logger = Poco::Logger::get("StrategyServer"); // inherits root channel
}
void RunServer(AbstractConfiguration &config) {
std::string stHost = config.getString("host");
std::string stPort = config.getString("port");
std::string server_address(stHost + ":" + stPort);
QueryAnalyzerImpl service;
grpc::EnableDefaultHealthCheckService(true);
grpc::reflection::InitProtoReflectionServerBuilderPlugin();
ServerBuilder builder;
// Listen on the given address without any authentication mechanism.
builder.AddListeningPort(server_address, grpc::InsecureServerCredentials());
// Register "service" as the instance through which we'll communicate with
// clients. In this case it corresponds to an *synchronous* service.
builder.RegisterService(&service);
// Finally assemble the server.
std::unique_ptr<Server> server(builder.BuildAndStart());
std::cout << "Server listening on " << server_address << std::endl;
// Wait for the server to shutdown. Note that some other thread must be
// responsible for shutting down the server for this call to ever return.
server->Wait();
}
int main(int argc,char **argv){
AbstractConfiguration &config(Application::instance().config());
init_config(config);
RunServer(config);
return 1;
}
# Server Instance
#
host=172.16.44.82
port=50051
# Server Basic Properties
#
max_threads=50
max_queued=100
thread_idle_time=10
log_path=./log/
#max thread num for processing mask rule and export src
instance_max_threads_num=50
#default thread num for processing mask rule and export src
#on the other words,this is default hotel num for each thread function
instance_default_threads_num=2
#1 means needing password
redis_need_auth=1
redis_auth=ReDis!GmTx*0aN6
redis_server_ip=172.16.40.133
redis_server_port=6379
redis_con_timeout=50
redis_connect_retry_times=3
# This is the CMakeCache file.
# For build in directory: /Users/gengmei/eclipse-workspace/CppTensor/cmake/build
# It was generated by CMake: /Applications/CMake.app/Contents/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND
//Path to a program.
CMAKE_AR:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/c++
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/cc
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Executable file format
CMAKE_EXECUTABLE_FORMAT:STRING=MACHO
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Path to a program.
CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/objdump
//Build architectures for OSX
CMAKE_OSX_ARCHITECTURES:STRING=
//Minimum OS X version to target for deployment (at runtime); newer
// APIs weak linked. Set to empty string for default value.
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=
//The product will be built against the headers and libraries located
// inside the indicated SDK.
CMAKE_OSX_SYSROOT:STRING=
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=HelloWorld
//Path to a program.
CMAKE_RANLIB:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/strip
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
HelloWorld_BINARY_DIR:STATIC=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build
//Value Computed by CMake
HelloWorld_SOURCE_DIR:STATIC=/Users/gengmei/eclipse-workspace/CppTensor
//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/local/bin/pkg-config
//The directory containing a CMake configuration file for PocoData.
PocoData_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for PocoFoundation.
PocoFoundation_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for PocoJSON.
PocoJSON_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for PocoNet.
PocoNet_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for PocoUtil.
PocoUtil_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for PocoXML.
PocoXML_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for PocoZip.
PocoZip_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for Poco.
Poco_DIR:PATH=/usr/local/lib/cmake/Poco
//The directory containing a CMake configuration file for Protobuf.
Protobuf_DIR:PATH=/usr/local/lib/cmake/protobuf
//The directory containing a CMake configuration file for gRPC.
gRPC_DIR:PATH=/usr/local/lib/cmake/grpc
//Path to a library.
pkgcfg_lib__REDISLIB_hiredis:FILEPATH=/usr/local/lib/libhiredis.dylib
//CMake build-in FindProtobuf.cmake module compatible
protobuf_MODULE_COMPATIBLE:BOOL=OFF
//Enable for verbose output
protobuf_VERBOSE:BOOL=OFF
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=19
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/Applications/CMake.app/Contents/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/Applications/CMake.app/Contents/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/Applications/CMake.app/Contents/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/Applications/CMake.app/Contents/bin/ccmake
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
//Have include pthread.h
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/gengmei/eclipse-workspace/CppTensor
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/Applications/CMake.app/Contents/share/cmake-3.19
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding PkgConfig
FIND_PACKAGE_MESSAGE_DETAILS_PkgConfig:INTERNAL=[/usr/local/bin/pkg-config][v0.29.2()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
_REDISLIB_CFLAGS:INTERNAL=-D_FILE_OFFSET_BITS=64;-I/usr/local/include/hiredis
_REDISLIB_CFLAGS_I:INTERNAL=
_REDISLIB_CFLAGS_OTHER:INTERNAL=-D_FILE_OFFSET_BITS=64
_REDISLIB_FOUND:INTERNAL=1
_REDISLIB_INCLUDEDIR:INTERNAL=/usr/local/include/hiredis
_REDISLIB_INCLUDE_DIRS:INTERNAL=/usr/local/include/hiredis
_REDISLIB_LDFLAGS:INTERNAL=-L/usr/local/lib;-lhiredis
_REDISLIB_LDFLAGS_OTHER:INTERNAL=
_REDISLIB_LIBDIR:INTERNAL=/usr/local/lib
_REDISLIB_LIBRARIES:INTERNAL=hiredis
_REDISLIB_LIBRARY_DIRS:INTERNAL=/usr/local/lib
_REDISLIB_LIBS:INTERNAL=
_REDISLIB_LIBS_L:INTERNAL=
_REDISLIB_LIBS_OTHER:INTERNAL=
_REDISLIB_LIBS_PATHS:INTERNAL=
_REDISLIB_MODULE_NAME:INTERNAL=hiredis
_REDISLIB_PREFIX:INTERNAL=/usr/local
_REDISLIB_STATIC_CFLAGS:INTERNAL=-D_FILE_OFFSET_BITS=64;-I/usr/local/include/hiredis
_REDISLIB_STATIC_CFLAGS_I:INTERNAL=
_REDISLIB_STATIC_CFLAGS_OTHER:INTERNAL=-D_FILE_OFFSET_BITS=64
_REDISLIB_STATIC_INCLUDE_DIRS:INTERNAL=/usr/local/include/hiredis
_REDISLIB_STATIC_LDFLAGS:INTERNAL=-L/usr/local/lib;-lhiredis
_REDISLIB_STATIC_LDFLAGS_OTHER:INTERNAL=
_REDISLIB_STATIC_LIBDIR:INTERNAL=
_REDISLIB_STATIC_LIBRARIES:INTERNAL=hiredis
_REDISLIB_STATIC_LIBRARY_DIRS:INTERNAL=/usr/local/lib
_REDISLIB_STATIC_LIBS:INTERNAL=
_REDISLIB_STATIC_LIBS_L:INTERNAL=
_REDISLIB_STATIC_LIBS_OTHER:INTERNAL=
_REDISLIB_STATIC_LIBS_PATHS:INTERNAL=
_REDISLIB_VERSION:INTERNAL=1.0.1
_REDISLIB_hiredis_INCLUDEDIR:INTERNAL=
_REDISLIB_hiredis_LIBDIR:INTERNAL=
_REDISLIB_hiredis_PREFIX:INTERNAL=
_REDISLIB_hiredis_VERSION:INTERNAL=
__pkg_config_checked__REDISLIB:INTERNAL=1
//ADVANCED property for variable: pkgcfg_lib__REDISLIB_hiredis
pkgcfg_lib__REDISLIB_hiredis-ADVANCED:INTERNAL=1
prefix_result:INTERNAL=/usr/local/lib
//ADVANCED property for variable: protobuf_MODULE_COMPATIBLE
protobuf_MODULE_COMPATIBLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: protobuf_VERBOSE
protobuf_VERBOSE-ADVANCED:INTERNAL=1
set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "AppleClang")
set(CMAKE_C_COMPILER_VERSION "10.0.0.10001044")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C_PLATFORM_ID "Darwin")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "")
set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "")
set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC )
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "")
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/local/include;/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include;/Library/Developer/CommandLineTools/usr/include;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
set(CMAKE_CXX_COMPILER "/Library/Developer/CommandLineTools/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "AppleClang")
set(CMAKE_CXX_COMPILER_VERSION "10.0.0.10001044")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX_PLATFORM_ID "Darwin")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "")
set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "")
set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX )
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/include/c++/v1;/usr/local/include;/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include;/Library/Developer/CommandLineTools/usr/include;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
set(CMAKE_HOST_SYSTEM "Darwin-17.7.0")
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
set(CMAKE_HOST_SYSTEM_VERSION "17.7.0")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Darwin-17.7.0")
set(CMAKE_SYSTEM_NAME "Darwin")
set(CMAKE_SYSTEM_VERSION "17.7.0")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
# else
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(_CRAYC) || defined(__cray__)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number components. */
#ifdef COMPILER_VERSION_MAJOR
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if !defined(__STDC__)
# if (defined(_MSC_VER) && !defined(__clang__)) \
|| (defined(__ibmxl__) || defined(__IBMC__))
# define C_DIALECT "90"
# else
# define C_DIALECT
# endif
#elif __STDC_VERSION__ >= 201000L
# define C_DIALECT "11"
#elif __STDC_VERSION__ >= 199901L
# define C_DIALECT "99"
#else
# define C_DIALECT "90"
#endif
const char* info_language_dialect_default =
"INFO" ":" "dialect_default[" C_DIALECT "]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
# if defined(__CLASSIC_C__)
int main(argc, argv) int argc; char *argv[];
# else
int main(int argc, char* argv[])
# endif
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(_CRAYC) || defined(__cray__)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}
#endif
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
/* __COMO_VERSION__ = VRR */
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(_CRAYC) || defined(__cray__)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number components. */
#ifdef COMPILER_VERSION_MAJOR
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
# if defined(__INTEL_CXX11_MODE__)
# if defined(__cpp_aggregate_nsdmi)
# define CXX_STD 201402L
# else
# define CXX_STD 201103L
# endif
# else
# define CXX_STD 199711L
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# define CXX_STD _MSVC_LANG
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
#if CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(_CRAYC) || defined(__cray__)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/gengmei/eclipse-workspace/CppTensor")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
The system is: Darwin - 17.7.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is AppleClang, found in "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/3.19.2/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is AppleClang, found in "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/3.19.2/CompilerIdCXX/a.out"
Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_31680/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_31680.dir/build.make CMakeFiles/cmTC_31680.dir/build
Building C object CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -v -Wl,-v -o CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -c /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCCompilerABI.c
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.13.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 409.12 -v -coverage-notes-file /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0 -fdebug-compilation-dir /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fobjc-runtime=macosx-10.13.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -x c /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCCompilerABI.c
clang -cc1 version 10.0.0 (clang-1000.10.44.4) default target x86_64-apple-darwin17.7.0
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include
/Library/Developer/CommandLineTools/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
Linking C executable cmTC_31680
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31680.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -o cmTC_31680
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_31680 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-409.12
BUILD 17:47:51 Sep 25 2018
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed C implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/local/include]
add: [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include]
add: [/Library/Developer/CommandLineTools/usr/include]
add: [/usr/include]
end of search list found
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include]
collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/local/include;/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include;/Library/Developer/CommandLineTools/usr/include;/usr/include]
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_31680/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_31680.dir/build.make CMakeFiles/cmTC_31680.dir/build]
ignore line: [Building C object CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/cc -v -Wl -v -o CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -c /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCCompilerABI.c]
ignore line: [Apple LLVM version 10.0.0 (clang-1000.10.44.4)]
ignore line: [Target: x86_64-apple-darwin17.7.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]]
ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.13.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 409.12 -v -coverage-notes-file /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0 -fdebug-compilation-dir /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fobjc-runtime=macosx-10.13.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -x c /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCCompilerABI.c]
ignore line: [clang -cc1 version 10.0.0 (clang-1000.10.44.4) default target x86_64-apple-darwin17.7.0]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/local/include]
ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include]
ignore line: [ /Library/Developer/CommandLineTools/usr/include]
ignore line: [ /usr/include]
ignore line: [ /System/Library/Frameworks (framework directory)]
ignore line: [ /Library/Frameworks (framework directory)]
ignore line: [End of search list.]
ignore line: [Linking C executable cmTC_31680]
ignore line: [/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31680.dir/link.txt --verbose=1]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/cc -Wl -search_paths_first -Wl -headerpad_max_install_names -v -Wl -v CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -o cmTC_31680 ]
ignore line: [Apple LLVM version 10.0.0 (clang-1000.10.44.4)]
ignore line: [Target: x86_64-apple-darwin17.7.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_31680 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a]
arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.13.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_31680] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_31680.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: []
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_8c947/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_8c947.dir/build.make CMakeFiles/cmTC_8c947.dir/build
Building CXX object CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++ -v -Wl,-v -o CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -c /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
"/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.13.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 409.12 -v -coverage-notes-file /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0 -stdlib=libc++ -fdeprecated-macro -fdebug-compilation-dir /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fobjc-runtime=macosx-10.13.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -x c++ /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp
clang -cc1 version 10.0.0 (clang-1000.10.44.4) default target x86_64-apple-darwin17.7.0
ignoring nonexistent directory "/usr/include/c++/v1"
#include "..." search starts here:
#include <...> search starts here:
/Library/Developer/CommandLineTools/usr/include/c++/v1
/usr/local/include
/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include
/Library/Developer/CommandLineTools/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
Linking CXX executable cmTC_8c947
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c947.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8c947
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_8c947 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-409.12
BUILD 17:47:51 Sep 25 2018
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed CXX implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/Library/Developer/CommandLineTools/usr/include/c++/v1]
add: [/usr/local/include]
add: [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include]
add: [/Library/Developer/CommandLineTools/usr/include]
add: [/usr/include]
end of search list found
collapse include dir [/Library/Developer/CommandLineTools/usr/include/c++/v1] ==> [/Library/Developer/CommandLineTools/usr/include/c++/v1]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include]
collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/Library/Developer/CommandLineTools/usr/include/c++/v1;/usr/local/include;/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include;/Library/Developer/CommandLineTools/usr/include;/usr/include]
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_8c947/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_8c947.dir/build.make CMakeFiles/cmTC_8c947.dir/build]
ignore line: [Building CXX object CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/c++ -v -Wl -v -o CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -c /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Apple LLVM version 10.0.0 (clang-1000.10.44.4)]
ignore line: [Target: x86_64-apple-darwin17.7.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]]
ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.13.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 409.12 -v -coverage-notes-file /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0 -stdlib=libc++ -fdeprecated-macro -fdebug-compilation-dir /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fencode-extended-block-signature -fobjc-runtime=macosx-10.13.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -x c++ /Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [clang -cc1 version 10.0.0 (clang-1000.10.44.4) default target x86_64-apple-darwin17.7.0]
ignore line: [ignoring nonexistent directory "/usr/include/c++/v1"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /Library/Developer/CommandLineTools/usr/include/c++/v1]
ignore line: [ /usr/local/include]
ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include]
ignore line: [ /Library/Developer/CommandLineTools/usr/include]
ignore line: [ /usr/include]
ignore line: [ /System/Library/Frameworks (framework directory)]
ignore line: [ /Library/Frameworks (framework directory)]
ignore line: [End of search list.]
ignore line: [Linking CXX executable cmTC_8c947]
ignore line: [/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c947.dir/link.txt --verbose=1]
ignore line: [/Library/Developer/CommandLineTools/usr/bin/c++ -Wl -search_paths_first -Wl -headerpad_max_install_names -v -Wl -v CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8c947 ]
ignore line: [Apple LLVM version 10.0.0 (clang-1000.10.44.4)]
ignore line: [Target: x86_64-apple-darwin17.7.0]
ignore line: [Thread model: posix]
ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.13.0 -o cmTC_8c947 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a]
arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-lto_library] ==> ignore, skip following value
arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.13.0] ==> ignore
arg [-o] ==> ignore
arg [cmTC_8c947] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTC_8c947.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lc++] ==> lib [c++]
arg [-lSystem] ==> lib [System]
arg [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [c++]
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_73cfa/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_73cfa.dir/build.make CMakeFiles/cmTC_73cfa.dir/build
Building C object CMakeFiles/cmTC_73cfa.dir/CheckIncludeFile.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -o CMakeFiles/cmTC_73cfa.dir/CheckIncludeFile.c.o -c /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_73cfa
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_73cfa.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_73cfa.dir/CheckIncludeFile.c.o -o cmTC_73cfa
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD succeeded with the following output:
Change Dir: /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_db6e7/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_db6e7.dir/build.make CMakeFiles/cmTC_db6e7.dir/build
Building C object CMakeFiles/cmTC_db6e7.dir/src.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_db6e7.dir/src.c.o -c /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_db6e7
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_db6e7.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_db6e7.dir/src.c.o -o cmTC_db6e7
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
# Hashes of file build rules.
e8ac620de8782d4ed484f180c153f54e query_analyzer.pb.cc
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCCompiler.cmake.in"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCCompilerABI.c"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCInformation.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCXXCompiler.cmake.in"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCXXInformation.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCommonLanguageInclude.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeCompilerIdDetection.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeDetermineCCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeDetermineCXXCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeDetermineCompileFeatures.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeDetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeDetermineCompilerABI.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeDetermineCompilerId.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeDetermineSystem.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeFindBinUtils.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeFindDependencyMacro.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeGenericSystem.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeInitializeConfigs.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeLanguageInformation.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeParseImplicitIncludeInfo.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeParseImplicitLinkInfo.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeSystem.cmake.in"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeSystemSpecificInformation.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeSystemSpecificInitialize.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeTestCXXCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeTestCompilerCommon.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CMakeUnixFindMake.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CheckCSourceCompiles.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CheckIncludeFile.c.in"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CheckIncludeFile.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/CheckLibraryExists.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/AppleClang-C.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/AppleClang-CXX.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Clang.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/GNU.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/TI-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageMessage.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/FindPkgConfig.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/FindThreads.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Internal/CheckSourceCompiles.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Internal/FeatureTesting.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Apple-AppleClang-C.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Apple-AppleClang-CXX.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Apple-Clang-C.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Apple-Clang-CXX.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Apple-Clang.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Darwin-Determine-CXX.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Darwin-Initialize.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/Darwin.cmake"
"/Applications/CMake.app/Contents/share/cmake-3.19/Modules/Platform/UnixPaths.cmake"
"../../CMakeLists.txt"
"CMakeFiles/3.19.2/CMakeCCompiler.cmake"
"CMakeFiles/3.19.2/CMakeCXXCompiler.cmake"
"CMakeFiles/3.19.2/CMakeSystem.cmake"
"/usr/local/lib/cmake/Poco/PocoConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoDataConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoDataConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoDataTargets-relwithdebinfo.cmake"
"/usr/local/lib/cmake/Poco/PocoDataTargets.cmake"
"/usr/local/lib/cmake/Poco/PocoFoundationConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoFoundationConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoFoundationTargets-relwithdebinfo.cmake"
"/usr/local/lib/cmake/Poco/PocoFoundationTargets.cmake"
"/usr/local/lib/cmake/Poco/PocoJSONConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoJSONConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoJSONTargets-relwithdebinfo.cmake"
"/usr/local/lib/cmake/Poco/PocoJSONTargets.cmake"
"/usr/local/lib/cmake/Poco/PocoNetConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoNetConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoNetTargets-relwithdebinfo.cmake"
"/usr/local/lib/cmake/Poco/PocoNetTargets.cmake"
"/usr/local/lib/cmake/Poco/PocoUtilConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoUtilConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoUtilTargets-relwithdebinfo.cmake"
"/usr/local/lib/cmake/Poco/PocoUtilTargets.cmake"
"/usr/local/lib/cmake/Poco/PocoXMLConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoXMLConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoXMLTargets-relwithdebinfo.cmake"
"/usr/local/lib/cmake/Poco/PocoXMLTargets.cmake"
"/usr/local/lib/cmake/Poco/PocoZipConfig.cmake"
"/usr/local/lib/cmake/Poco/PocoZipConfigVersion.cmake"
"/usr/local/lib/cmake/Poco/PocoZipTargets-relwithdebinfo.cmake"
"/usr/local/lib/cmake/Poco/PocoZipTargets.cmake"
"/usr/local/lib/cmake/grpc/gRPCConfig.cmake"
"/usr/local/lib/cmake/grpc/gRPCConfigVersion.cmake"
"/usr/local/lib/cmake/grpc/gRPCTargets-noconfig.cmake"
"/usr/local/lib/cmake/grpc/gRPCTargets.cmake"
"/usr/local/lib/cmake/protobuf/protobuf-config-version.cmake"
"/usr/local/lib/cmake/protobuf/protobuf-config.cmake"
"/usr/local/lib/cmake/protobuf/protobuf-options.cmake"
"/usr/local/lib/cmake/protobuf/protobuf-targets-noconfig.cmake"
"/usr/local/lib/cmake/protobuf/protobuf-targets.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/3.19.2/CMakeSystem.cmake"
"CMakeFiles/3.19.2/CMakeCCompiler.cmake"
"CMakeFiles/3.19.2/CMakeCXXCompiler.cmake"
"CMakeFiles/3.19.2/CMakeCCompiler.cmake"
"CMakeFiles/3.19.2/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/strategy_server.dir/DependInfo.cmake"
)
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /Applications/CMake.app/Contents/bin/cmake
# The command to remove a file.
RM = /Applications/CMake.app/Contents/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/gengmei/eclipse-workspace/CppTensor
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/gengmei/eclipse-workspace/CppTensor/cmake/build
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: CMakeFiles/strategy_server.dir/all
.PHONY : all
# The main recursive "preinstall" target.
preinstall:
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/strategy_server.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/strategy_server.dir
# All Build rule for target.
CMakeFiles/strategy_server.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=1,2,3,4,5,6,7,8 "Built target strategy_server"
.PHONY : CMakeFiles/strategy_server.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/strategy_server.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles 8
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/strategy_server.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles 0
.PHONY : CMakeFiles/strategy_server.dir/rule
# Convenience name for target.
strategy_server: CMakeFiles/strategy_server.dir/rule
.PHONY : strategy_server
# clean rule for target.
CMakeFiles/strategy_server.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/clean
.PHONY : CMakeFiles/strategy_server.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/rebuild_cache.dir
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/edit_cache.dir
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
../../app/config/server_config.h
string
-
Poco/Util/Application.h
-
Poco/Util/ServerApplication.h
../../app/config/Poco/Util/ServerApplication.h
../../redis/redis_manage.h
iostream
-
sstream
-
Poco/Logger.h
-
server_config.h
../../redis/server_config.h
hiredis/hiredis.h
../../redis/hiredis/hiredis.h
Poco/zlib.h
-
stdlib.h
../../redis/stdlib.h
/Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.cpp
server_config.h
/Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.h
/Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.h
string
-
Poco/Util/Application.h
-
Poco/Util/ServerApplication.h
/Users/gengmei/eclipse-workspace/CppTensor/app/config/Poco/Util/ServerApplication.h
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.cpp
Poco/Format.h
-
Poco/Exception.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/Exception.h
query_analyzer.h
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.h
Poco/JSON/Object.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/Object.h
Poco/JSON/Parser.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/Parser.h
Poco/JSON/Query.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/Query.h
Poco/JSON/JSONException.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/JSONException.h
Poco/JSON/Stringifier.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/Stringifier.h
Poco/JSON/ParseHandler.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/ParseHandler.h
Poco/JSON/PrintHandler.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/PrintHandler.h
Poco/JSON/Template.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/Template.h
Poco/JSON/JSONException.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/JSONException.h
Poco/JSON/ParseHandler.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/JSON/ParseHandler.h
Poco/Dynamic/Var.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/Dynamic/Var.h
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.h
iostream
-
memory
-
string
-
Poco/Logger.h
-
grpcpp/grpcpp.h
-
grpcpp/health_check_service_interface.h
-
grpcpp/ext/proto_server_reflection_plugin.h
-
query_analyzer.grpc.pb.h
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.grpc.pb.h
redis_manage.h
/Users/gengmei/eclipse-workspace/CppTensor/app/redis_manage.h
/Users/gengmei/eclipse-workspace/CppTensor/app/rpc_handle.cpp
iostream
-
memory
-
string
-
Poco/Logger.h
-
Poco/FileChannel.h
/Users/gengmei/eclipse-workspace/CppTensor/app/Poco/FileChannel.h
Poco/FormattingChannel.h
-
Poco/PatternFormatter.h
-
query_analyzer.h
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.h
server_config.h
/Users/gengmei/eclipse-workspace/CppTensor/app/server_config.h
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.cc
query_analyzer.pb.h
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.h
query_analyzer.grpc.pb.h
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.h
functional
-
grpcpp/impl/codegen/async_stream.h
-
grpcpp/impl/codegen/async_unary_call.h
-
grpcpp/impl/codegen/channel_interface.h
-
grpcpp/impl/codegen/client_unary_call.h
-
grpcpp/impl/codegen/client_callback.h
-
grpcpp/impl/codegen/message_allocator.h
-
grpcpp/impl/codegen/method_handler.h
-
grpcpp/impl/codegen/rpc_service_method.h
-
grpcpp/impl/codegen/server_callback.h
-
grpcpp/impl/codegen/server_callback_handlers.h
-
grpcpp/impl/codegen/server_context.h
-
grpcpp/impl/codegen/service_type.h
-
grpcpp/impl/codegen/sync_stream.h
-
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.h
query_analyzer.pb.h
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.h
functional
-
grpc/impl/codegen/port_platform.h
-
grpcpp/impl/codegen/async_generic_service.h
-
grpcpp/impl/codegen/async_stream.h
-
grpcpp/impl/codegen/async_unary_call.h
-
grpcpp/impl/codegen/client_callback.h
-
grpcpp/impl/codegen/client_context.h
-
grpcpp/impl/codegen/completion_queue.h
-
grpcpp/impl/codegen/message_allocator.h
-
grpcpp/impl/codegen/method_handler.h
-
grpcpp/impl/codegen/proto_utils.h
-
grpcpp/impl/codegen/rpc_method.h
-
grpcpp/impl/codegen/server_callback.h
-
grpcpp/impl/codegen/server_callback_handlers.h
-
grpcpp/impl/codegen/server_context.h
-
grpcpp/impl/codegen/service_type.h
-
grpcpp/impl/codegen/status.h
-
grpcpp/impl/codegen/stub_options.h
-
grpcpp/impl/codegen/sync_stream.h
-
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc
query_analyzer.pb.h
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.h
algorithm
-
google/protobuf/io/coded_stream.h
-
google/protobuf/extension_set.h
-
google/protobuf/wire_format_lite.h
-
google/protobuf/descriptor.h
-
google/protobuf/generated_message_reflection.h
-
google/protobuf/reflection_ops.h
-
google/protobuf/wire_format.h
-
google/protobuf/port_def.inc
-
google/protobuf/port_undef.inc
-
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.h
limits
-
string
-
google/protobuf/port_def.inc
-
google/protobuf/port_undef.inc
-
google/protobuf/io/coded_stream.h
-
google/protobuf/arena.h
-
google/protobuf/arenastring.h
-
google/protobuf/generated_message_table_driven.h
-
google/protobuf/generated_message_util.h
-
google/protobuf/inlined_string_field.h
-
google/protobuf/metadata_lite.h
-
google/protobuf/generated_message_reflection.h
-
google/protobuf/message.h
-
google/protobuf/repeated_field.h
-
google/protobuf/extension_set.h
-
google/protobuf/unknown_field_set.h
-
google/protobuf/port_def.inc
-
google/protobuf/port_undef.inc
-
/Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.cpp
redis_manage.h
/Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.h
string.h
-
strings.h
-
Poco/Stopwatch.h
-
/Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.h
iostream
-
sstream
-
Poco/Logger.h
-
server_config.h
/Users/gengmei/eclipse-workspace/CppTensor/redis/server_config.h
hiredis/hiredis.h
/Users/gengmei/eclipse-workspace/CppTensor/redis/hiredis/hiredis.h
Poco/zlib.h
-
stdlib.h
/Users/gengmei/eclipse-workspace/CppTensor/redis/stdlib.h
query_analyzer.grpc.pb.h
query_analyzer.pb.h
query_analyzer.pb.h
functional
-
grpc/impl/codegen/port_platform.h
-
grpcpp/impl/codegen/async_generic_service.h
-
grpcpp/impl/codegen/async_stream.h
-
grpcpp/impl/codegen/async_unary_call.h
-
grpcpp/impl/codegen/client_callback.h
-
grpcpp/impl/codegen/client_context.h
-
grpcpp/impl/codegen/completion_queue.h
-
grpcpp/impl/codegen/message_allocator.h
-
grpcpp/impl/codegen/method_handler.h
-
grpcpp/impl/codegen/proto_utils.h
-
grpcpp/impl/codegen/rpc_method.h
-
grpcpp/impl/codegen/server_callback.h
-
grpcpp/impl/codegen/server_callback_handlers.h
-
grpcpp/impl/codegen/server_context.h
-
grpcpp/impl/codegen/service_type.h
-
grpcpp/impl/codegen/status.h
-
grpcpp/impl/codegen/stub_options.h
-
grpcpp/impl/codegen/sync_stream.h
-
query_analyzer.pb.h
limits
-
string
-
google/protobuf/port_def.inc
-
google/protobuf/port_undef.inc
-
google/protobuf/io/coded_stream.h
-
google/protobuf/arena.h
-
google/protobuf/arenastring.h
-
google/protobuf/generated_message_table_driven.h
-
google/protobuf/generated_message_util.h
-
google/protobuf/inlined_string_field.h
-
google/protobuf/metadata_lite.h
-
google/protobuf/generated_message_reflection.h
-
google/protobuf/message.h
-
google/protobuf/repeated_field.h
-
google/protobuf/extension_set.h
-
google/protobuf/unknown_field_set.h
-
google/protobuf/port_def.inc
-
google/protobuf/port_undef.inc
-
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.cpp" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o"
"/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.cpp" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o"
"/Users/gengmei/eclipse-workspace/CppTensor/app/rpc_handle.cpp" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o"
"/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.cc" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o"
"/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o"
"/Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.cpp" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "AppleClang")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"CARES_STATICLIB"
"POCO_ENABLE_CPP11"
"POCO_ENABLE_CPP14"
"POCO_HAVE_IPv6"
"POCO_NO_STAT64"
"POCO_OS_FAMILY_UNIX"
"XML_DTD"
)
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"."
"../../redis"
"../../app/config"
)
# Pairs of files generated by the same build rule.
set(CMAKE_MULTIPLE_OUTPUT_PAIRS
"/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.cc" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc"
"/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.h" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc"
"/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.h" "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /Applications/CMake.app/Contents/bin/cmake
# The command to remove a file.
RM = /Applications/CMake.app/Contents/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/gengmei/eclipse-workspace/CppTensor
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/gengmei/eclipse-workspace/CppTensor/cmake/build
# Include any dependencies generated for this target.
include CMakeFiles/strategy_server.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/strategy_server.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/strategy_server.dir/flags.make
query_analyzer.pb.cc: ../../pb/query_analyzer.proto
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating query_analyzer.pb.cc, query_analyzer.pb.h, query_analyzer.grpc.pb.cc, query_analyzer.grpc.pb.h"
/usr/local/bin/protoc-3.13.0.0 --grpc_out /Users/gengmei/eclipse-workspace/CppTensor/cmake/build --cpp_out /Users/gengmei/eclipse-workspace/CppTensor/cmake/build -I /Users/gengmei/eclipse-workspace/CppTensor/pb --plugin=protoc-gen-grpc="/usr/local/bin/grpc_cpp_plugin" /Users/gengmei/eclipse-workspace/CppTensor/pb/query_analyzer.proto
query_analyzer.pb.h: query_analyzer.pb.cc
@$(CMAKE_COMMAND) -E touch_nocreate query_analyzer.pb.h
query_analyzer.grpc.pb.cc: query_analyzer.pb.cc
@$(CMAKE_COMMAND) -E touch_nocreate query_analyzer.grpc.pb.cc
query_analyzer.grpc.pb.h: query_analyzer.pb.cc
@$(CMAKE_COMMAND) -E touch_nocreate query_analyzer.grpc.pb.h
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: CMakeFiles/strategy_server.dir/flags.make
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: ../../app/query_analyzer.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o -c /Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.cpp
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.cpp > CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.i
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.cpp -o CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.s
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: CMakeFiles/strategy_server.dir/flags.make
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: ../../app/rpc_handle.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o -c /Users/gengmei/eclipse-workspace/CppTensor/app/rpc_handle.cpp
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/gengmei/eclipse-workspace/CppTensor/app/rpc_handle.cpp > CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.i
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/gengmei/eclipse-workspace/CppTensor/app/rpc_handle.cpp -o CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.s
CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o: CMakeFiles/strategy_server.dir/flags.make
CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o: ../../app/config/server_config.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o -c /Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.cpp
CMakeFiles/strategy_server.dir/app/config/server_config.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/strategy_server.dir/app/config/server_config.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.cpp > CMakeFiles/strategy_server.dir/app/config/server_config.cpp.i
CMakeFiles/strategy_server.dir/app/config/server_config.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/strategy_server.dir/app/config/server_config.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.cpp -o CMakeFiles/strategy_server.dir/app/config/server_config.cpp.s
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o: CMakeFiles/strategy_server.dir/flags.make
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o: ../../redis/redis_manage.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building CXX object CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o -c /Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.cpp
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.cpp > CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.i
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.cpp -o CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.s
CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o: CMakeFiles/strategy_server.dir/flags.make
CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o: query_analyzer.pb.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building CXX object CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o -c /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc
CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc > CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.i
CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc -o CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.s
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o: CMakeFiles/strategy_server.dir/flags.make
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o: query_analyzer.grpc.pb.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building CXX object CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o -c /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.cc
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.i"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.cc > CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.i
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.s"
/Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.cc -o CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.s
# Object files for target strategy_server
strategy_server_OBJECTS = \
"CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o" \
"CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o" \
"CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o" \
"CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o" \
"CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o" \
"CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o"
# External object files for target strategy_server
strategy_server_EXTERNAL_OBJECTS =
strategy_server: CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o
strategy_server: CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o
strategy_server: CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o
strategy_server: CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o
strategy_server: CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o
strategy_server: CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o
strategy_server: CMakeFiles/strategy_server.dir/build.make
strategy_server: /usr/local/lib/libgrpc++_reflection.a
strategy_server: /usr/local/lib/libgrpc++.a
strategy_server: /usr/local/lib/libprotobuf.a
strategy_server: /usr/local/lib/libPocoData.71.dylib
strategy_server: /usr/local/lib/libPocoNet.71.dylib
strategy_server: /usr/local/lib/libPocoZip.71.dylib
strategy_server: /usr/local/lib/libgrpc.a
strategy_server: /usr/local/lib/libssl.a
strategy_server: /usr/local/lib/libcrypto.a
strategy_server: /usr/local/lib/libz.a
strategy_server: /usr/local/lib/libcares.a
strategy_server: /usr/local/lib/libre2.a
strategy_server: /usr/local/lib/libabsl_statusor.a
strategy_server: /usr/local/lib/libabsl_hash.a
strategy_server: /usr/local/lib/libabsl_bad_variant_access.a
strategy_server: /usr/local/lib/libabsl_city.a
strategy_server: /usr/local/lib/libabsl_raw_hash_set.a
strategy_server: /usr/local/lib/libabsl_hashtablez_sampler.a
strategy_server: /usr/local/lib/libabsl_exponential_biased.a
strategy_server: /usr/local/lib/libgpr.a
strategy_server: /usr/local/lib/libabsl_status.a
strategy_server: /usr/local/lib/libabsl_cord.a
strategy_server: /usr/local/lib/libabsl_bad_optional_access.a
strategy_server: /usr/local/lib/libabsl_synchronization.a
strategy_server: /usr/local/lib/libabsl_stacktrace.a
strategy_server: /usr/local/lib/libabsl_symbolize.a
strategy_server: /usr/local/lib/libabsl_debugging_internal.a
strategy_server: /usr/local/lib/libabsl_demangle_internal.a
strategy_server: /usr/local/lib/libabsl_graphcycles_internal.a
strategy_server: /usr/local/lib/libabsl_time.a
strategy_server: /usr/local/lib/libabsl_civil_time.a
strategy_server: /usr/local/lib/libabsl_time_zone.a
strategy_server: /usr/local/lib/libabsl_malloc_internal.a
strategy_server: /usr/local/lib/libabsl_str_format_internal.a
strategy_server: /usr/local/lib/libabsl_strings.a
strategy_server: /usr/local/lib/libabsl_strings_internal.a
strategy_server: /usr/local/lib/libabsl_int128.a
strategy_server: /usr/local/lib/libabsl_throw_delegate.a
strategy_server: /usr/local/lib/libabsl_base.a
strategy_server: /usr/local/lib/libabsl_raw_logging_internal.a
strategy_server: /usr/local/lib/libabsl_log_severity.a
strategy_server: /usr/local/lib/libabsl_spinlock_wait.a
strategy_server: /usr/local/lib/libaddress_sorting.a
strategy_server: /usr/local/lib/libupb.a
strategy_server: /usr/local/lib/libPocoUtil.71.dylib
strategy_server: /usr/local/lib/libPocoJSON.71.dylib
strategy_server: /usr/local/lib/libPocoXML.71.dylib
strategy_server: /usr/local/lib/libPocoFoundation.71.dylib
strategy_server: CMakeFiles/strategy_server.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Linking CXX executable strategy_server"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/strategy_server.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/strategy_server.dir/build: strategy_server
.PHONY : CMakeFiles/strategy_server.dir/build
CMakeFiles/strategy_server.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/strategy_server.dir/cmake_clean.cmake
.PHONY : CMakeFiles/strategy_server.dir/clean
CMakeFiles/strategy_server.dir/depend: query_analyzer.grpc.pb.cc
CMakeFiles/strategy_server.dir/depend: query_analyzer.grpc.pb.h
CMakeFiles/strategy_server.dir/depend: query_analyzer.pb.cc
CMakeFiles/strategy_server.dir/depend: query_analyzer.pb.h
cd /Users/gengmei/eclipse-workspace/CppTensor/cmake/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/gengmei/eclipse-workspace/CppTensor /Users/gengmei/eclipse-workspace/CppTensor /Users/gengmei/eclipse-workspace/CppTensor/cmake/build /Users/gengmei/eclipse-workspace/CppTensor/cmake/build /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles/strategy_server.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/strategy_server.dir/depend
file(REMOVE_RECURSE
"CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o"
"CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o"
"CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o"
"CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o"
"CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o"
"CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o"
"query_analyzer.grpc.pb.cc"
"query_analyzer.grpc.pb.h"
"query_analyzer.pb.cc"
"query_analyzer.pb.h"
"strategy_server"
"strategy_server.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/strategy_server.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o
/Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.cpp
/Users/gengmei/eclipse-workspace/CppTensor/app/config/server_config.h
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o
../../app/config/server_config.h
../../redis/redis_manage.h
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.cpp
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.h
query_analyzer.grpc.pb.h
query_analyzer.pb.h
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o
../../app/config/server_config.h
../../redis/redis_manage.h
/Users/gengmei/eclipse-workspace/CppTensor/app/query_analyzer.h
/Users/gengmei/eclipse-workspace/CppTensor/app/rpc_handle.cpp
query_analyzer.grpc.pb.h
query_analyzer.pb.h
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.cc
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.grpc.pb.h
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.h
CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.cc
/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/query_analyzer.pb.h
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o
../../app/config/server_config.h
/Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.cpp
/Users/gengmei/eclipse-workspace/CppTensor/redis/redis_manage.h
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o: ../../app/config/server_config.cpp
CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o: ../../app/config/server_config.h
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: ../../app/config/server_config.h
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: ../../redis/redis_manage.h
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: ../../app/query_analyzer.cpp
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: ../../app/query_analyzer.h
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: query_analyzer.grpc.pb.h
CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o: query_analyzer.pb.h
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: ../../app/config/server_config.h
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: ../../redis/redis_manage.h
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: ../../app/query_analyzer.h
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: ../../app/rpc_handle.cpp
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: query_analyzer.grpc.pb.h
CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o: query_analyzer.pb.h
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o: query_analyzer.grpc.pb.cc
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o: query_analyzer.grpc.pb.h
CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o: query_analyzer.pb.h
CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o: query_analyzer.pb.cc
CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o: query_analyzer.pb.h
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o: ../../app/config/server_config.h
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o: ../../redis/redis_manage.cpp
CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o: ../../redis/redis_manage.h
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++
CXX_DEFINES = -DCARES_STATICLIB -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_IPv6 -DPOCO_NO_STAT64 -DPOCO_OS_FAMILY_UNIX -DXML_DTD
CXX_INCLUDES = -I/Users/gengmei/eclipse-workspace/CppTensor/cmake/build -I/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/../../redis -I/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/../../app/config
CXX_FLAGS = -std=c++11 -std=gnu++14
/Library/Developer/CommandLineTools/usr/bin/c++ -std=c++11 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o -o strategy_server /usr/local/lib/libgrpc++_reflection.a /usr/local/lib/libgrpc++.a /usr/local/lib/libprotobuf.a /usr/local/lib/libPocoData.71.dylib /usr/local/lib/libPocoNet.71.dylib /usr/local/lib/libPocoZip.71.dylib -lhiredis /usr/local/lib/libgrpc.a /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a /usr/local/lib/libz.a /usr/local/lib/libcares.a -lresolv /usr/local/lib/libre2.a /usr/local/lib/libabsl_statusor.a /usr/local/lib/libabsl_hash.a /usr/local/lib/libabsl_bad_variant_access.a /usr/local/lib/libabsl_city.a /usr/local/lib/libabsl_raw_hash_set.a /usr/local/lib/libabsl_hashtablez_sampler.a /usr/local/lib/libabsl_exponential_biased.a -framework CoreFoundation /usr/local/lib/libgpr.a /usr/local/lib/libabsl_status.a /usr/local/lib/libabsl_cord.a /usr/local/lib/libabsl_bad_optional_access.a /usr/local/lib/libabsl_synchronization.a /usr/local/lib/libabsl_stacktrace.a /usr/local/lib/libabsl_symbolize.a /usr/local/lib/libabsl_debugging_internal.a /usr/local/lib/libabsl_demangle_internal.a /usr/local/lib/libabsl_graphcycles_internal.a /usr/local/lib/libabsl_time.a /usr/local/lib/libabsl_civil_time.a /usr/local/lib/libabsl_time_zone.a -framework CoreFoundation /usr/local/lib/libabsl_malloc_internal.a /usr/local/lib/libabsl_str_format_internal.a /usr/local/lib/libabsl_strings.a /usr/local/lib/libabsl_strings_internal.a /usr/local/lib/libabsl_int128.a /usr/local/lib/libabsl_throw_delegate.a /usr/local/lib/libabsl_base.a /usr/local/lib/libabsl_raw_logging_internal.a /usr/local/lib/libabsl_log_severity.a /usr/local/lib/libabsl_spinlock_wait.a /usr/local/lib/libaddress_sorting.a /usr/local/lib/libupb.a -lm -lpthread /usr/local/lib/libPocoUtil.71.dylib /usr/local/lib/libPocoJSON.71.dylib /usr/local/lib/libPocoXML.71.dylib /usr/local/lib/libPocoFoundation.71.dylib
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3
CMAKE_PROGRESS_4 = 4
CMAKE_PROGRESS_5 = 5
CMAKE_PROGRESS_6 = 6
CMAKE_PROGRESS_7 = 7
CMAKE_PROGRESS_8 = 8
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.19
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /Applications/CMake.app/Contents/bin/cmake
# The command to remove a file.
RM = /Applications/CMake.app/Contents/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /Users/gengmei/eclipse-workspace/CppTensor
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /Users/gengmei/eclipse-workspace/CppTensor/cmake/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/Applications/CMake.app/Contents/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/Applications/CMake.app/Contents/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles /Users/gengmei/eclipse-workspace/CppTensor/cmake/build//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /Users/gengmei/eclipse-workspace/CppTensor/cmake/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named strategy_server
# Build rule for target.
strategy_server: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 strategy_server
.PHONY : strategy_server
# fast build rule for target.
strategy_server/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/build
.PHONY : strategy_server/fast
app/config/server_config.o: app/config/server_config.cpp.o
.PHONY : app/config/server_config.o
# target to build an object file
app/config/server_config.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/config/server_config.cpp.o
.PHONY : app/config/server_config.cpp.o
app/config/server_config.i: app/config/server_config.cpp.i
.PHONY : app/config/server_config.i
# target to preprocess a source file
app/config/server_config.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/config/server_config.cpp.i
.PHONY : app/config/server_config.cpp.i
app/config/server_config.s: app/config/server_config.cpp.s
.PHONY : app/config/server_config.s
# target to generate assembly for a file
app/config/server_config.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/config/server_config.cpp.s
.PHONY : app/config/server_config.cpp.s
app/query_analyzer.o: app/query_analyzer.cpp.o
.PHONY : app/query_analyzer.o
# target to build an object file
app/query_analyzer.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.o
.PHONY : app/query_analyzer.cpp.o
app/query_analyzer.i: app/query_analyzer.cpp.i
.PHONY : app/query_analyzer.i
# target to preprocess a source file
app/query_analyzer.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.i
.PHONY : app/query_analyzer.cpp.i
app/query_analyzer.s: app/query_analyzer.cpp.s
.PHONY : app/query_analyzer.s
# target to generate assembly for a file
app/query_analyzer.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/query_analyzer.cpp.s
.PHONY : app/query_analyzer.cpp.s
app/rpc_handle.o: app/rpc_handle.cpp.o
.PHONY : app/rpc_handle.o
# target to build an object file
app/rpc_handle.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.o
.PHONY : app/rpc_handle.cpp.o
app/rpc_handle.i: app/rpc_handle.cpp.i
.PHONY : app/rpc_handle.i
# target to preprocess a source file
app/rpc_handle.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.i
.PHONY : app/rpc_handle.cpp.i
app/rpc_handle.s: app/rpc_handle.cpp.s
.PHONY : app/rpc_handle.s
# target to generate assembly for a file
app/rpc_handle.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/app/rpc_handle.cpp.s
.PHONY : app/rpc_handle.cpp.s
query_analyzer.grpc.pb.o: query_analyzer.grpc.pb.cc.o
.PHONY : query_analyzer.grpc.pb.o
# target to build an object file
query_analyzer.grpc.pb.cc.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.o
.PHONY : query_analyzer.grpc.pb.cc.o
query_analyzer.grpc.pb.i: query_analyzer.grpc.pb.cc.i
.PHONY : query_analyzer.grpc.pb.i
# target to preprocess a source file
query_analyzer.grpc.pb.cc.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.i
.PHONY : query_analyzer.grpc.pb.cc.i
query_analyzer.grpc.pb.s: query_analyzer.grpc.pb.cc.s
.PHONY : query_analyzer.grpc.pb.s
# target to generate assembly for a file
query_analyzer.grpc.pb.cc.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/query_analyzer.grpc.pb.cc.s
.PHONY : query_analyzer.grpc.pb.cc.s
query_analyzer.pb.o: query_analyzer.pb.cc.o
.PHONY : query_analyzer.pb.o
# target to build an object file
query_analyzer.pb.cc.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.o
.PHONY : query_analyzer.pb.cc.o
query_analyzer.pb.i: query_analyzer.pb.cc.i
.PHONY : query_analyzer.pb.i
# target to preprocess a source file
query_analyzer.pb.cc.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.i
.PHONY : query_analyzer.pb.cc.i
query_analyzer.pb.s: query_analyzer.pb.cc.s
.PHONY : query_analyzer.pb.s
# target to generate assembly for a file
query_analyzer.pb.cc.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/query_analyzer.pb.cc.s
.PHONY : query_analyzer.pb.cc.s
redis/redis_manage.o: redis/redis_manage.cpp.o
.PHONY : redis/redis_manage.o
# target to build an object file
redis/redis_manage.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.o
.PHONY : redis/redis_manage.cpp.o
redis/redis_manage.i: redis/redis_manage.cpp.i
.PHONY : redis/redis_manage.i
# target to preprocess a source file
redis/redis_manage.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.i
.PHONY : redis/redis_manage.cpp.i
redis/redis_manage.s: redis/redis_manage.cpp.s
.PHONY : redis/redis_manage.s
# target to generate assembly for a file
redis/redis_manage.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/strategy_server.dir/build.make CMakeFiles/strategy_server.dir/redis/redis_manage.cpp.s
.PHONY : redis/redis_manage.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... strategy_server"
@echo "... app/config/server_config.o"
@echo "... app/config/server_config.i"
@echo "... app/config/server_config.s"
@echo "... app/query_analyzer.o"
@echo "... app/query_analyzer.i"
@echo "... app/query_analyzer.s"
@echo "... app/rpc_handle.o"
@echo "... app/rpc_handle.i"
@echo "... app/rpc_handle.s"
@echo "... query_analyzer.grpc.pb.o"
@echo "... query_analyzer.grpc.pb.i"
@echo "... query_analyzer.grpc.pb.s"
@echo "... query_analyzer.pb.o"
@echo "... query_analyzer.pb.i"
@echo "... query_analyzer.pb.s"
@echo "... redis/redis_manage.o"
@echo "... redis/redis_manage.i"
@echo "... redis/redis_manage.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
# Install script for directory: /Users/gengmei/eclipse-workspace/CppTensor
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/Library/Developer/CommandLineTools/usr/bin/objdump")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/Users/gengmei/eclipse-workspace/CppTensor/cmake/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
// Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: query_analyzer.proto
#include "query_analyzer.pb.h"
#include "query_analyzer.grpc.pb.h"
#include <functional>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/async_unary_call.h>
#include <grpcpp/impl/codegen/channel_interface.h>
#include <grpcpp/impl/codegen/client_unary_call.h>
#include <grpcpp/impl/codegen/client_callback.h>
#include <grpcpp/impl/codegen/message_allocator.h>
#include <grpcpp/impl/codegen/method_handler.h>
#include <grpcpp/impl/codegen/rpc_service_method.h>
#include <grpcpp/impl/codegen/server_callback.h>
#include <grpcpp/impl/codegen/server_callback_handlers.h>
#include <grpcpp/impl/codegen/server_context.h>
#include <grpcpp/impl/codegen/service_type.h>
#include <grpcpp/impl/codegen/sync_stream.h>
namespace QueryAnalyzer {
static const char* QueryInferenceService_method_names[] = {
"/QueryAnalyzer.QueryInferenceService/QueryInference",
};
std::unique_ptr< QueryInferenceService::Stub> QueryInferenceService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
(void)options;
std::unique_ptr< QueryInferenceService::Stub> stub(new QueryInferenceService::Stub(channel));
return stub;
}
QueryInferenceService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel)
: channel_(channel), rpcmethod_QueryInference_(QueryInferenceService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
{}
::grpc::Status QueryInferenceService::Stub::QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::QueryAnalyzer::QueryInferenceReply* response) {
return ::grpc::internal::BlockingUnaryCall< ::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_QueryInference_, context, request, response);
}
void QueryInferenceService::Stub::experimental_async::QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, std::function<void(::grpc::Status)> f) {
::grpc::internal::CallbackUnaryCall< ::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_QueryInference_, context, request, response, std::move(f));
}
void QueryInferenceService::Stub::experimental_async::QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, ::grpc::experimental::ClientUnaryReactor* reactor) {
::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_QueryInference_, context, request, response, reactor);
}
::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>* QueryInferenceService::Stub::PrepareAsyncQueryInferenceRaw(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) {
return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::QueryAnalyzer::QueryInferenceReply, ::QueryAnalyzer::QueryInferenceRequest, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_QueryInference_, context, request);
}
::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>* QueryInferenceService::Stub::AsyncQueryInferenceRaw(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) {
auto* result =
this->PrepareAsyncQueryInferenceRaw(context, request, cq);
result->StartCall();
return result;
}
QueryInferenceService::Service::Service() {
AddMethod(new ::grpc::internal::RpcServiceMethod(
QueryInferenceService_method_names[0],
::grpc::internal::RpcMethod::NORMAL_RPC,
new ::grpc::internal::RpcMethodHandler< QueryInferenceService::Service, ::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
[](QueryInferenceService::Service* service,
::grpc::ServerContext* ctx,
const ::QueryAnalyzer::QueryInferenceRequest* req,
::QueryAnalyzer::QueryInferenceReply* resp) {
return service->QueryInference(ctx, req, resp);
}, this)));
}
QueryInferenceService::Service::~Service() {
}
::grpc::Status QueryInferenceService::Service::QueryInference(::grpc::ServerContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response) {
(void) context;
(void) request;
(void) response;
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
} // namespace QueryAnalyzer
// Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: query_analyzer.proto
// Original file comments:
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#ifndef GRPC_query_5fanalyzer_2eproto__INCLUDED
#define GRPC_query_5fanalyzer_2eproto__INCLUDED
#include "query_analyzer.pb.h"
#include <functional>
#include <grpc/impl/codegen/port_platform.h>
#include <grpcpp/impl/codegen/async_generic_service.h>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/async_unary_call.h>
#include <grpcpp/impl/codegen/client_callback.h>
#include <grpcpp/impl/codegen/client_context.h>
#include <grpcpp/impl/codegen/completion_queue.h>
#include <grpcpp/impl/codegen/message_allocator.h>
#include <grpcpp/impl/codegen/method_handler.h>
#include <grpcpp/impl/codegen/proto_utils.h>
#include <grpcpp/impl/codegen/rpc_method.h>
#include <grpcpp/impl/codegen/server_callback.h>
#include <grpcpp/impl/codegen/server_callback_handlers.h>
#include <grpcpp/impl/codegen/server_context.h>
#include <grpcpp/impl/codegen/service_type.h>
#include <grpcpp/impl/codegen/status.h>
#include <grpcpp/impl/codegen/stub_options.h>
#include <grpcpp/impl/codegen/sync_stream.h>
namespace QueryAnalyzer {
// The QueryInference service definition.
class QueryInferenceService final {
public:
static constexpr char const* service_full_name() {
return "QueryAnalyzer.QueryInferenceService";
}
class StubInterface {
public:
virtual ~StubInterface() {}
virtual ::grpc::Status QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::QueryAnalyzer::QueryInferenceReply* response) = 0;
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::QueryAnalyzer::QueryInferenceReply>> AsyncQueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::QueryAnalyzer::QueryInferenceReply>>(AsyncQueryInferenceRaw(context, request, cq));
}
std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::QueryAnalyzer::QueryInferenceReply>> PrepareAsyncQueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::QueryAnalyzer::QueryInferenceReply>>(PrepareAsyncQueryInferenceRaw(context, request, cq));
}
class experimental_async_interface {
public:
virtual ~experimental_async_interface() {}
virtual void QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, std::function<void(::grpc::Status)>) = 0;
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
virtual void QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, ::grpc::ClientUnaryReactor* reactor) = 0;
#else
virtual void QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0;
#endif
};
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
typedef class experimental_async_interface async_interface;
#endif
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
async_interface* async() { return experimental_async(); }
#endif
virtual class experimental_async_interface* experimental_async() { return nullptr; }
private:
virtual ::grpc::ClientAsyncResponseReaderInterface< ::QueryAnalyzer::QueryInferenceReply>* AsyncQueryInferenceRaw(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) = 0;
virtual ::grpc::ClientAsyncResponseReaderInterface< ::QueryAnalyzer::QueryInferenceReply>* PrepareAsyncQueryInferenceRaw(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) = 0;
};
class Stub final : public StubInterface {
public:
Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
::grpc::Status QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::QueryAnalyzer::QueryInferenceReply* response) override;
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>> AsyncQueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>>(AsyncQueryInferenceRaw(context, request, cq));
}
std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>> PrepareAsyncQueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) {
return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>>(PrepareAsyncQueryInferenceRaw(context, request, cq));
}
class experimental_async final :
public StubInterface::experimental_async_interface {
public:
void QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, std::function<void(::grpc::Status)>) override;
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
void QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, ::grpc::ClientUnaryReactor* reactor) override;
#else
void QueryInference(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response, ::grpc::experimental::ClientUnaryReactor* reactor) override;
#endif
private:
friend class Stub;
explicit experimental_async(Stub* stub): stub_(stub) { }
Stub* stub() { return stub_; }
Stub* stub_;
};
class experimental_async_interface* experimental_async() override { return &async_stub_; }
private:
std::shared_ptr< ::grpc::ChannelInterface> channel_;
class experimental_async async_stub_{this};
::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>* AsyncQueryInferenceRaw(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) override;
::grpc::ClientAsyncResponseReader< ::QueryAnalyzer::QueryInferenceReply>* PrepareAsyncQueryInferenceRaw(::grpc::ClientContext* context, const ::QueryAnalyzer::QueryInferenceRequest& request, ::grpc::CompletionQueue* cq) override;
const ::grpc::internal::RpcMethod rpcmethod_QueryInference_;
};
static std::unique_ptr<Stub> NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions());
class Service : public ::grpc::Service {
public:
Service();
virtual ~Service();
virtual ::grpc::Status QueryInference(::grpc::ServerContext* context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response);
};
template <class BaseClass>
class WithAsyncMethod_QueryInference : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
WithAsyncMethod_QueryInference() {
::grpc::Service::MarkMethodAsync(0);
}
~WithAsyncMethod_QueryInference() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
::grpc::Status QueryInference(::grpc::ServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
void RequestQueryInference(::grpc::ServerContext* context, ::QueryAnalyzer::QueryInferenceRequest* request, ::grpc::ServerAsyncResponseWriter< ::QueryAnalyzer::QueryInferenceReply>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
}
};
typedef WithAsyncMethod_QueryInference<Service > AsyncService;
template <class BaseClass>
class ExperimentalWithCallbackMethod_QueryInference : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
ExperimentalWithCallbackMethod_QueryInference() {
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
::grpc::Service::
#else
::grpc::Service::experimental().
#endif
MarkMethodCallback(0,
new ::grpc::internal::CallbackUnaryHandler< ::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply>(
[this](
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
::grpc::CallbackServerContext*
#else
::grpc::experimental::CallbackServerContext*
#endif
context, const ::QueryAnalyzer::QueryInferenceRequest* request, ::QueryAnalyzer::QueryInferenceReply* response) { return this->QueryInference(context, request, response); }));}
void SetMessageAllocatorFor_QueryInference(
::grpc::experimental::MessageAllocator< ::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply>* allocator) {
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
::grpc::internal::MethodHandler* const handler = ::grpc::Service::GetHandler(0);
#else
::grpc::internal::MethodHandler* const handler = ::grpc::Service::experimental().GetHandler(0);
#endif
static_cast<::grpc::internal::CallbackUnaryHandler< ::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply>*>(handler)
->SetMessageAllocator(allocator);
}
~ExperimentalWithCallbackMethod_QueryInference() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
::grpc::Status QueryInference(::grpc::ServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
virtual ::grpc::ServerUnaryReactor* QueryInference(
::grpc::CallbackServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/)
#else
virtual ::grpc::experimental::ServerUnaryReactor* QueryInference(
::grpc::experimental::CallbackServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/)
#endif
{ return nullptr; }
};
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
typedef ExperimentalWithCallbackMethod_QueryInference<Service > CallbackService;
#endif
typedef ExperimentalWithCallbackMethod_QueryInference<Service > ExperimentalCallbackService;
template <class BaseClass>
class WithGenericMethod_QueryInference : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
WithGenericMethod_QueryInference() {
::grpc::Service::MarkMethodGeneric(0);
}
~WithGenericMethod_QueryInference() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
::grpc::Status QueryInference(::grpc::ServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
};
template <class BaseClass>
class WithRawMethod_QueryInference : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
WithRawMethod_QueryInference() {
::grpc::Service::MarkMethodRaw(0);
}
~WithRawMethod_QueryInference() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
::grpc::Status QueryInference(::grpc::ServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
void RequestQueryInference(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) {
::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag);
}
};
template <class BaseClass>
class ExperimentalWithRawCallbackMethod_QueryInference : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
ExperimentalWithRawCallbackMethod_QueryInference() {
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
::grpc::Service::
#else
::grpc::Service::experimental().
#endif
MarkMethodRawCallback(0,
new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>(
[this](
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
::grpc::CallbackServerContext*
#else
::grpc::experimental::CallbackServerContext*
#endif
context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response) { return this->QueryInference(context, request, response); }));
}
~ExperimentalWithRawCallbackMethod_QueryInference() override {
BaseClassMustBeDerivedFromService(this);
}
// disable synchronous version of this method
::grpc::Status QueryInference(::grpc::ServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
#ifdef GRPC_CALLBACK_API_NONEXPERIMENTAL
virtual ::grpc::ServerUnaryReactor* QueryInference(
::grpc::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
#else
virtual ::grpc::experimental::ServerUnaryReactor* QueryInference(
::grpc::experimental::CallbackServerContext* /*context*/, const ::grpc::ByteBuffer* /*request*/, ::grpc::ByteBuffer* /*response*/)
#endif
{ return nullptr; }
};
template <class BaseClass>
class WithStreamedUnaryMethod_QueryInference : public BaseClass {
private:
void BaseClassMustBeDerivedFromService(const Service* /*service*/) {}
public:
WithStreamedUnaryMethod_QueryInference() {
::grpc::Service::MarkMethodStreamed(0,
new ::grpc::internal::StreamedUnaryHandler<
::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply>(
[this](::grpc::ServerContext* context,
::grpc::ServerUnaryStreamer<
::QueryAnalyzer::QueryInferenceRequest, ::QueryAnalyzer::QueryInferenceReply>* streamer) {
return this->StreamedQueryInference(context,
streamer);
}));
}
~WithStreamedUnaryMethod_QueryInference() override {
BaseClassMustBeDerivedFromService(this);
}
// disable regular version of this method
::grpc::Status QueryInference(::grpc::ServerContext* /*context*/, const ::QueryAnalyzer::QueryInferenceRequest* /*request*/, ::QueryAnalyzer::QueryInferenceReply* /*response*/) override {
abort();
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
}
// replace default version of method with streamed unary
virtual ::grpc::Status StreamedQueryInference(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::QueryAnalyzer::QueryInferenceRequest,::QueryAnalyzer::QueryInferenceReply>* server_unary_streamer) = 0;
};
typedef WithStreamedUnaryMethod_QueryInference<Service > StreamedUnaryService;
typedef Service SplitStreamedService;
typedef WithStreamedUnaryMethod_QueryInference<Service > StreamedService;
};
} // namespace QueryAnalyzer
#endif // GRPC_query_5fanalyzer_2eproto__INCLUDED
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: query_analyzer.proto
#include "query_analyzer.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
namespace QueryAnalyzer {
class QueryInferenceRequestDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<QueryInferenceRequest> _instance;
} _QueryInferenceRequest_default_instance_;
class QueryInferenceReplyDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<QueryInferenceReply> _instance;
} _QueryInferenceReply_default_instance_;
} // namespace QueryAnalyzer
static void InitDefaultsscc_info_QueryInferenceReply_query_5fanalyzer_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::QueryAnalyzer::_QueryInferenceReply_default_instance_;
new (ptr) ::QueryAnalyzer::QueryInferenceReply();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::QueryAnalyzer::QueryInferenceReply::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_QueryInferenceReply_query_5fanalyzer_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_QueryInferenceReply_query_5fanalyzer_2eproto}, {}};
static void InitDefaultsscc_info_QueryInferenceRequest_query_5fanalyzer_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::QueryAnalyzer::_QueryInferenceRequest_default_instance_;
new (ptr) ::QueryAnalyzer::QueryInferenceRequest();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::QueryAnalyzer::QueryInferenceRequest::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_QueryInferenceRequest_query_5fanalyzer_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_QueryInferenceRequest_query_5fanalyzer_2eproto}, {}};
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_query_5fanalyzer_2eproto[2];
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_query_5fanalyzer_2eproto = nullptr;
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_query_5fanalyzer_2eproto = nullptr;
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_query_5fanalyzer_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::QueryAnalyzer::QueryInferenceRequest, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::QueryAnalyzer::QueryInferenceRequest, query_),
PROTOBUF_FIELD_OFFSET(::QueryAnalyzer::QueryInferenceRequest, version_type_),
PROTOBUF_FIELD_OFFSET(::QueryAnalyzer::QueryInferenceRequest, return_face_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::QueryAnalyzer::QueryInferenceReply, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::QueryAnalyzer::QueryInferenceReply, label_),
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, sizeof(::QueryAnalyzer::QueryInferenceRequest)},
{ 8, -1, sizeof(::QueryAnalyzer::QueryInferenceReply)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::QueryAnalyzer::_QueryInferenceRequest_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::QueryAnalyzer::_QueryInferenceReply_default_instance_),
};
const char descriptor_table_protodef_query_5fanalyzer_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
"\n\024query_analyzer.proto\022\rQueryAnalyzer\"Q\n"
"\025QueryInferenceRequest\022\r\n\005query\030\001 \001(\t\022\024\n"
"\014version_type\030\002 \001(\t\022\023\n\013return_face\030\003 \001(\010"
"\"$\n\023QueryInferenceReply\022\r\n\005label\030\001 \001(\0052u"
"\n\025QueryInferenceService\022\\\n\016QueryInferenc"
"e\022$.QueryAnalyzer.QueryInferenceRequest\032"
"\".QueryAnalyzer.QueryInferenceReply\"\000B6\n"
"\033io.grpc.examples.helloworldB\017HelloWorld"
"ProtoP\001\242\002\003HLWb\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_query_5fanalyzer_2eproto_deps[1] = {
};
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_query_5fanalyzer_2eproto_sccs[2] = {
&scc_info_QueryInferenceReply_query_5fanalyzer_2eproto.base,
&scc_info_QueryInferenceRequest_query_5fanalyzer_2eproto.base,
};
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_query_5fanalyzer_2eproto_once;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_query_5fanalyzer_2eproto = {
false, false, descriptor_table_protodef_query_5fanalyzer_2eproto, "query_analyzer.proto", 341,
&descriptor_table_query_5fanalyzer_2eproto_once, descriptor_table_query_5fanalyzer_2eproto_sccs, descriptor_table_query_5fanalyzer_2eproto_deps, 2, 0,
schemas, file_default_instances, TableStruct_query_5fanalyzer_2eproto::offsets,
file_level_metadata_query_5fanalyzer_2eproto, 2, file_level_enum_descriptors_query_5fanalyzer_2eproto, file_level_service_descriptors_query_5fanalyzer_2eproto,
};
// Force running AddDescriptors() at dynamic initialization time.
static bool dynamic_init_dummy_query_5fanalyzer_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_query_5fanalyzer_2eproto)), true);
namespace QueryAnalyzer {
// ===================================================================
void QueryInferenceRequest::InitAsDefaultInstance() {
}
class QueryInferenceRequest::_Internal {
public:
};
QueryInferenceRequest::QueryInferenceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena)
: ::PROTOBUF_NAMESPACE_ID::Message(arena) {
SharedCtor();
RegisterArenaDtor(arena);
// @@protoc_insertion_point(arena_constructor:QueryAnalyzer.QueryInferenceRequest)
}
QueryInferenceRequest::QueryInferenceRequest(const QueryInferenceRequest& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
query_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (!from._internal_query().empty()) {
query_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_query(),
GetArena());
}
version_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
if (!from._internal_version_type().empty()) {
version_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_version_type(),
GetArena());
}
return_face_ = from.return_face_;
// @@protoc_insertion_point(copy_constructor:QueryAnalyzer.QueryInferenceRequest)
}
void QueryInferenceRequest::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_QueryInferenceRequest_query_5fanalyzer_2eproto.base);
query_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
version_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
return_face_ = false;
}
QueryInferenceRequest::~QueryInferenceRequest() {
// @@protoc_insertion_point(destructor:QueryAnalyzer.QueryInferenceRequest)
SharedDtor();
_internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
void QueryInferenceRequest::SharedDtor() {
GOOGLE_DCHECK(GetArena() == nullptr);
query_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
version_type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
void QueryInferenceRequest::ArenaDtor(void* object) {
QueryInferenceRequest* _this = reinterpret_cast< QueryInferenceRequest* >(object);
(void)_this;
}
void QueryInferenceRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void QueryInferenceRequest::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const QueryInferenceRequest& QueryInferenceRequest::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_QueryInferenceRequest_query_5fanalyzer_2eproto.base);
return *internal_default_instance();
}
void QueryInferenceRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:QueryAnalyzer.QueryInferenceRequest)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
query_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
version_type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
return_face_ = false;
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
const char* QueryInferenceRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
CHK_(ptr);
switch (tag >> 3) {
// string query = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
auto str = _internal_mutable_query();
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "QueryAnalyzer.QueryInferenceRequest.query"));
CHK_(ptr);
} else goto handle_unusual;
continue;
// string version_type = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
auto str = _internal_mutable_version_type();
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "QueryAnalyzer.QueryInferenceRequest.version_type"));
CHK_(ptr);
} else goto handle_unusual;
continue;
// bool return_face = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
return_face_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
ctx->SetLastTag(tag);
goto success;
}
ptr = UnknownFieldParse(tag,
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
continue;
}
} // switch
} // while
success:
return ptr;
failure:
ptr = nullptr;
goto success;
#undef CHK_
}
::PROTOBUF_NAMESPACE_ID::uint8* QueryInferenceRequest::_InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:QueryAnalyzer.QueryInferenceRequest)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// string query = 1;
if (this->query().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_query().data(), static_cast<int>(this->_internal_query().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"QueryAnalyzer.QueryInferenceRequest.query");
target = stream->WriteStringMaybeAliased(
1, this->_internal_query(), target);
}
// string version_type = 2;
if (this->version_type().size() > 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_version_type().data(), static_cast<int>(this->_internal_version_type().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"QueryAnalyzer.QueryInferenceRequest.version_type");
target = stream->WriteStringMaybeAliased(
2, this->_internal_version_type(), target);
}
// bool return_face = 3;
if (this->return_face() != 0) {
target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_return_face(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:QueryAnalyzer.QueryInferenceRequest)
return target;
}
size_t QueryInferenceRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:QueryAnalyzer.QueryInferenceRequest)
size_t total_size = 0;
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// string query = 1;
if (this->query().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_query());
}
// string version_type = 2;
if (this->version_type().size() > 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_version_type());
}
// bool return_face = 3;
if (this->return_face() != 0) {
total_size += 1 + 1;
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
_internal_metadata_, total_size, &_cached_size_);
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void QueryInferenceRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:QueryAnalyzer.QueryInferenceRequest)
GOOGLE_DCHECK_NE(&from, this);
const QueryInferenceRequest* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<QueryInferenceRequest>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:QueryAnalyzer.QueryInferenceRequest)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:QueryAnalyzer.QueryInferenceRequest)
MergeFrom(*source);
}
}
void QueryInferenceRequest::MergeFrom(const QueryInferenceRequest& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:QueryAnalyzer.QueryInferenceRequest)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.query().size() > 0) {
_internal_set_query(from._internal_query());
}
if (from.version_type().size() > 0) {
_internal_set_version_type(from._internal_version_type());
}
if (from.return_face() != 0) {
_internal_set_return_face(from._internal_return_face());
}
}
void QueryInferenceRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:QueryAnalyzer.QueryInferenceRequest)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void QueryInferenceRequest::CopyFrom(const QueryInferenceRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:QueryAnalyzer.QueryInferenceRequest)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool QueryInferenceRequest::IsInitialized() const {
return true;
}
void QueryInferenceRequest::InternalSwap(QueryInferenceRequest* other) {
using std::swap;
_internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
query_.Swap(&other->query_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
version_type_.Swap(&other->version_type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
swap(return_face_, other->return_face_);
}
::PROTOBUF_NAMESPACE_ID::Metadata QueryInferenceRequest::GetMetadata() const {
return GetMetadataStatic();
}
// ===================================================================
void QueryInferenceReply::InitAsDefaultInstance() {
}
class QueryInferenceReply::_Internal {
public:
};
QueryInferenceReply::QueryInferenceReply(::PROTOBUF_NAMESPACE_ID::Arena* arena)
: ::PROTOBUF_NAMESPACE_ID::Message(arena) {
SharedCtor();
RegisterArenaDtor(arena);
// @@protoc_insertion_point(arena_constructor:QueryAnalyzer.QueryInferenceReply)
}
QueryInferenceReply::QueryInferenceReply(const QueryInferenceReply& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
label_ = from.label_;
// @@protoc_insertion_point(copy_constructor:QueryAnalyzer.QueryInferenceReply)
}
void QueryInferenceReply::SharedCtor() {
label_ = 0;
}
QueryInferenceReply::~QueryInferenceReply() {
// @@protoc_insertion_point(destructor:QueryAnalyzer.QueryInferenceReply)
SharedDtor();
_internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
void QueryInferenceReply::SharedDtor() {
GOOGLE_DCHECK(GetArena() == nullptr);
}
void QueryInferenceReply::ArenaDtor(void* object) {
QueryInferenceReply* _this = reinterpret_cast< QueryInferenceReply* >(object);
(void)_this;
}
void QueryInferenceReply::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
}
void QueryInferenceReply::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const QueryInferenceReply& QueryInferenceReply::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_QueryInferenceReply_query_5fanalyzer_2eproto.base);
return *internal_default_instance();
}
void QueryInferenceReply::Clear() {
// @@protoc_insertion_point(message_clear_start:QueryAnalyzer.QueryInferenceReply)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
label_ = 0;
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
const char* QueryInferenceReply::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
CHK_(ptr);
switch (tag >> 3) {
// int32 label = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
label_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
ctx->SetLastTag(tag);
goto success;
}
ptr = UnknownFieldParse(tag,
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
continue;
}
} // switch
} // while
success:
return ptr;
failure:
ptr = nullptr;
goto success;
#undef CHK_
}
::PROTOBUF_NAMESPACE_ID::uint8* QueryInferenceReply::_InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:QueryAnalyzer.QueryInferenceReply)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// int32 label = 1;
if (this->label() != 0) {
target = stream->EnsureSpace(target);
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_label(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:QueryAnalyzer.QueryInferenceReply)
return target;
}
size_t QueryInferenceReply::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:QueryAnalyzer.QueryInferenceReply)
size_t total_size = 0;
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// int32 label = 1;
if (this->label() != 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
this->_internal_label());
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
_internal_metadata_, total_size, &_cached_size_);
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void QueryInferenceReply::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:QueryAnalyzer.QueryInferenceReply)
GOOGLE_DCHECK_NE(&from, this);
const QueryInferenceReply* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<QueryInferenceReply>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:QueryAnalyzer.QueryInferenceReply)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:QueryAnalyzer.QueryInferenceReply)
MergeFrom(*source);
}
}
void QueryInferenceReply::MergeFrom(const QueryInferenceReply& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:QueryAnalyzer.QueryInferenceReply)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.label() != 0) {
_internal_set_label(from._internal_label());
}
}
void QueryInferenceReply::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:QueryAnalyzer.QueryInferenceReply)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void QueryInferenceReply::CopyFrom(const QueryInferenceReply& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:QueryAnalyzer.QueryInferenceReply)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool QueryInferenceReply::IsInitialized() const {
return true;
}
void QueryInferenceReply::InternalSwap(QueryInferenceReply* other) {
using std::swap;
_internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
swap(label_, other->label_);
}
::PROTOBUF_NAMESPACE_ID::Metadata QueryInferenceReply::GetMetadata() const {
return GetMetadataStatic();
}
// @@protoc_insertion_point(namespace_scope)
} // namespace QueryAnalyzer
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::QueryAnalyzer::QueryInferenceRequest* Arena::CreateMaybeMessage< ::QueryAnalyzer::QueryInferenceRequest >(Arena* arena) {
return Arena::CreateMessageInternal< ::QueryAnalyzer::QueryInferenceRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::QueryAnalyzer::QueryInferenceReply* Arena::CreateMaybeMessage< ::QueryAnalyzer::QueryInferenceReply >(Arena* arena) {
return Arena::CreateMessageInternal< ::QueryAnalyzer::QueryInferenceReply >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: query_analyzer.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_query_5fanalyzer_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_query_5fanalyzer_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3013000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_query_5fanalyzer_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
} // namespace internal
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_query_5fanalyzer_2eproto {
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_query_5fanalyzer_2eproto;
namespace QueryAnalyzer {
class QueryInferenceReply;
class QueryInferenceReplyDefaultTypeInternal;
extern QueryInferenceReplyDefaultTypeInternal _QueryInferenceReply_default_instance_;
class QueryInferenceRequest;
class QueryInferenceRequestDefaultTypeInternal;
extern QueryInferenceRequestDefaultTypeInternal _QueryInferenceRequest_default_instance_;
} // namespace QueryAnalyzer
PROTOBUF_NAMESPACE_OPEN
template<> ::QueryAnalyzer::QueryInferenceReply* Arena::CreateMaybeMessage<::QueryAnalyzer::QueryInferenceReply>(Arena*);
template<> ::QueryAnalyzer::QueryInferenceRequest* Arena::CreateMaybeMessage<::QueryAnalyzer::QueryInferenceRequest>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace QueryAnalyzer {
// ===================================================================
class QueryInferenceRequest PROTOBUF_FINAL :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:QueryAnalyzer.QueryInferenceRequest) */ {
public:
inline QueryInferenceRequest() : QueryInferenceRequest(nullptr) {}
virtual ~QueryInferenceRequest();
QueryInferenceRequest(const QueryInferenceRequest& from);
QueryInferenceRequest(QueryInferenceRequest&& from) noexcept
: QueryInferenceRequest() {
*this = ::std::move(from);
}
inline QueryInferenceRequest& operator=(const QueryInferenceRequest& from) {
CopyFrom(from);
return *this;
}
inline QueryInferenceRequest& operator=(QueryInferenceRequest&& from) noexcept {
if (GetArena() == from.GetArena()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return GetMetadataStatic().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return GetMetadataStatic().reflection;
}
static const QueryInferenceRequest& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const QueryInferenceRequest* internal_default_instance() {
return reinterpret_cast<const QueryInferenceRequest*>(
&_QueryInferenceRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(QueryInferenceRequest& a, QueryInferenceRequest& b) {
a.Swap(&b);
}
inline void Swap(QueryInferenceRequest* other) {
if (other == this) return;
if (GetArena() == other->GetArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(QueryInferenceRequest* other) {
if (other == this) return;
GOOGLE_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline QueryInferenceRequest* New() const final {
return CreateMaybeMessage<QueryInferenceRequest>(nullptr);
}
QueryInferenceRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<QueryInferenceRequest>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const QueryInferenceRequest& from);
void MergeFrom(const QueryInferenceRequest& from);
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
inline void SharedCtor();
inline void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(QueryInferenceRequest* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "QueryAnalyzer.QueryInferenceRequest";
}
protected:
explicit QueryInferenceRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
private:
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_query_5fanalyzer_2eproto);
return ::descriptor_table_query_5fanalyzer_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kQueryFieldNumber = 1,
kVersionTypeFieldNumber = 2,
kReturnFaceFieldNumber = 3,
};
// string query = 1;
void clear_query();
const std::string& query() const;
void set_query(const std::string& value);
void set_query(std::string&& value);
void set_query(const char* value);
void set_query(const char* value, size_t size);
std::string* mutable_query();
std::string* release_query();
void set_allocated_query(std::string* query);
private:
const std::string& _internal_query() const;
void _internal_set_query(const std::string& value);
std::string* _internal_mutable_query();
public:
// string version_type = 2;
void clear_version_type();
const std::string& version_type() const;
void set_version_type(const std::string& value);
void set_version_type(std::string&& value);
void set_version_type(const char* value);
void set_version_type(const char* value, size_t size);
std::string* mutable_version_type();
std::string* release_version_type();
void set_allocated_version_type(std::string* version_type);
private:
const std::string& _internal_version_type() const;
void _internal_set_version_type(const std::string& value);
std::string* _internal_mutable_version_type();
public:
// bool return_face = 3;
void clear_return_face();
bool return_face() const;
void set_return_face(bool value);
private:
bool _internal_return_face() const;
void _internal_set_return_face(bool value);
public:
// @@protoc_insertion_point(class_scope:QueryAnalyzer.QueryInferenceRequest)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr query_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_type_;
bool return_face_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_query_5fanalyzer_2eproto;
};
// -------------------------------------------------------------------
class QueryInferenceReply PROTOBUF_FINAL :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:QueryAnalyzer.QueryInferenceReply) */ {
public:
inline QueryInferenceReply() : QueryInferenceReply(nullptr) {}
virtual ~QueryInferenceReply();
QueryInferenceReply(const QueryInferenceReply& from);
QueryInferenceReply(QueryInferenceReply&& from) noexcept
: QueryInferenceReply() {
*this = ::std::move(from);
}
inline QueryInferenceReply& operator=(const QueryInferenceReply& from) {
CopyFrom(from);
return *this;
}
inline QueryInferenceReply& operator=(QueryInferenceReply&& from) noexcept {
if (GetArena() == from.GetArena()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return GetMetadataStatic().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return GetMetadataStatic().reflection;
}
static const QueryInferenceReply& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const QueryInferenceReply* internal_default_instance() {
return reinterpret_cast<const QueryInferenceReply*>(
&_QueryInferenceReply_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(QueryInferenceReply& a, QueryInferenceReply& b) {
a.Swap(&b);
}
inline void Swap(QueryInferenceReply* other) {
if (other == this) return;
if (GetArena() == other->GetArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(QueryInferenceReply* other) {
if (other == this) return;
GOOGLE_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline QueryInferenceReply* New() const final {
return CreateMaybeMessage<QueryInferenceReply>(nullptr);
}
QueryInferenceReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<QueryInferenceReply>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const QueryInferenceReply& from);
void MergeFrom(const QueryInferenceReply& from);
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
inline void SharedCtor();
inline void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(QueryInferenceReply* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "QueryAnalyzer.QueryInferenceReply";
}
protected:
explicit QueryInferenceReply(::PROTOBUF_NAMESPACE_ID::Arena* arena);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
private:
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_query_5fanalyzer_2eproto);
return ::descriptor_table_query_5fanalyzer_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kLabelFieldNumber = 1,
};
// int32 label = 1;
void clear_label();
::PROTOBUF_NAMESPACE_ID::int32 label() const;
void set_label(::PROTOBUF_NAMESPACE_ID::int32 value);
private:
::PROTOBUF_NAMESPACE_ID::int32 _internal_label() const;
void _internal_set_label(::PROTOBUF_NAMESPACE_ID::int32 value);
public:
// @@protoc_insertion_point(class_scope:QueryAnalyzer.QueryInferenceReply)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::int32 label_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_query_5fanalyzer_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// QueryInferenceRequest
// string query = 1;
inline void QueryInferenceRequest::clear_query() {
query_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline const std::string& QueryInferenceRequest::query() const {
// @@protoc_insertion_point(field_get:QueryAnalyzer.QueryInferenceRequest.query)
return _internal_query();
}
inline void QueryInferenceRequest::set_query(const std::string& value) {
_internal_set_query(value);
// @@protoc_insertion_point(field_set:QueryAnalyzer.QueryInferenceRequest.query)
}
inline std::string* QueryInferenceRequest::mutable_query() {
// @@protoc_insertion_point(field_mutable:QueryAnalyzer.QueryInferenceRequest.query)
return _internal_mutable_query();
}
inline const std::string& QueryInferenceRequest::_internal_query() const {
return query_.Get();
}
inline void QueryInferenceRequest::_internal_set_query(const std::string& value) {
query_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
}
inline void QueryInferenceRequest::set_query(std::string&& value) {
query_.Set(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
// @@protoc_insertion_point(field_set_rvalue:QueryAnalyzer.QueryInferenceRequest.query)
}
inline void QueryInferenceRequest::set_query(const char* value) {
GOOGLE_DCHECK(value != nullptr);
query_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
GetArena());
// @@protoc_insertion_point(field_set_char:QueryAnalyzer.QueryInferenceRequest.query)
}
inline void QueryInferenceRequest::set_query(const char* value,
size_t size) {
query_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
reinterpret_cast<const char*>(value), size), GetArena());
// @@protoc_insertion_point(field_set_pointer:QueryAnalyzer.QueryInferenceRequest.query)
}
inline std::string* QueryInferenceRequest::_internal_mutable_query() {
return query_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline std::string* QueryInferenceRequest::release_query() {
// @@protoc_insertion_point(field_release:QueryAnalyzer.QueryInferenceRequest.query)
return query_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void QueryInferenceRequest::set_allocated_query(std::string* query) {
if (query != nullptr) {
} else {
}
query_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), query,
GetArena());
// @@protoc_insertion_point(field_set_allocated:QueryAnalyzer.QueryInferenceRequest.query)
}
// string version_type = 2;
inline void QueryInferenceRequest::clear_version_type() {
version_type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline const std::string& QueryInferenceRequest::version_type() const {
// @@protoc_insertion_point(field_get:QueryAnalyzer.QueryInferenceRequest.version_type)
return _internal_version_type();
}
inline void QueryInferenceRequest::set_version_type(const std::string& value) {
_internal_set_version_type(value);
// @@protoc_insertion_point(field_set:QueryAnalyzer.QueryInferenceRequest.version_type)
}
inline std::string* QueryInferenceRequest::mutable_version_type() {
// @@protoc_insertion_point(field_mutable:QueryAnalyzer.QueryInferenceRequest.version_type)
return _internal_mutable_version_type();
}
inline const std::string& QueryInferenceRequest::_internal_version_type() const {
return version_type_.Get();
}
inline void QueryInferenceRequest::_internal_set_version_type(const std::string& value) {
version_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
}
inline void QueryInferenceRequest::set_version_type(std::string&& value) {
version_type_.Set(
&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
// @@protoc_insertion_point(field_set_rvalue:QueryAnalyzer.QueryInferenceRequest.version_type)
}
inline void QueryInferenceRequest::set_version_type(const char* value) {
GOOGLE_DCHECK(value != nullptr);
version_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
GetArena());
// @@protoc_insertion_point(field_set_char:QueryAnalyzer.QueryInferenceRequest.version_type)
}
inline void QueryInferenceRequest::set_version_type(const char* value,
size_t size) {
version_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
reinterpret_cast<const char*>(value), size), GetArena());
// @@protoc_insertion_point(field_set_pointer:QueryAnalyzer.QueryInferenceRequest.version_type)
}
inline std::string* QueryInferenceRequest::_internal_mutable_version_type() {
return version_type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline std::string* QueryInferenceRequest::release_version_type() {
// @@protoc_insertion_point(field_release:QueryAnalyzer.QueryInferenceRequest.version_type)
return version_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void QueryInferenceRequest::set_allocated_version_type(std::string* version_type) {
if (version_type != nullptr) {
} else {
}
version_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version_type,
GetArena());
// @@protoc_insertion_point(field_set_allocated:QueryAnalyzer.QueryInferenceRequest.version_type)
}
// bool return_face = 3;
inline void QueryInferenceRequest::clear_return_face() {
return_face_ = false;
}
inline bool QueryInferenceRequest::_internal_return_face() const {
return return_face_;
}
inline bool QueryInferenceRequest::return_face() const {
// @@protoc_insertion_point(field_get:QueryAnalyzer.QueryInferenceRequest.return_face)
return _internal_return_face();
}
inline void QueryInferenceRequest::_internal_set_return_face(bool value) {
return_face_ = value;
}
inline void QueryInferenceRequest::set_return_face(bool value) {
_internal_set_return_face(value);
// @@protoc_insertion_point(field_set:QueryAnalyzer.QueryInferenceRequest.return_face)
}
// -------------------------------------------------------------------
// QueryInferenceReply
// int32 label = 1;
inline void QueryInferenceReply::clear_label() {
label_ = 0;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 QueryInferenceReply::_internal_label() const {
return label_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 QueryInferenceReply::label() const {
// @@protoc_insertion_point(field_get:QueryAnalyzer.QueryInferenceReply.label)
return _internal_label();
}
inline void QueryInferenceReply::_internal_set_label(::PROTOBUF_NAMESPACE_ID::int32 value) {
label_ = value;
}
inline void QueryInferenceReply::set_label(::PROTOBUF_NAMESPACE_ID::int32 value) {
_internal_set_label(value);
// @@protoc_insertion_point(field_set:QueryAnalyzer.QueryInferenceReply.label)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace QueryAnalyzer
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_query_5fanalyzer_2eproto
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
option java_multiple_files = true;
option java_package = "io.grpc.examples.helloworld";
option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";
package helloworld;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
option java_multiple_files = true;
option java_package = "io.grpc.examples.helloworld";
option java_outer_classname = "HelloWorldProto";
option objc_class_prefix = "HLW";
package QueryAnalyzer;
// The QueryInference service definition.
service QueryInferenceService {
rpc QueryInference (QueryInferenceRequest) returns (QueryInferenceReply) {}
}
message QueryInferenceRequest {
string query = 1;
string version_type = 2;
bool return_face = 3;
}
message QueryInferenceReply {
int32 label = 1;
}
#include "redis_manage.h"
#include <string.h>
#include <strings.h>
#include <Poco/Stopwatch.h>
#define RedisNeedAuth 1
RedisManage* RedisManage::_redisIns = NULL;
RedisManage::RedisManage()
: _logger(Logger::get("StrategyServer"))
{
_pConf = ServerConfig::getInstance();
if(NULL == _pConf)
{
_logger.error("getInstance error!");
}
else
{
_redisIp = _pConf->getLocalSettings()._redisServerIp;
_redisAuth = _pConf->getLocalSettings()._redisAuth;
_redisNeedAuth = _pConf->getLocalSettings()._redisNeedAuth;
_redisPort = _pConf->getLocalSettings()._redisServerPort;
_redisTimeOut = _pConf->getLocalSettings()._redisConTimeOut;
_connRetryTimes = _pConf->getLocalSettings()._connRetryTimes;
}
_logger.information(format("redisIp is:%s,redisPort is:%?d,redisTimeOut is:%?d,redisNeedAuth is:%?d,redisAuth is:%s",_redisIp,_redisPort,_redisTimeOut,_redisNeedAuth,_redisAuth));
}
RedisManage::~RedisManage()
{
}
void RedisManage::freeRedisContext(redisContext **pContext)
{
redisFree(*pContext);
}
void RedisManage::getRedisContext(redisContext **pContext)
{
int iRetry = 0;
while(iRetry++ < _connRetryTimes)
{
*pContext = connect(_redisIp, _redisPort, _redisTimeOut);
if(NULL != *pContext)
break;
_logger.error(format("redis connection has retried %?d times",iRetry));
}
if(NULL == *pContext)
{
_logger.error(format("redis context return NULL after %?d retry times,redis connecting Fail!",_connRetryTimes));
}
else
{
if(RedisNeedAuth == _redisNeedAuth)
{
std::string stCmd = string("auth") + string(" ") + _redisAuth;
if(false == set(stCmd,*pContext))
{
_logger.error(format("redis set auth error!,stCmd is:%s",stCmd));
freeRedisContext(pContext);
*pContext = NULL;
}
}
}
}
redisContext* RedisManage::connect(const std::string &stIp, const unsigned int &port, const int &timeout)
{
redisContext *redisCon = NULL;
if( timeout < 0 )
redisCon = redisConnect(stIp.c_str(), port);
else
{
struct timeval tv;
tv.tv_sec = 0;
tv.tv_usec = 1000*timeout;
redisCon = redisConnectWithTimeout(stIp.c_str(), port, tv);
}
if(redisCon == NULL)
{
_logger.error(format("redisConnect error,ip is:%s,port is:%?d",stIp,port));
return NULL;
}
if(redisCon->err != REDIS_OK)
{
_logger.error(format("redisConnect error,ip is:%s,port is:%?d,error_no:%?d,error_msg:%s",stIp,port,redisCon->err,string(redisCon->errstr)));
redisFree(redisCon);
return NULL;
}
return redisCon;
}
RedisManage* RedisManage::getInstance()
{
if(NULL == _redisIns)
{
_redisIns = new RedisManage();
}
return _redisIns;
}
bool RedisManage::get(const std::string &stCommand, std::string &stValue,redisContext *pContext, int *iduration)
{
Stopwatch stopwatch;
stopwatch.start();
if(stCommand.empty())
{
_logger.error("redis key is empty,error!");
return false;
}
redisReply *r = (redisReply*)redisCommand(pContext, stCommand.c_str());
if(NULL == r)
{
_logger.error(format("redisCommand:%s,need check whether the redis_connect(%s:%?d) is normal",stCommand,_redisIp,_redisPort));
return false;
}
if(r->type != REDIS_REPLY_STRING)
{
freeReplyObject(r);
_logger.error(format("redis type is:%?d,Fail to execute command:%s",r->type,stCommand));
return false;
}
stValue = r->str;
freeReplyObject(r);
stopwatch.stop();
if(NULL != iduration)
*iduration = (int)(stopwatch.elapsed()/1000);
return true;
}
redisReply *RedisManage::mget(const std::string &stCommand, redisContext *pContext, int *iduration)
{
Stopwatch stopwatch;
stopwatch.start();
if(stCommand.empty())
{
_logger.error("redis key is empty,error!");
return NULL;
}
redisReply *r = (redisReply*)redisCommand(pContext, stCommand.c_str());
if(NULL == r)
{
_logger.error(format("redisCommand:%s,need check whether the redis_connect(%s:%?d) is normal",stCommand,_redisIp,_redisPort));
return NULL;
}
if(r->type != REDIS_REPLY_ARRAY)
{
freeReplyObject(r);
_logger.error(format("Fail to execute command:[%s]",stCommand));
return NULL;
}
stopwatch.stop();
if(NULL != iduration)
*iduration = (int)(stopwatch.elapsed()/1000);
return r;
}
bool RedisManage::scan(const std::string &stCommand, const int iCount, redisContext *pContext, std::map<string,string> &stMapResult, const char* pMatch, int *iduration)
{
Stopwatch stopwatch;
stopwatch.start();
std::string stFullCmd;
std::stringstream stFullStreamCmd;
stFullStreamCmd << " count " << iCount;
if (NULL != pMatch)
stFullStreamCmd << " match " << pMatch;
std::string stCmdLimit = stFullStreamCmd.str();
std::string stCursor("0");
do
{
stFullCmd = stCommand + std::string(" ") + stCursor + std::string(" ") + stCmdLimit;
redisReply *r = (redisReply*)redisCommand(pContext, stFullCmd.c_str());
if(NULL == r)
{
_logger.error(format("redisCommand:%s error,need check whether the redis_connect(%s:%?d) is normal",stFullCmd,_redisIp,_redisPort));
return false;
}
if(r->type != REDIS_REPLY_ARRAY or r->elements != 2 or r->element[1]->type != REDIS_REPLY_ARRAY)
{
freeReplyObject(r);
_logger.error(format("redisContext type:%?d or element:%?d error,redisCommand is:%s",r->type,r->element,stFullCmd));
return false;
}
stCursor = string(r->element[0]->str);
for(int i=0; i< r->element[1]->elements; i+=2)
{
stMapResult[string(r->element[1]->element[i]->str)] = string(r->element[1]->element[i+1]->str);
}
freeReplyObject(r);
}while(atoi(stCursor.c_str()) != 0);
stopwatch.stop();
if(NULL != iduration)
*iduration = (int)(stopwatch.elapsed()/1000);
return true;
}
bool RedisManage::set(const std::string &stCommand,redisContext *pContext, int *iduration)
{
Stopwatch stopwatch;
stopwatch.start();
if(stCommand.empty())
{
_logger.error("redis key is empty,error!");
return false;
}
redisReply *r = (redisReply*)redisCommand(pContext, stCommand.c_str());
if(NULL == r)
{
_logger.error(format("redisCommand:%s error,need check whether the redis_connect(%s:%?d) is normal",stCommand,_redisIp,_redisPort));
return false;
}
if(!(r->type == REDIS_REPLY_STATUS && strcasecmp(r->str,"ok")==0) && !(r->type == REDIS_REPLY_INTEGER))
{
freeReplyObject(r);
_logger.error(format("Fail to execute command:%s,redis type is:%?d,get str is:%s",stCommand,r->type,string(r->str)));
return false;
}
freeReplyObject(r);
stopwatch.stop();
if(NULL != iduration)
*iduration = (int)(stopwatch.elapsed()/1000);
return true;
}
#ifndef REDIS_MANAGER_INCLUDE
#define REDIS_MANAGER_INCLUDE
#include <iostream>
#include <sstream>
#include <Poco/Logger.h>
#include "server_config.h"
#include "hiredis/hiredis.h"
#include <Poco/zlib.h>
#include "stdlib.h"
using namespace Poco;
using Poco::Logger;
using namespace std;
class RedisManage{
public:
RedisManage();
~RedisManage();
static RedisManage* getInstance();
bool get(const std::string &stCommand, std::string &stValue, redisContext *pContext, int *iduration=NULL);
redisReply *mget(const std::string &stCommand, redisContext *pContext, int *iduration=NULL);
bool set(const std::string &stCommand, redisContext *pContext, int *iduration=NULL);
bool scan(const std::string &stCommand, const int iCount, redisContext *pContext, std::map<string,string> &stMapResult,const char* pMatch=NULL, int *iduration=NULL);
redisContext* connect(const std::string &stIp, const unsigned int &port, const int &timeout);
void getRedisContext(redisContext **pContext);
void freeRedisContext(redisContext **pContext);
public:
static RedisManage *_redisIns;
private:
Logger &_logger;
std::string _redisIp;
std::string _redisAuth;
int _redisNeedAuth;
int _redisPort;
int _redisTimeOut;
int _connRetryTimes;
ServerConfig *_pConf;
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment