Fixed issues on linking and namespaces. Added example
This commit is contained in:
@ -3,8 +3,9 @@ cmake_minimum_required (VERSION 2.6)
|
|||||||
|
|
||||||
# This configuration file builds both the static and shared version of
|
# This configuration file builds both the static and shared version of
|
||||||
# the library.
|
# the library.
|
||||||
|
|
||||||
set(table_replication_consistency_sources
|
set(table_replication_consistency_sources
|
||||||
table_replication_consistency.cpp table_replication_listener.cpp)
|
table_replication_consistency.cpp table_replication_listener.cpp )
|
||||||
|
|
||||||
# ---------- Find Boost Headers/Libraries -----------------------
|
# ---------- Find Boost Headers/Libraries -----------------------
|
||||||
SET(Boost_DEBUG FALSE)
|
SET(Boost_DEBUG FALSE)
|
||||||
@ -26,6 +27,11 @@ find_path(MySQL_INCLUDE_DIR mysql.h
|
|||||||
/usr/local/include/mysql /usr/include/mysql)
|
/usr/local/include/mysql /usr/include/mysql)
|
||||||
include_directories(${MySQL_INCLUDE_DIR})
|
include_directories(${MySQL_INCLUDE_DIR})
|
||||||
|
|
||||||
|
#SkySQL
|
||||||
|
find_path(SkySQL_INCLUDE_DIR skygw_debug.h
|
||||||
|
/usr/local/include /usr/include ../utils)
|
||||||
|
include_directories(${SkySQL_INCLUDE_DIR})
|
||||||
|
|
||||||
# Configure for building static library
|
# Configure for building static library
|
||||||
add_library(table_replication_consistency_static STATIC ${table_replication_consistency_sources})
|
add_library(table_replication_consistency_static STATIC ${table_replication_consistency_sources})
|
||||||
target_link_libraries(table_replication_consistency_static crypto ${Boost_LIBRARIES} ${MySQL_LIBRARY})
|
target_link_libraries(table_replication_consistency_static crypto ${Boost_LIBRARIES} ${MySQL_LIBRARY})
|
||||||
@ -42,3 +48,4 @@ set_target_properties(table_replication_consistency_shared PROPERTIES
|
|||||||
|
|
||||||
install(TARGETS table_replication_consistency_shared LIBRARY DESTINATION lib)
|
install(TARGETS table_replication_consistency_shared LIBRARY DESTINATION lib)
|
||||||
install(TARGETS table_replication_consistency_static ARCHIVE DESTINATION lib)
|
install(TARGETS table_replication_consistency_static ARCHIVE DESTINATION lib)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Install script for directory: /home/jan/skysql/skygateway/table_replication_consistency
|
# Install script for directory: /home/jan/skysql/skygateway/skygateway/table_replication_consistency
|
||||||
|
|
||||||
# Set the install prefix
|
# Set the install prefix
|
||||||
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
@ -46,9 +46,9 @@ IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
ENDFOREACH()
|
ENDFOREACH()
|
||||||
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
|
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
|
||||||
"/home/jan/skysql/skygateway/table_replication_consistency/libtable_replication_consistency.so.0.1"
|
"/home/jan/skysql/skygateway/skygateway/table_replication_consistency/libtable_replication_consistency.so.0.1"
|
||||||
"/home/jan/skysql/skygateway/table_replication_consistency/libtable_replication_consistency.so.1"
|
"/home/jan/skysql/skygateway/skygateway/table_replication_consistency/libtable_replication_consistency.so.1"
|
||||||
"/home/jan/skysql/skygateway/table_replication_consistency/libtable_replication_consistency.so"
|
"/home/jan/skysql/skygateway/skygateway/table_replication_consistency/libtable_replication_consistency.so"
|
||||||
)
|
)
|
||||||
FOREACH(file
|
FOREACH(file
|
||||||
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libtable_replication_consistency.so.0.1"
|
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libtable_replication_consistency.so.0.1"
|
||||||
@ -65,7 +65,7 @@ IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspeci
|
|||||||
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
||||||
|
|
||||||
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
||||||
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/jan/skysql/skygateway/table_replication_consistency/libtable_replication_consistency.a")
|
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/libtable_replication_consistency.a")
|
||||||
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
||||||
|
|
||||||
IF(CMAKE_INSTALL_COMPONENT)
|
IF(CMAKE_INSTALL_COMPONENT)
|
||||||
@ -74,7 +74,7 @@ ELSE(CMAKE_INSTALL_COMPONENT)
|
|||||||
SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||||
ENDIF(CMAKE_INSTALL_COMPONENT)
|
ENDIF(CMAKE_INSTALL_COMPONENT)
|
||||||
|
|
||||||
FILE(WRITE "/home/jan/skysql/skygateway/table_replication_consistency/${CMAKE_INSTALL_MANIFEST}" "")
|
FILE(WRITE "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/${CMAKE_INSTALL_MANIFEST}" "")
|
||||||
FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
|
FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
|
||||||
FILE(APPEND "/home/jan/skysql/skygateway/table_replication_consistency/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
|
FILE(APPEND "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
|
||||||
ENDFOREACH(file)
|
ENDFOREACH(file)
|
||||||
|
@ -45,7 +45,7 @@ unsigned int n_replication_listeners = 0;
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace mysql;
|
using namespace mysql;
|
||||||
using namespace mysql::replication_listener;
|
using namespace table_replication_listener;
|
||||||
|
|
||||||
/***********************************************************************//**
|
/***********************************************************************//**
|
||||||
This function will register replication listener for every server
|
This function will register replication listener for every server
|
||||||
|
@ -26,8 +26,11 @@ Updated:
|
|||||||
#ifndef TABLE_REPLICATION_CONSISTENCY_H
|
#ifndef TABLE_REPLICATION_CONSISTENCY_H
|
||||||
#define TABLE_REPLICATION_CONSISTENCY_H
|
#define TABLE_REPLICATION_CONSISTENCY_H
|
||||||
|
|
||||||
|
#include <skygw_debug.h>
|
||||||
|
|
||||||
|
|
||||||
/* Structure definition for replication listener */
|
/* Structure definition for replication listener */
|
||||||
typedef struct replication_listener {
|
typedef struct {
|
||||||
char *server_url; /*!< in: Server address e.g.
|
char *server_url; /*!< in: Server address e.g.
|
||||||
mysql://root:pw@127.0.0.1:3308 */
|
mysql://root:pw@127.0.0.1:3308 */
|
||||||
unsigned long binlog_pos; /*!< in: Binlog position where to start
|
unsigned long binlog_pos; /*!< in: Binlog position where to start
|
||||||
@ -82,6 +85,8 @@ typedef struct table_consistency {
|
|||||||
server failed. */
|
server failed. */
|
||||||
} table_consistency_t;
|
} table_consistency_t;
|
||||||
|
|
||||||
|
EXTERN_C_BLOCK_BEGIN
|
||||||
|
|
||||||
/* Interface functions */
|
/* Interface functions */
|
||||||
|
|
||||||
/***********************************************************************//**
|
/***********************************************************************//**
|
||||||
@ -136,8 +141,9 @@ the current status on metadata to MySQL server.
|
|||||||
@return 0 on success, error code at failure. */
|
@return 0 on success, error code at failure. */
|
||||||
int
|
int
|
||||||
tb_replication_consistency_shutdown(
|
tb_replication_consistency_shutdown(
|
||||||
/*=================================*/
|
/*================================*/
|
||||||
char ** error_message); /*!< out: error_message*/
|
char ** error_message); /*!< out: error_message*/
|
||||||
|
|
||||||
|
EXTERN_C_BLOCK_END
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -35,17 +35,16 @@ Updated:
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "listener_exception.h"
|
#include "listener_exception.h"
|
||||||
#include "table_replication_consistency.h"
|
#include "table_replication_consistency.h"
|
||||||
|
#include "table_replication_listener.h"
|
||||||
|
|
||||||
using mysql::Binary_log;
|
using mysql::Binary_log;
|
||||||
using mysql::system::create_transport;
|
using mysql::system::create_transport;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace mysql::system;
|
using namespace mysql::system;
|
||||||
|
|
||||||
/* Protect internal functions and structures by usage of namespaces. */
|
|
||||||
namespace mysql {
|
namespace mysql {
|
||||||
|
|
||||||
namespace table_replicaton_listener {
|
namespace table_replication_listener {
|
||||||
|
|
||||||
/* Table Consistency data structure */
|
/* Table Consistency data structure */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -55,12 +54,12 @@ typedef struct {
|
|||||||
std::string gtid; /* Global transaction id */
|
std::string gtid; /* Global transaction id */
|
||||||
boost::uint64_t binlog_pos; /* Binlog position */
|
boost::uint64_t binlog_pos; /* Binlog position */
|
||||||
bool gtid_known; /* Is gtid known ? */
|
bool gtid_known; /* Is gtid known ? */
|
||||||
} table_consistency_t;
|
} table_listener_consistency_t;
|
||||||
|
|
||||||
|
|
||||||
/* STL multimap containing the consistency information. Multimap is used
|
/* STL multimap containing the consistency information. Multimap is used
|
||||||
because same table can be found from several servers. */
|
because same table can be found from several servers. */
|
||||||
multimap<std::string, table_consistency_t*> table_consistency_map;
|
multimap<std::string, table_listener_consistency_t*> table_consistency_map;
|
||||||
|
|
||||||
boost::mutex table_consistency_mutex; /* This mutex is used protect
|
boost::mutex table_consistency_mutex; /* This mutex is used protect
|
||||||
abve data structure from
|
abve data structure from
|
||||||
@ -179,7 +178,7 @@ void* tb_replication_listener_reader(
|
|||||||
{
|
{
|
||||||
Row_event *revent = dynamic_cast<Row_event*>(event);
|
Row_event *revent = dynamic_cast<Row_event*>(event);
|
||||||
bool not_found = false;
|
bool not_found = false;
|
||||||
table_consistency_t *tc=NULL;
|
table_listener_consistency_t *tc=NULL;
|
||||||
|
|
||||||
tb_it= tid2tname.begin();
|
tb_it= tid2tname.begin();
|
||||||
tb_it= tid2tname.find(revent->table_id);
|
tb_it= tid2tname.find(revent->table_id);
|
||||||
@ -197,7 +196,7 @@ void* tb_replication_listener_reader(
|
|||||||
not_found = true;
|
not_found = true;
|
||||||
} else {
|
} else {
|
||||||
// Loop through the consistency values
|
// Loop through the consistency values
|
||||||
for(multimap<std::string, table_consistency_t*>::iterator i = table_consistency_map.find(database_dot_table);
|
for(multimap<std::string, table_listener_consistency_t*>::iterator i = table_consistency_map.find(database_dot_table);
|
||||||
i != table_consistency_map.end(); ++i) {
|
i != table_consistency_map.end(); ++i) {
|
||||||
tc = (*i).second;
|
tc = (*i).second;
|
||||||
if (tc->server_id == lheader->server_id) {
|
if (tc->server_id == lheader->server_id) {
|
||||||
@ -209,14 +208,14 @@ void* tb_replication_listener_reader(
|
|||||||
|
|
||||||
if(not_found) {
|
if(not_found) {
|
||||||
// Consistency for this table and server not found, insert a record
|
// Consistency for this table and server not found, insert a record
|
||||||
table_consistency_t* tb_c = (table_consistency_t*) malloc(sizeof(table_consistency_t));
|
table_listener_consistency_t* tb_c = (table_listener_consistency_t*) malloc(sizeof(table_listener_consistency_t));
|
||||||
tb_c->database_dot_table = database_dot_table;
|
tb_c->database_dot_table = database_dot_table;
|
||||||
tb_c->server_id = lheader->server_id;
|
tb_c->server_id = lheader->server_id;
|
||||||
tb_c->binlog_pos = lheader->next_position;
|
tb_c->binlog_pos = lheader->next_position;
|
||||||
tb_c->gtid_known = gtid_known;
|
tb_c->gtid_known = gtid_known;
|
||||||
tb_c->gtid = gtid.get_string();
|
tb_c->gtid = gtid.get_string();
|
||||||
|
|
||||||
table_consistency_map.insert(pair<std::string, table_consistency_t*>(database_dot_table,tb_c));
|
table_consistency_map.insert(pair<std::string, table_listener_consistency_t*>(database_dot_table,tb_c));
|
||||||
} else {
|
} else {
|
||||||
// Consistency for this table and server found, update the
|
// Consistency for this table and server found, update the
|
||||||
// consistency values
|
// consistency values
|
||||||
@ -284,7 +283,7 @@ the current status on metadata to MySQL server.
|
|||||||
@return 0 on success, error code at failure. */
|
@return 0 on success, error code at failure. */
|
||||||
int
|
int
|
||||||
tb_replication_listener_shutdown(
|
tb_replication_listener_shutdown(
|
||||||
/*=================================*/
|
/*=============================*/
|
||||||
boost::uint32_t server_id, /*!< in: server id */
|
boost::uint32_t server_id, /*!< in: server id */
|
||||||
char **error_message) /*!< out: error message */
|
char **error_message) /*!< out: error message */
|
||||||
{
|
{
|
||||||
@ -347,24 +346,24 @@ there is information how many results where available.
|
|||||||
int
|
int
|
||||||
tb_replication_listener_consistency(
|
tb_replication_listener_consistency(
|
||||||
/*================================*/
|
/*================================*/
|
||||||
char *db_dot_table, /*!< in: Fully qualified table
|
const char *db_dot_table, /*!< in: Fully qualified table
|
||||||
name. */
|
name. */
|
||||||
table_consistency_t *tb_consistency, /*!< out: Consistency values. */
|
table_consistency_t *tb_consistency, /*!< out: Consistency values. */
|
||||||
boost::uint32_t server_no) /*!< in: Server */
|
boost::uint32_t server_no) /*!< in: Server */
|
||||||
{
|
{
|
||||||
bool found = false;
|
bool found = false;
|
||||||
boost::uint32_t cur_server = 0;
|
boost::uint32_t cur_server = 0;
|
||||||
table_consistency_t *tc=NULL;
|
table_listener_consistency_t *tc=NULL;
|
||||||
|
|
||||||
// Need to be protected by mutex to avoid concurrency problems
|
// Need to be protected by mutex to avoid concurrency problems
|
||||||
boost::mutex::scoped_lock lock(table_consistency_mutex);
|
boost::mutex::scoped_lock lock(table_consistency_mutex);
|
||||||
|
|
||||||
// Loop through the consistency values
|
// Loop through the consistency values
|
||||||
for(multimap<std::string, table_consistency_t*>::iterator i = table_consistency_map.find(db_dot_table);
|
for(multimap<std::string, table_listener_consistency_t*>::iterator i = table_consistency_map.find(db_dot_table);
|
||||||
i != table_consistency_map.end(); ++i, ++cur_server) {
|
i != table_consistency_map.end(); ++i, ++cur_server) {
|
||||||
if (cur_server == server_no) {
|
if (cur_server == server_no) {
|
||||||
tc = (*i).second;
|
tc = (*i).second;
|
||||||
memcpy(tb_consistency, tc, sizeof(table_consistency_t));
|
memcpy(tb_consistency, tc, sizeof(table_listener_consistency_t));
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -482,7 +481,6 @@ err_exit:
|
|||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // Namespace table replication listener
|
} // namespace table_replication_listener
|
||||||
|
|
||||||
} // Namespace mysql
|
|
||||||
|
|
||||||
|
} // namespace mysql
|
||||||
|
@ -27,10 +27,12 @@ Updated:
|
|||||||
#define TABLE_REPLICATION_LISTENER_H
|
#define TABLE_REPLICATION_LISTENER_H
|
||||||
|
|
||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
|
#include <skygw_debug.h>
|
||||||
|
|
||||||
namespace mysql
|
namespace mysql
|
||||||
{
|
{
|
||||||
namespace replication_listener
|
|
||||||
|
namespace table_replication_listener
|
||||||
{
|
{
|
||||||
|
|
||||||
/***********************************************************************//**
|
/***********************************************************************//**
|
||||||
@ -50,10 +52,10 @@ status structures. Client must allocate memory for consistency result
|
|||||||
array and provide the maximum number of values returned. At return
|
array and provide the maximum number of values returned. At return
|
||||||
there is information how many results where available.
|
there is information how many results where available.
|
||||||
@return 0 on success, error code at failure. */
|
@return 0 on success, error code at failure. */
|
||||||
int
|
int
|
||||||
tb_replication_listener_consistency(
|
tb_replication_listener_consistency(
|
||||||
/*================================*/
|
/*================================*/
|
||||||
char *db_dot_table, /*!< in: Fully qualified table
|
const char *db_dot_table, /*!< in: Fully qualified table
|
||||||
name. */
|
name. */
|
||||||
table_consistency_t *tb_consistency, /*!< out: Consistency values. */
|
table_consistency_t *tb_consistency, /*!< out: Consistency values. */
|
||||||
boost::uint32_t server_no); /*!< in: Server */
|
boost::uint32_t server_no); /*!< in: Server */
|
||||||
@ -67,7 +69,7 @@ tb_replication_listener_reconnect(
|
|||||||
/*==============================*/
|
/*==============================*/
|
||||||
replication_listener_t* rpl, /*!< in: Server definition.*/
|
replication_listener_t* rpl, /*!< in: Server definition.*/
|
||||||
pthread_t* tid); /*!< in: Thread id */
|
pthread_t* tid); /*!< in: Thread id */
|
||||||
|
|
||||||
/***********************************************************************//**
|
/***********************************************************************//**
|
||||||
This function is to shutdown the replication listener and free all
|
This function is to shutdown the replication listener and free all
|
||||||
resources on table consistency. This function (TODO) will store
|
resources on table consistency. This function (TODO) will store
|
||||||
@ -75,12 +77,14 @@ the current status on metadata to MySQL server.
|
|||||||
@return 0 on success, error code at failure. */
|
@return 0 on success, error code at failure. */
|
||||||
int
|
int
|
||||||
tb_replication_listener_shutdown(
|
tb_replication_listener_shutdown(
|
||||||
/*=================================*/
|
/*=============================*/
|
||||||
boost::uint32_t server_id, /*!< in: server id */
|
boost::uint32_t server_id, /*!< in: server id */
|
||||||
char **error_message); /*!< out: error message */
|
char **error_message); /*!< out: error message */
|
||||||
|
|
||||||
} // namespace replication_listener
|
|
||||||
|
|
||||||
} // namespace mysql
|
} // table_replication_listener
|
||||||
|
|
||||||
|
} // mysql
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
318
table_replication_consistency/test/CMakeCache.txt
Normal file
318
table_replication_consistency/test/CMakeCache.txt
Normal file
@ -0,0 +1,318 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
# It was generated by CMake: /usr/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 GUI's 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_AR:FILEPATH=/usr/bin/ar
|
||||||
|
|
||||||
|
//For backwards compatibility, what version of CMake commands and
|
||||||
|
// syntax should this version of CMake try to support.
|
||||||
|
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4
|
||||||
|
|
||||||
|
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
|
||||||
|
// CMAKE_C_FLAGS used) 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=/usr/bin/c++
|
||||||
|
|
||||||
|
//Flags used by the compiler during all build types.
|
||||||
|
CMAKE_CXX_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during debug builds.
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
|
//Flags used by the compiler during release minsize builds.
|
||||||
|
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
|
||||||
|
// /Ot /Oy /Gs will produce slightly less optimized but smaller
|
||||||
|
// files).
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the compiler during Release with Debug Info builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
|
||||||
|
|
||||||
|
//C compiler.
|
||||||
|
CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
|
||||||
|
|
||||||
|
//Flags used by the compiler during all build types.
|
||||||
|
CMAKE_C_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during debug builds.
|
||||||
|
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||||
|
|
||||||
|
//Flags used by the compiler during release minsize builds.
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
|
||||||
|
// /Ot /Oy /Gs will produce slightly less optimized but smaller
|
||||||
|
// files).
|
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the compiler during Release with Debug Info builds.
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g
|
||||||
|
|
||||||
|
//Flags used by the linker.
|
||||||
|
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 release minsize 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 Release with Debug Info builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Enable/Disable output of compile commands during generation.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
||||||
|
|
||||||
|
//Install path prefix, prepended onto install directories.
|
||||||
|
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=' '
|
||||||
|
|
||||||
|
//Flags used by the linker during debug builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during release minsize builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during release builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during Release with Debug Info builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=test
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of dll's.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=' '
|
||||||
|
|
||||||
|
//Flags used by the linker during debug builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during release minsize builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during release builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during Release with Debug Info 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
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||||
|
|
||||||
|
//If true, cmake will use relative paths in makefiles and projects.
|
||||||
|
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
|
||||||
|
|
||||||
|
//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
|
||||||
|
|
||||||
|
//Single output directory for building all executables.
|
||||||
|
EXECUTABLE_OUTPUT_PATH:PATH=
|
||||||
|
|
||||||
|
//Single output directory for building all libraries.
|
||||||
|
LIBRARY_OUTPUT_PATH:PATH=
|
||||||
|
|
||||||
|
//Path to a library.
|
||||||
|
LIB_CRYPTO:FILEPATH=/usr/lib/x86_64-linux-gnu/libcrypto.so
|
||||||
|
|
||||||
|
//Path to a file.
|
||||||
|
MySQL_INCLUDE_DIR:PATH=/usr/local/include
|
||||||
|
|
||||||
|
//Path to a library.
|
||||||
|
MySQL_LIBRARY:FILEPATH=/usr/lib/libmysqlclient_r.so
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Project_BINARY_DIR:STATIC=/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
Project_SOURCE_DIR:STATIC=/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
//Path to a file.
|
||||||
|
SkySQL_INCLUDE_DIR:PATH=/home/jan/skysql/skygateway/skygateway/utils
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
test_BINARY_DIR:STATIC=/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
test_SOURCE_DIR:STATIC=/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_AR
|
||||||
|
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_BUILD_TOOL
|
||||||
|
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
|
||||||
|
//What is the target build tool cmake is generating for.
|
||||||
|
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make
|
||||||
|
//This is the directory where this CMakeCache.txt was created
|
||||||
|
CMAKE_CACHEFILE_DIR:INTERNAL=/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
//Major version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
|
||||||
|
//Minor version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=9
|
||||||
|
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||||
|
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||||
|
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
||||||
|
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
||||||
|
CMAKE_CXX_COMPILER_WORKS: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
|
||||||
|
CMAKE_C_COMPILER_WORKS: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
|
||||||
|
//Result of TRY_COMPILE
|
||||||
|
CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE
|
||||||
|
//Result of TRY_COMPILE
|
||||||
|
CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
|
||||||
|
//Executable file format
|
||||||
|
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||||
|
//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 generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||||
|
//Start directory with the top level CMakeLists.txt file for this
|
||||||
|
// project
|
||||||
|
CMAKE_HOME_DIRECTORY:INTERNAL=/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
//Install .so files without execute permission.
|
||||||
|
CMAKE_INSTALL_SO_NO_EXE: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_LOCAL_GENERATORS:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||||
|
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||||
|
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_RANLIB
|
||||||
|
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/usr/share/cmake-2.8
|
||||||
|
//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_STRIP
|
||||||
|
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||||
|
//uname command
|
||||||
|
CMAKE_UNAME:INTERNAL=/bin/uname
|
||||||
|
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
|
||||||
|
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
|
||||||
|
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||||
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||||
|
|
@ -0,0 +1,53 @@
|
|||||||
|
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
|
||||||
|
SET(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
SET(CMAKE_C_COMPILER_ID "GNU")
|
||||||
|
SET(CMAKE_C_COMPILER_VERSION "4.7.2")
|
||||||
|
SET(CMAKE_C_PLATFORM_ID "Linux")
|
||||||
|
|
||||||
|
SET(CMAKE_AR "/usr/bin/ar")
|
||||||
|
SET(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
SET(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
SET(CMAKE_COMPILER_IS_GNUCC 1)
|
||||||
|
SET(CMAKE_C_COMPILER_LOADED 1)
|
||||||
|
SET(CMAKE_COMPILER_IS_MINGW )
|
||||||
|
SET(CMAKE_COMPILER_IS_CYGWIN )
|
||||||
|
IF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
SET(CYGWIN 1)
|
||||||
|
SET(UNIX 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
|
||||||
|
SET(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||||
|
|
||||||
|
IF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(MINGW 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(CMAKE_C_COMPILER_ID_RUN 1)
|
||||||
|
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
|
||||||
|
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 "ELF")
|
||||||
|
SET(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
|
||||||
|
IF(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||||
|
ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
|
||||||
|
IF(CMAKE_C_COMPILER_ABI)
|
||||||
|
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||||
|
ENDIF(CMAKE_C_COMPILER_ABI)
|
||||||
|
|
||||||
|
IF(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||||
|
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
SET(CMAKE_C_HAS_ISYSROOT "")
|
||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
|
||||||
|
SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,54 @@
|
|||||||
|
SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ARG1 "")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
SET(CMAKE_CXX_COMPILER_VERSION "4.7.2")
|
||||||
|
SET(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||||
|
|
||||||
|
SET(CMAKE_AR "/usr/bin/ar")
|
||||||
|
SET(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
SET(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
SET(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||||
|
SET(CMAKE_CXX_COMPILER_LOADED 1)
|
||||||
|
SET(CMAKE_COMPILER_IS_MINGW )
|
||||||
|
SET(CMAKE_COMPILER_IS_CYGWIN )
|
||||||
|
IF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
SET(CYGWIN 1)
|
||||||
|
SET(UNIX 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||||
|
|
||||||
|
IF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(MINGW 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||||
|
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
|
||||||
|
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 "ELF")
|
||||||
|
SET(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||||
|
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||||
|
ENDIF(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||||
|
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_HAS_ISYSROOT "")
|
||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
|
||||||
|
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
table_replication_consistency/test/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Executable file
BIN
table_replication_consistency/test/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Executable file
Binary file not shown.
BIN
table_replication_consistency/test/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Executable file
BIN
table_replication_consistency/test/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Executable file
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Relative path conversion top directories.
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test")
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test")
|
||||||
|
|
||||||
|
# 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})
|
263
table_replication_consistency/test/CMakeFiles/CMakeOutput.log
Normal file
263
table_replication_consistency/test/CMakeFiles/CMakeOutput.log
Normal file
@ -0,0 +1,263 @@
|
|||||||
|
The system is: Linux - 3.5.0-28-generic - x86_64
|
||||||
|
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||||
|
Compiler: /usr/bin/gcc
|
||||||
|
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 GNU, found in "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CompilerIdC/a.out"
|
||||||
|
|
||||||
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||||
|
Compiler: /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 GNU, found in "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CompilerIdCXX/a.out"
|
||||||
|
|
||||||
|
Determining if the C compiler works passed with the following output:
|
||||||
|
Change Dir: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec2203122985/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec2203122985.dir/build.make CMakeFiles/cmTryCompileExec2203122985.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building C object CMakeFiles/cmTryCompileExec2203122985.dir/testCCompiler.c.o
|
||||||
|
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2203122985.dir/testCCompiler.c.o -c /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||||
|
Linking C executable cmTryCompileExec2203122985
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2203122985.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/gcc CMakeFiles/cmTryCompileExec2203122985.dir/testCCompiler.c.o -o cmTryCompileExec2203122985 -rdynamic
|
||||||
|
make[1]: Leaving directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Detecting C compiler ABI info compiled with the following output:
|
||||||
|
Change Dir: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec371501660/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec371501660.dir/build.make CMakeFiles/cmTryCompileExec371501660.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building C object CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o
|
||||||
|
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
|
||||||
|
Linking C executable cmTryCompileExec371501660
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec371501660.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/gcc -v CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec371501660 -rdynamic
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/gcc
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
|
||||||
|
Target: x86_64-linux-gnu
|
||||||
|
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||||
|
Thread model: posix
|
||||||
|
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec371501660' '-rdynamic' '-mtune=generic' '-march=x86-64'
|
||||||
|
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec371501660 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
|
||||||
|
make[1]: Leaving directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Parsed C implicit link information from above output:
|
||||||
|
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
|
||||||
|
ignore line: [Change Dir: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec371501660/fast"]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec371501660.dir/build.make CMakeFiles/cmTryCompileExec371501660.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp']
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/CMakeFiles 1]
|
||||||
|
ignore line: [Building C object CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o]
|
||||||
|
ignore line: [/usr/bin/gcc -o CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
|
||||||
|
ignore line: [Linking C executable cmTryCompileExec371501660]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec371501660.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/gcc -v CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec371501660 -rdynamic ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/gcc]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-linux-gnu]
|
||||||
|
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec371501660' '-rdynamic' '-mtune=generic' '-march=x86-64']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec371501660 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
|
||||||
|
arg [--sysroot=/] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--no-add-needed] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-export-dynamic] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-zrelro] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTryCompileExec371501660] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
|
||||||
|
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
|
||||||
|
arg [CMakeFiles/cmTryCompileExec371501660.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--no-as-needed] ==> ignore
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--no-as-needed] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [c]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||||
|
|
||||||
|
|
||||||
|
Determining if the CXX compiler works passed with the following output:
|
||||||
|
Change Dir: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec174984895/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec174984895.dir/build.make CMakeFiles/cmTryCompileExec174984895.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building CXX object CMakeFiles/cmTryCompileExec174984895.dir/testCXXCompiler.cxx.o
|
||||||
|
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec174984895.dir/testCXXCompiler.cxx.o -c /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||||
|
Linking CXX executable cmTryCompileExec174984895
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec174984895.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/c++ CMakeFiles/cmTryCompileExec174984895.dir/testCXXCompiler.cxx.o -o cmTryCompileExec174984895 -rdynamic
|
||||||
|
make[1]: Leaving directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Detecting CXX compiler ABI info compiled with the following output:
|
||||||
|
Change Dir: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec3106114820/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec3106114820.dir/build.make CMakeFiles/cmTryCompileExec3106114820.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building CXX object CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o
|
||||||
|
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
|
||||||
|
Linking CXX executable cmTryCompileExec3106114820
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3106114820.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/c++ -v CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec3106114820 -rdynamic
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/c++
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
|
||||||
|
Target: x86_64-linux-gnu
|
||||||
|
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||||
|
Thread model: posix
|
||||||
|
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec3106114820' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||||
|
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec3106114820 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
|
||||||
|
make[1]: Leaving directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Parsed CXX implicit link information from above output:
|
||||||
|
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
|
||||||
|
ignore line: [Change Dir: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec3106114820/fast"]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec3106114820.dir/build.make CMakeFiles/cmTryCompileExec3106114820.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory `/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp']
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/CMakeTmp/CMakeFiles 1]
|
||||||
|
ignore line: [Building CXX object CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o]
|
||||||
|
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
|
||||||
|
ignore line: [Linking CXX executable cmTryCompileExec3106114820]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3106114820.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec3106114820 -rdynamic ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-linux-gnu]
|
||||||
|
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec3106114820' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec3106114820 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
|
||||||
|
arg [--sysroot=/] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--no-add-needed] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-export-dynamic] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-zrelro] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTryCompileExec3106114820] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
|
||||||
|
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
|
||||||
|
arg [CMakeFiles/cmTryCompileExec3106114820.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||||
|
arg [-lstdc++] ==> lib [stdc++]
|
||||||
|
arg [-lm] ==> lib [m]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [stdc++;m;c]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||||
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_SYSTEM "Linux-3.5.0-28-generic")
|
||||||
|
SET(CMAKE_SYSTEM_NAME "Linux")
|
||||||
|
SET(CMAKE_SYSTEM_VERSION "3.5.0-28-generic")
|
||||||
|
SET(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
SET(CMAKE_HOST_SYSTEM "Linux-3.5.0-28-generic")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_VERSION "3.5.0-28-generic")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
SET(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
SET(CMAKE_SYSTEM_LOADED 1)
|
@ -0,0 +1,361 @@
|
|||||||
|
#ifdef __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(__18CXX)
|
||||||
|
# define ID_VOID_MAIN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
/* __INTEL_COMPILER = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
|
||||||
|
#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 HEX(__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__)
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
|
||||||
|
|
||||||
|
#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_C = 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"
|
||||||
|
|
||||||
|
#elif defined(__IBMC__)
|
||||||
|
# if defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
# else
|
||||||
|
# if __IBMC__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
# else
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
# endif
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#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(__PATHSCALE__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI_DSP"
|
||||||
|
|
||||||
|
#elif defined(__TINYC__)
|
||||||
|
# define COMPILER_ID "TinyCC"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# 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(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||||
|
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
|
||||||
|
SHARC (21000) DSPs */
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
|
||||||
|
/* IAR Systems compiler for embedded systems.
|
||||||
|
http://www.iar.com
|
||||||
|
Not supported yet by CMake
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||||
|
# define COMPILER_ID "IAR" */
|
||||||
|
|
||||||
|
/* sdcc, the small devices C compiler for embedded systems,
|
||||||
|
http://sdcc.sourceforge.net */
|
||||||
|
#elif defined(SDCC)
|
||||||
|
# define COMPILER_ID "SDCC"
|
||||||
|
|
||||||
|
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
# if defined(_SGI_COMPILER_VERSION)
|
||||||
|
/* _SGI_COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||||
|
# else
|
||||||
|
/* _COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* This compiler is either not known or is too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__sgi)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
|
||||||
|
#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 "]";
|
||||||
|
|
||||||
|
/* 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(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||||
|
# define PLATFORM_ID "IRIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
/* Haiku also defines __BEOS__ so we must
|
||||||
|
put it prior to the check for __BEOS__
|
||||||
|
*/
|
||||||
|
|
||||||
|
#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"
|
||||||
|
|
||||||
|
#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_ARM)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# 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 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 "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN
|
||||||
|
void main() {}
|
||||||
|
#else
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
|
#endif
|
BIN
table_replication_consistency/test/CMakeFiles/CompilerIdC/a.out
Executable file
BIN
table_replication_consistency/test/CMakeFiles/CompilerIdC/a.out
Executable file
Binary file not shown.
@ -0,0 +1,344 @@
|
|||||||
|
/* 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"
|
||||||
|
|
||||||
|
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
/* __INTEL_COMPILER = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
|
||||||
|
#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 HEX(__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__)
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
|
||||||
|
|
||||||
|
#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"
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__)
|
||||||
|
# if defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
# else
|
||||||
|
# if __IBMCPP__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
# else
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
# endif
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#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(__PATHSCALE__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI_DSP"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# 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(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||||
|
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
|
||||||
|
SHARC (21000) DSPs */
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
|
||||||
|
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
# if defined(_SGI_COMPILER_VERSION)
|
||||||
|
/* _SGI_COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||||
|
# else
|
||||||
|
/* _COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* This compiler is either not known or is too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__sgi)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
|
||||||
|
#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 "]";
|
||||||
|
|
||||||
|
/* 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(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||||
|
# define PLATFORM_ID "IRIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
/* Haiku also defines __BEOS__ so we must
|
||||||
|
put it prior to the check for __BEOS__
|
||||||
|
*/
|
||||||
|
|
||||||
|
#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"
|
||||||
|
|
||||||
|
#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_ARM)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# 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 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 "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
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
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
BIN
table_replication_consistency/test/CMakeFiles/CompilerIdCXX/a.out
Executable file
BIN
table_replication_consistency/test/CMakeFiles/CompilerIdCXX/a.out
Executable file
Binary file not shown.
@ -0,0 +1,22 @@
|
|||||||
|
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||||
|
|
||||||
|
#IncludeRegexScan: ^.*$
|
||||||
|
|
||||||
|
#IncludeRegexComplain: ^$
|
||||||
|
|
||||||
|
#IncludeRegexTransform:
|
||||||
|
|
||||||
|
/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/Example.c
|
||||||
|
table_replication_consistency.h
|
||||||
|
/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/table_replication_consistency.h
|
||||||
|
getopt.h
|
||||||
|
-
|
||||||
|
stdlib.h
|
||||||
|
-
|
||||||
|
errno.h
|
||||||
|
-
|
||||||
|
stdio.h
|
||||||
|
-
|
||||||
|
|
||||||
|
/usr/local/include/table_replication_consistency.h
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
SET(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
"C"
|
||||||
|
)
|
||||||
|
# The set of files for implicit dependencies of each language:
|
||||||
|
SET(CMAKE_DEPENDS_CHECK_C
|
||||||
|
"/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/Example.c" "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/Example.dir/Example.c.o"
|
||||||
|
)
|
||||||
|
SET(CMAKE_C_COMPILER_ID "GNU")
|
||||||
|
|
||||||
|
# Targets to which this target links.
|
||||||
|
SET(CMAKE_TARGET_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# The include file search paths:
|
||||||
|
SET(CMAKE_C_TARGET_INCLUDE_PATH
|
||||||
|
"/usr/local/include"
|
||||||
|
"/home/jan/skysql/skygateway/skygateway/utils"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
@ -0,0 +1,102 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# 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 = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
# Include any dependencies generated for this target.
|
||||||
|
include CMakeFiles/Example.dir/depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include CMakeFiles/Example.dir/progress.make
|
||||||
|
|
||||||
|
# Include the compile flags for this target's objects.
|
||||||
|
include CMakeFiles/Example.dir/flags.make
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.o: CMakeFiles/Example.dir/flags.make
|
||||||
|
CMakeFiles/Example.dir/Example.c.o: Example.c
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles $(CMAKE_PROGRESS_1)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building C object CMakeFiles/Example.dir/Example.c.o"
|
||||||
|
/usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -o CMakeFiles/Example.dir/Example.c.o -c /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/Example.c
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/Example.dir/Example.c.i"
|
||||||
|
/usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -E /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/Example.c > CMakeFiles/Example.dir/Example.c.i
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Example.dir/Example.c.s"
|
||||||
|
/usr/bin/gcc $(C_DEFINES) $(C_FLAGS) -S /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/Example.c -o CMakeFiles/Example.dir/Example.c.s
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.o.requires:
|
||||||
|
.PHONY : CMakeFiles/Example.dir/Example.c.o.requires
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.o.provides: CMakeFiles/Example.dir/Example.c.o.requires
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/Example.c.o.provides.build
|
||||||
|
.PHONY : CMakeFiles/Example.dir/Example.c.o.provides
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.o.provides.build: CMakeFiles/Example.dir/Example.c.o
|
||||||
|
|
||||||
|
# Object files for target Example
|
||||||
|
Example_OBJECTS = \
|
||||||
|
"CMakeFiles/Example.dir/Example.c.o"
|
||||||
|
|
||||||
|
# External object files for target Example
|
||||||
|
Example_EXTERNAL_OBJECTS =
|
||||||
|
|
||||||
|
Example: CMakeFiles/Example.dir/Example.c.o
|
||||||
|
Example: CMakeFiles/Example.dir/build.make
|
||||||
|
Example: CMakeFiles/Example.dir/link.txt
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable Example"
|
||||||
|
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Example.dir/link.txt --verbose=$(VERBOSE)
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
CMakeFiles/Example.dir/build: Example
|
||||||
|
.PHONY : CMakeFiles/Example.dir/build
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/requires: CMakeFiles/Example.dir/Example.c.o.requires
|
||||||
|
.PHONY : CMakeFiles/Example.dir/requires
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/clean:
|
||||||
|
$(CMAKE_COMMAND) -P CMakeFiles/Example.dir/cmake_clean.cmake
|
||||||
|
.PHONY : CMakeFiles/Example.dir/clean
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/depend:
|
||||||
|
cd /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/Example.dir/DependInfo.cmake --color=$(COLOR)
|
||||||
|
.PHONY : CMakeFiles/Example.dir/depend
|
||||||
|
|
@ -0,0 +1,10 @@
|
|||||||
|
FILE(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/Example.dir/Example.c.o"
|
||||||
|
"Example.pdb"
|
||||||
|
"Example"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
FOREACH(lang C)
|
||||||
|
INCLUDE(CMakeFiles/Example.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
ENDFOREACH(lang)
|
@ -0,0 +1,6 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.o
|
||||||
|
/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/Example.c
|
||||||
|
/usr/local/include/table_replication_consistency.h
|
@ -0,0 +1,6 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
CMakeFiles/Example.dir/Example.c.o: Example.c
|
||||||
|
CMakeFiles/Example.dir/Example.c.o: /usr/local/include/table_replication_consistency.h
|
||||||
|
|
@ -0,0 +1,8 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# compile C with /usr/bin/gcc
|
||||||
|
C_FLAGS = -I/usr/local/include -I/home/jan/skysql/skygateway/skygateway/utils
|
||||||
|
|
||||||
|
C_DEFINES =
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
/usr/bin/gcc CMakeFiles/Example.dir/Example.c.o -o Example -rdynamic -Wl,-Bstatic -ltable_replication_consistency -Wl,-Bdynamic -lreplication -lboost_system -lpthread
|
@ -0,0 +1,2 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 1
|
||||||
|
|
43
table_replication_consistency/test/CMakeFiles/Makefile.cmake
Normal file
43
table_replication_consistency/test/CMakeFiles/Makefile.cmake
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
"CMakeFiles/CMakeCCompiler.cmake"
|
||||||
|
"CMakeFiles/CMakeCXXCompiler.cmake"
|
||||||
|
"CMakeFiles/CMakeSystem.cmake"
|
||||||
|
"CMakeLists.txt"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeGenericSystem.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-C.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# The corresponding makefile is:
|
||||||
|
SET(CMAKE_MAKEFILE_OUTPUTS
|
||||||
|
"Makefile"
|
||||||
|
"CMakeFiles/cmake.check_cache"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Byproducts of CMake generate step:
|
||||||
|
SET(CMAKE_MAKEFILE_PRODUCTS
|
||||||
|
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Dependency information for all targets:
|
||||||
|
SET(CMAKE_DEPEND_INFO_FILES
|
||||||
|
"CMakeFiles/Example.dir/DependInfo.cmake"
|
||||||
|
)
|
99
table_replication_consistency/test/CMakeFiles/Makefile2
Normal file
99
table_replication_consistency/test/CMakeFiles/Makefile2
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
# The main recursive all target
|
||||||
|
all:
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main recursive preinstall target
|
||||||
|
preinstall:
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# 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 = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target CMakeFiles/Example.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
CMakeFiles/Example.dir/all:
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/depend
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles 1
|
||||||
|
@echo "Built target Example"
|
||||||
|
.PHONY : CMakeFiles/Example.dir/all
|
||||||
|
|
||||||
|
# Include target in all.
|
||||||
|
all: CMakeFiles/Example.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
CMakeFiles/Example.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles 1
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/Example.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles 0
|
||||||
|
.PHONY : CMakeFiles/Example.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
Example: CMakeFiles/Example.dir/rule
|
||||||
|
.PHONY : Example
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
CMakeFiles/Example.dir/clean:
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/clean
|
||||||
|
.PHONY : CMakeFiles/Example.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: CMakeFiles/Example.dir/clean
|
||||||
|
.PHONY : 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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/Example.dir
|
@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
@ -0,0 +1 @@
|
|||||||
|
1
|
25
table_replication_consistency/test/CMakeLists.txt
Normal file
25
table_replication_consistency/test/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
project (test)
|
||||||
|
cmake_minimum_required (VERSION 2.6)
|
||||||
|
|
||||||
|
# --------- Find crypt
|
||||||
|
FIND_LIBRARY(LIB_CRYPTO crypto /opt/local/lib /opt/lib /usr/lib /usr/local/lib)
|
||||||
|
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
|
||||||
|
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
|
||||||
|
|
||||||
|
# Find MySQL client library and header files
|
||||||
|
find_library(MySQL_LIBRARY NAMES mysqlclient_r mysqlclient PATHS
|
||||||
|
/usr/lib64/mysql /usr/lib/mysql)
|
||||||
|
find_path(MySQL_INCLUDE_DIR mysql.h
|
||||||
|
/usr/local/include/mysql /usr/include/mysql)
|
||||||
|
include_directories(${MySQL_INCLUDE_DIR})
|
||||||
|
|
||||||
|
#SkySQL
|
||||||
|
find_path(SkySQL_INCLUDE_DIR skygw_debug.h
|
||||||
|
/usr/local/include /usr/include ../../utils)
|
||||||
|
include_directories(${SkySQL_INCLUDE_DIR})
|
||||||
|
|
||||||
|
# Build rule for example
|
||||||
|
foreach(prog Example)
|
||||||
|
ADD_EXECUTABLE(${prog} ${prog}.c)
|
||||||
|
TARGET_LINK_LIBRARIES(${prog} table_replication_consistency.a replication boost_system pthread)
|
||||||
|
endforeach()
|
BIN
table_replication_consistency/test/Example
Executable file
BIN
table_replication_consistency/test/Example
Executable file
Binary file not shown.
50
table_replication_consistency/test/Example.c
Normal file
50
table_replication_consistency/test/Example.c
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
#include "table_replication_consistency.h"
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char** argv)
|
||||||
|
{
|
||||||
|
|
||||||
|
int i=0,k=0;
|
||||||
|
char *uri;
|
||||||
|
replication_listener_t *mrl;
|
||||||
|
int err=0;
|
||||||
|
|
||||||
|
mrl = (replication_listener_t*)calloc(argc, sizeof(replication_listener_t));
|
||||||
|
|
||||||
|
if (argc < 2) {
|
||||||
|
printf("Usage: Example <uri> [<uri> ...]\n");
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
for(i=0; i < argc; i++) {
|
||||||
|
uri= argv[i];
|
||||||
|
|
||||||
|
if ( strncmp("mysql://", uri, 8) == 0) {
|
||||||
|
|
||||||
|
mrl[i].server_url = uri;
|
||||||
|
k++;
|
||||||
|
|
||||||
|
if (argc == 1) {
|
||||||
|
mrl[i].is_master = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}//end of outer while loop
|
||||||
|
|
||||||
|
err = tb_replication_consistency_init(mrl, k, 5);
|
||||||
|
|
||||||
|
if (err ) {
|
||||||
|
perror(NULL);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
for(;;) {
|
||||||
|
sleep(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(0);
|
||||||
|
|
||||||
|
}
|
163
table_replication_consistency/test/Makefile
Normal file
163
table_replication_consistency/test/Makefile
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# 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 = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Targets provided globally by CMake.
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
|
||||||
|
/usr/bin/cmake -i .
|
||||||
|
.PHONY : edit_cache
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache/fast: edit_cache
|
||||||
|
.PHONY : edit_cache/fast
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||||
|
/usr/bin/cmake -H$(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
|
||||||
|
|
||||||
|
# The main all target
|
||||||
|
all: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles/progress.marks
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/CMakeFiles 0
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean:
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean/fast: clean
|
||||||
|
.PHONY : clean/fast
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall: all
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall/fast:
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall/fast
|
||||||
|
|
||||||
|
# clear depends
|
||||||
|
depend:
|
||||||
|
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
|
.PHONY : depend
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named Example
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
Example: cmake_check_build_system
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 Example
|
||||||
|
.PHONY : Example
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
Example/fast:
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/build
|
||||||
|
.PHONY : Example/fast
|
||||||
|
|
||||||
|
Example.o: Example.c.o
|
||||||
|
.PHONY : Example.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
Example.c.o:
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/Example.c.o
|
||||||
|
.PHONY : Example.c.o
|
||||||
|
|
||||||
|
Example.i: Example.c.i
|
||||||
|
.PHONY : Example.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
Example.c.i:
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/Example.c.i
|
||||||
|
.PHONY : Example.c.i
|
||||||
|
|
||||||
|
Example.s: Example.c.s
|
||||||
|
.PHONY : Example.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
Example.c.s:
|
||||||
|
$(MAKE) -f CMakeFiles/Example.dir/build.make CMakeFiles/Example.dir/Example.c.s
|
||||||
|
.PHONY : Example.c.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 "... Example"
|
||||||
|
@echo "... edit_cache"
|
||||||
|
@echo "... rebuild_cache"
|
||||||
|
@echo "... Example.o"
|
||||||
|
@echo "... Example.i"
|
||||||
|
@echo "... Example.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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
44
table_replication_consistency/test/cmake_install.cmake
Normal file
44
table_replication_consistency/test/cmake_install.cmake
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Install script for directory: /home/jan/skysql/skygateway/skygateway/table_replication_consistency/test
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
SET(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
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(BUILD_TYPE)
|
||||||
|
SET(CMAKE_INSTALL_CONFIG_NAME "")
|
||||||
|
ENDIF(BUILD_TYPE)
|
||||||
|
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
IF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
IF(COMPONENT)
|
||||||
|
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
ELSE(COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT)
|
||||||
|
ENDIF(COMPONENT)
|
||||||
|
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
|
||||||
|
# Install shared libraries without execute permission?
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
SET(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
|
||||||
|
IF(CMAKE_INSTALL_COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||||
|
ELSE(CMAKE_INSTALL_COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||||
|
ENDIF(CMAKE_INSTALL_COMPONENT)
|
||||||
|
|
||||||
|
FILE(WRITE "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/${CMAKE_INSTALL_MANIFEST}" "")
|
||||||
|
FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
|
||||||
|
FILE(APPEND "/home/jan/skysql/skygateway/skygateway/table_replication_consistency/test/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
|
||||||
|
ENDFOREACH(file)
|
Reference in New Issue
Block a user