1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

[MCOL-69] - improve build process

Add .gitignore file to omit autoconf artificats
Modify bootstrap to:
  No longer copy binaries into export
  Create export/mysql directory properly
  Check for errors when generating version header
  Run configure
  Check for errors when running configure
Modify genVersion.h to:
  Place versionnumber.h into dbcon/mysql, the only place it appears to be used
  It was being generated in the install prefix, thus when using a non-user
    path like /usr/local/PREFIX it would fail to generate the version number
    header, because the user compiling the software does not have write
    permission.  This necessitated building as root, this will resolve that.
Remove config.log, an autotools artifact
Add autoconf templates for mcsadmin
This commit is contained in:
Justin Swanhart
2016-05-27 09:47:39 -04:00
parent 873111ce3f
commit a812a76e8d
7 changed files with 719 additions and 5101 deletions

View File

@ -253,7 +253,7 @@ lib_LTLIBRARIES = libcalmysql.la
libcalmysql_la_SOURCES = ha_calpont.cpp ha_calpont_impl.cpp ha_calpont_dml.cpp ha_calpont_ddl.cpp ha_calpont_execplan.cpp ha_scalar_sub.cpp ha_in_sub.cpp ha_exists_sub.cpp ha_from_sub.cpp ha_select_sub.cpp ha_view.cpp sm.cpp ha_window_function.cpp ha_calpont_partition.cpp ha_pseudocolumn.cpp
libcalmysql_la_LDFLAGS = -version-info 1:0:0 $(idb_common_ldflags) $(idb_common_libs) $(idb_write_libs) $(AM_LDFLAGS)
libcalmysql_la_CPPFLAGS = -I/usr/include/libxml2 -I../../../mysql/include -I../../../mysql/sql -I../../../mysql/regex -DMYSQL_DYNAMIC_PLUGIN $(AM_CPPFLAGS)
include_HEADERS = idb_mysql.h
include_HEADERS = idb_mysql.h versionumber.h
dist_mysql_DATA = syscatalog_mysql.sql dumpcat_mysql.sql calsetuserpriority.sql calremoveuserpriority.sql calshowprocesslist.sql my.cnf
mysql-Columnstore = install_calpont_mysql.sh mysql-Calpont dumpcat.pl
all: all-am