You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
stubs and cmake formatting
This commit is contained in:
committed by
Leonid Fedorov
parent
2036e521c7
commit
6db2dc668f
@ -1,5 +1,4 @@
|
||||
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
||||
include_directories(${ENGINE_COMMON_INCLUDES})
|
||||
|
||||
add_subdirectory(shared)
|
||||
add_subdirectory(dictionary)
|
||||
@ -11,46 +10,32 @@ add_subdirectory(redistribute)
|
||||
add_subdirectory(splitter)
|
||||
add_subdirectory(server)
|
||||
|
||||
# ########## install files ###############
|
||||
|
||||
########### install files ###############
|
||||
# original Makefile.am contents follow:
|
||||
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
## Copyright (C) 2014 InfiniDB, Inc.
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or
|
||||
## modify it under the terms of the GNU General Public License
|
||||
## as published by the Free Software Foundation; version 2 of
|
||||
## the License.
|
||||
##
|
||||
## This program is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
##
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with this program; if not, write to the Free Software
|
||||
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
## MA 02110-1301, USA.
|
||||
# Copyright (C) 2014 InfiniDB, Inc.
|
||||
#
|
||||
## $Id: Makefile.am 878 2009-04-03 20:34:32Z rdempsey $
|
||||
# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
|
||||
# License as published by the Free Software Foundation; version 2 of the License.
|
||||
#
|
||||
#SUBDIRS = shared dictionary xml wrapper bulk client redistribute splitter \
|
||||
# server
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
#test:
|
||||
# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
#coverage:
|
||||
# $Id: Makefile.am 878 2009-04-03 20:34:32Z rdempsey $
|
||||
#
|
||||
#leakcheck:
|
||||
# SUBDIRS = shared dictionary xml wrapper bulk client redistribute splitter \ server
|
||||
#
|
||||
#docs:
|
||||
# test:
|
||||
#
|
||||
#bootstrap:
|
||||
# for subdir in $(SUBDIRS); \
|
||||
# do $(MAKE) -C $$subdir bootstrap || exit $$?; \
|
||||
# done
|
||||
# coverage:
|
||||
#
|
||||
# leakcheck:
|
||||
#
|
||||
# docs:
|
||||
#
|
||||
# bootstrap: for subdir in $(SUBDIRS); \ do $(MAKE) -C $$subdir bootstrap || exit $$?; \ done
|
||||
#
|
||||
|
@ -1,8 +1,8 @@
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} ${S3API_DIR} )
|
||||
include_directories(${ENGINE_COMMON_INCLUDES} ${S3API_DIR})
|
||||
|
||||
link_directories(${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
########### next target ###############
|
||||
# ########## next target ###############
|
||||
|
||||
set(we_bulk_STAT_SRCS
|
||||
we_brmreporter.cpp
|
||||
@ -22,23 +22,36 @@ set(we_bulk_STAT_SRCS
|
||||
we_extentstripealloc.cpp
|
||||
we_tableinfo.cpp
|
||||
we_tempxmlgendata.cpp
|
||||
we_workers.cpp)
|
||||
we_workers.cpp
|
||||
)
|
||||
|
||||
ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
|
||||
add_definitions(-D_FILE_OFFSET_BITS=64)
|
||||
columnstore_library(we_bulk ${we_bulk_STAT_SRCS})
|
||||
|
||||
add_dependencies(we_bulk loggingcpp)
|
||||
|
||||
target_link_libraries(we_bulk ${NETSNMP_LIBRARIES})
|
||||
|
||||
REMOVE_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
|
||||
remove_definitions(-D_FILE_OFFSET_BITS=64)
|
||||
|
||||
########### next target ###############
|
||||
# ########## next target ###############
|
||||
|
||||
set(cpimport.bin_SRCS cpimport.cpp)
|
||||
|
||||
add_executable(cpimport.bin ${cpimport.bin_SRCS})
|
||||
add_dependencies(cpimport.bin marias3)
|
||||
target_link_libraries(cpimport.bin ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} ${S3API_DEPS} we_bulk we_xml)
|
||||
target_link_libraries(
|
||||
cpimport.bin
|
||||
${ENGINE_LDFLAGS}
|
||||
${NETSNMP_LIBRARIES}
|
||||
${ENGINE_WRITE_LIBS}
|
||||
${S3API_DEPS}
|
||||
we_bulk
|
||||
we_xml
|
||||
)
|
||||
|
||||
install(TARGETS cpimport.bin DESTINATION ${ENGINE_BINDIR} COMPONENT columnstore-engine)
|
||||
install(
|
||||
TARGETS cpimport.bin
|
||||
DESTINATION ${ENGINE_BINDIR}
|
||||
COMPONENT columnstore-engine
|
||||
)
|
||||
|
@ -1,7 +1,6 @@
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
||||
include_directories(${ENGINE_COMMON_INCLUDES})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
# ########## next target ###############
|
||||
|
||||
set(writeengineclient_LIB_SRCS we_clients.cpp we_ddlcommandclient.cpp we_dmlcommandclient.cpp)
|
||||
|
||||
@ -11,4 +10,8 @@ add_dependencies(writeengineclient loggingcpp)
|
||||
|
||||
target_link_libraries(writeengineclient ${NETSNMP_LIBRARIES})
|
||||
|
||||
install(TARGETS writeengineclient DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)
|
||||
install(
|
||||
TARGETS writeengineclient
|
||||
DESTINATION ${ENGINE_LIBDIR}
|
||||
COMPONENT columnstore-engine
|
||||
)
|
||||
|
@ -1,3 +1,3 @@
|
||||
########### install files ###############
|
||||
# ########## install files ###############
|
||||
|
||||
install(FILES we_dctnry.h DESTINATION include)
|
||||
install(FILES we_dctnry.h DESTINATION include)
|
||||
|
@ -1,44 +1,33 @@
|
||||
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES})
|
||||
|
||||
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
# ########## install files ###############
|
||||
|
||||
install(FILES we_indexlist.h we_freemgr.h we_indextree.h DESTINATION include)
|
||||
|
||||
########### install files ###############
|
||||
# original Makefile.am contents follow:
|
||||
|
||||
install(FILES we_indexlist.h we_freemgr.h we_indextree.h DESTINATION include)
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
## Copyright (C) 2014 InfiniDB, Inc.
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or
|
||||
## modify it under the terms of the GNU General Public License
|
||||
## as published by the Free Software Foundation; version 2 of
|
||||
## the License.
|
||||
##
|
||||
## This program is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
##
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with this program; if not, write to the Free Software
|
||||
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
## MA 02110-1301, USA.
|
||||
# Copyright (C) 2014 InfiniDB, Inc.
|
||||
#
|
||||
## $Id: Makefile.am 864 2009-04-02 19:22:49Z rdempsey $
|
||||
### Process this file with automake to produce Makefile.in
|
||||
# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
|
||||
# License as published by the Free Software Foundation; version 2 of the License.
|
||||
#
|
||||
#include_HEADERS = we_indexlist.h we_freemgr.h we_indextree.h
|
||||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
#test:
|
||||
# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
#coverage:
|
||||
# $Id: Makefile.am 864 2009-04-02 19:22:49Z rdempsey $ Process this file with automake to produce Makefile.in
|
||||
#
|
||||
#leakcheck:
|
||||
# include_HEADERS = we_indexlist.h we_freemgr.h we_indextree.h
|
||||
#
|
||||
#docs:
|
||||
# test:
|
||||
#
|
||||
#bootstrap: install-data-am
|
||||
# coverage:
|
||||
#
|
||||
# leakcheck:
|
||||
#
|
||||
# docs:
|
||||
#
|
||||
# bootstrap: install-data-am
|
||||
#
|
||||
|
@ -1,12 +1,10 @@
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
||||
include_directories(${ENGINE_COMMON_INCLUDES})
|
||||
|
||||
########### next target ###############
|
||||
# ########## next target ###############
|
||||
|
||||
set(writeengineredistribute_LIB_SRCS
|
||||
we_redistribute.cpp
|
||||
we_redistributecontrol.cpp
|
||||
we_redistributecontrolthread.cpp
|
||||
we_redistributeworkerthread.cpp)
|
||||
set(writeengineredistribute_LIB_SRCS we_redistribute.cpp we_redistributecontrol.cpp we_redistributecontrolthread.cpp
|
||||
we_redistributeworkerthread.cpp
|
||||
)
|
||||
|
||||
columnstore_library(writeengineredistribute ${writeengineredistribute_LIB_SRCS})
|
||||
|
||||
@ -16,5 +14,8 @@ target_link_libraries(writeengineredistribute ${NETSNMP_LIBRARIES})
|
||||
|
||||
target_compile_definitions(writeengineredistribute PUBLIC BOOST_NO_CXX11_SCOPED_ENUMS)
|
||||
|
||||
|
||||
install(TARGETS writeengineredistribute DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)
|
||||
install(
|
||||
TARGETS writeengineredistribute
|
||||
DESTINATION ${ENGINE_LIBDIR}
|
||||
COMPONENT columnstore-engine
|
||||
)
|
||||
|
@ -1,8 +1,6 @@
|
||||
include_directories(${ENGINE_COMMON_INCLUDES})
|
||||
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
# ########## next target ###############
|
||||
|
||||
set(WriteEngineServer_SRCS
|
||||
we_server.cpp
|
||||
@ -16,13 +14,19 @@ set(WriteEngineServer_SRCS
|
||||
we_cpifeederthread.cpp
|
||||
we_getfilesizes.cpp
|
||||
../../utils/common/crashtrace.cpp
|
||||
../../datatypes/mcs_datatype.cpp)
|
||||
../../datatypes/mcs_datatype.cpp
|
||||
)
|
||||
|
||||
add_executable(WriteEngineServer ${WriteEngineServer_SRCS})
|
||||
|
||||
add_dependencies(WriteEngineServer loggingcpp)
|
||||
|
||||
target_link_libraries(WriteEngineServer ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} threadpool writeengineredistribute)
|
||||
|
||||
install(TARGETS WriteEngineServer DESTINATION ${ENGINE_BINDIR} COMPONENT columnstore-engine)
|
||||
target_link_libraries(
|
||||
WriteEngineServer ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} threadpool writeengineredistribute
|
||||
)
|
||||
|
||||
install(
|
||||
TARGETS WriteEngineServer
|
||||
DESTINATION ${ENGINE_BINDIR}
|
||||
COMPONENT columnstore-engine
|
||||
)
|
||||
|
@ -1,4 +1,29 @@
|
||||
# ########## install files ###############
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install(FILES we_index.h we_define.h we_type.h we_fileop.h we_blockop.h we_dbfileop.h we_obj.h we_log.h we_simplesyslog.h we_convertor.h we_brm.h we_macro.h we_config.h we_cache.h we_stats.h we_bulkrollbackmgr.h we_typeext.h we_chunkmanager.h we_bulkrollbackfilecompressed.h we_bulkrollbackfilecompressedhdfs.h we_bulkrollbackfile.h we_rbmetawriter.h we_dbrootextenttracker.h we_confirmhdfsdbfile.h DESTINATION include)
|
||||
install(
|
||||
FILES we_index.h
|
||||
we_define.h
|
||||
we_type.h
|
||||
we_fileop.h
|
||||
we_blockop.h
|
||||
we_dbfileop.h
|
||||
we_obj.h
|
||||
we_log.h
|
||||
we_simplesyslog.h
|
||||
we_convertor.h
|
||||
we_brm.h
|
||||
we_macro.h
|
||||
we_config.h
|
||||
we_cache.h
|
||||
we_stats.h
|
||||
we_bulkrollbackmgr.h
|
||||
we_typeext.h
|
||||
we_chunkmanager.h
|
||||
we_bulkrollbackfilecompressed.h
|
||||
we_bulkrollbackfilecompressedhdfs.h
|
||||
we_bulkrollbackfile.h
|
||||
we_rbmetawriter.h
|
||||
we_dbrootextenttracker.h
|
||||
we_confirmhdfsdbfile.h
|
||||
DESTINATION include
|
||||
)
|
||||
|
@ -1,8 +1,6 @@
|
||||
include_directories(${ENGINE_COMMON_INCLUDES} ${S3API_DIR})
|
||||
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} ${S3API_DIR} )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
# ########## next target ###############
|
||||
|
||||
set(cpimport_SRCS
|
||||
we_splitterapp.cpp
|
||||
@ -13,13 +11,25 @@ set(cpimport_SRCS
|
||||
we_splclient.cpp
|
||||
we_brmupdater.cpp
|
||||
we_tablelockgrabber.cpp
|
||||
we_xmlgetter.cpp)
|
||||
we_xmlgetter.cpp
|
||||
)
|
||||
|
||||
add_executable(cpimport ${cpimport_SRCS})
|
||||
|
||||
add_dependencies(cpimport loggingcpp)
|
||||
|
||||
target_link_libraries(cpimport ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} batchloader threadpool marias3)
|
||||
|
||||
install(TARGETS cpimport DESTINATION ${ENGINE_BINDIR} COMPONENT columnstore-engine)
|
||||
target_link_libraries(
|
||||
cpimport
|
||||
${ENGINE_LDFLAGS}
|
||||
${NETSNMP_LIBRARIES}
|
||||
${ENGINE_WRITE_LIBS}
|
||||
batchloader
|
||||
threadpool
|
||||
marias3
|
||||
)
|
||||
|
||||
install(
|
||||
TARGETS cpimport
|
||||
DESTINATION ${ENGINE_BINDIR}
|
||||
COMPONENT columnstore-engine
|
||||
)
|
||||
|
@ -1,7 +1,6 @@
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
||||
include_directories(${ENGINE_COMMON_INCLUDES})
|
||||
|
||||
|
||||
########### next target ###############
|
||||
# ########## next target ###############
|
||||
|
||||
set(writeengine_LIB_SRCS
|
||||
writeengine.cpp
|
||||
@ -32,7 +31,8 @@ set(writeengine_LIB_SRCS
|
||||
../xml/we_xmlop.cpp
|
||||
../xml/we_xmljob.cpp
|
||||
../xml/we_xmlgendata.cpp
|
||||
../xml/we_xmlgenproc.cpp)
|
||||
../xml/we_xmlgenproc.cpp
|
||||
)
|
||||
|
||||
add_definitions(-D_FILE_OFFSET_BITS=64)
|
||||
|
||||
@ -42,4 +42,8 @@ add_dependencies(writeengine loggingcpp)
|
||||
|
||||
target_link_libraries(writeengine ${NETSNMP_LIBRARIES})
|
||||
|
||||
install(TARGETS writeengine DESTINATION ${ENGINE_LIBDIR} COMPONENT columnstore-engine)
|
||||
install(
|
||||
TARGETS writeengine
|
||||
DESTINATION ${ENGINE_LIBDIR}
|
||||
COMPONENT columnstore-engine
|
||||
)
|
||||
|
@ -1,13 +1,8 @@
|
||||
include_directories( ${ENGINE_COMMON_INCLUDES} )
|
||||
include_directories(${ENGINE_COMMON_INCLUDES})
|
||||
|
||||
# ########## next target ###############
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(we_xml_STAT_SRCS
|
||||
we_xmlop.cpp
|
||||
we_xmljob.cpp
|
||||
we_xmlgendata.cpp
|
||||
we_xmlgenproc.cpp)
|
||||
set(we_xml_STAT_SRCS we_xmlop.cpp we_xmljob.cpp we_xmlgendata.cpp we_xmlgenproc.cpp)
|
||||
|
||||
add_definitions(-D_FILE_OFFSET_BITS=64)
|
||||
|
||||
@ -15,4 +10,4 @@ columnstore_library(we_xml ${we_xml_STAT_SRCS})
|
||||
|
||||
add_dependencies(we_xml loggingcpp)
|
||||
|
||||
INSTALL(TARGETS we_xml DESTINATION ${ENGINE_LIBDIR})
|
||||
install(TARGETS we_xml DESTINATION ${ENGINE_LIBDIR})
|
||||
|
Reference in New Issue
Block a user