286 Commits

Author SHA1 Message Date
Markus Makela
e02ce560bf Fix to Suse 11 compilation problem. 2015-02-03 15:54:10 +02:00
Markus Makela
3e5d5f72f4 Added missing installs of system scripts. 2015-02-03 00:07:13 +02:00
Markus Makela
ab6418c939 Fixes to RabbitMQ filter and consumer. 2015-01-30 18:03:20 +02:00
Markus Makela
5d6b805d6e Moved CMake modules to a separate directory and disabled local installs of system files when building packages.
The building of packages with CMake now requires the -DPACKAGE=Y flag to be set when configuring CMake.
2015-01-30 15:45:33 +02:00
Markus Makela
bbe73d78fd Fixed DEB package post-install and post-uninstall scripts not working properly. 2015-01-30 12:33:55 +02:00
Markus Makela
28e6a2c818 Additional fix to bug 683 and a fix to bug 710: http://bugs.mariadb.com/show_bug.cgi?id=710
Version and provider strings are now parsed based on the contents of mysql_version.h.
Added post-install and post-uninstall scripts to RPM and post-install scripts to DEB packages.
2015-01-29 18:17:13 +02:00
Markus Makela
edc247918a Fix to bug 683: http://bugs.mariadb.com/show_bug.cgi?id=683
Removed the usage of mysql_config and added warnings if the mysqld provider is something else than MariaDB.
2015-01-29 14:27:41 +02:00
Markus Makela
c5ac9b928a Fix to bug 709: http://bugs.mariadb.com/show_bug.cgi?id=709
Changed the installation directory of the files to '.' instead of 'CMAKE_INSTALL_PREFIX'.
2015-01-28 15:08:19 +02:00
Markus Makela
9b9c968ca1 Fix to bug 704: http://bugs.mariadb.com/show_bug.cgi?id=704
The testall target now exits with the correct value.
2015-01-26 09:07:33 +02:00
Markus Makela
66db37341d Updates all references to INSTALL_DIR with CMAKE_INSTALL_PREFIX. 2015-01-18 05:55:29 +02:00
Markus Makela
e79ea8bc3e Removed INSTALL_DIR due to bug 689 being fixed and updated README to use 'cmake -LH' instead of listing the variables. 2015-01-18 05:29:37 +02:00
Markus Makela
3af1e895c7 Updated SETUP contents, fixed CMAKE_INSTALL_PREFIX not affecting the install destination and added a WITHOUT_MAXADMIN flag. 2015-01-18 05:20:05 +02:00
Markus Makela
ec9f575a6e Fix to bug 690: http://bugs.mariadb.com/show_bug.cgi?id=690
Updated the debian/rules file to use mysql_config instead of a hard-coded path.
2015-01-12 11:12:51 +02:00
Timofey Turenko
8572a08cab Merge branch 'master' into develop 2015-01-09 11:23:03 +02:00
Markus Makela
d5f47c250f Added the missing LICENSE, COPYRIGHT, README and SETUP files. 2015-01-08 17:47:08 +02:00
Markus Makela
3bf595673d Added the missing skygw_log_sync_all function to the log_manager.h header and created a header for testing which contains the location of the testing directory. 2015-01-05 06:48:32 +02:00
Markus Makela
4d21e901ef Package building now requires CMake version 2.8.12 or greater. 2014-12-18 15:27:37 +02:00
Mark Riddoch
825320dd7a Merge branch 'release-1.0GA' into develop 2014-12-08 10:24:19 +00:00
Markus Makela
efa3baa273 Added tarballs to package generation 2014-11-26 11:21:19 +02:00
Markus Makela
1b633cceb5 Added a platform check cmake file for future platform checking. 2014-11-26 09:09:08 +02:00
Markus Makela
990de59241 Added find_package modules for MySQLClient and RabbitMQ and fixed an error in consumer.c 2014-11-19 15:16:10 +02:00
Markus Makela
a96f2fe57b Fixed some typos and testing messages from CMake output. 2014-11-17 12:57:07 +02:00
Markus Makela
4708e97208 Added a 'testall-valgrind' target to CMake that runs the full test suite with Valgrind. 2014-11-17 12:47:24 +02:00
Markus Makela
b5445bdf63 Added a variable that controls the FAKE_CODE define 2014-11-12 18:12:58 +02:00
Markus Makela
97934ed96a Changed the UNIX-only commands to CMake generic commands. 2014-11-11 12:43:46 +02:00
Markus Makela
8925f79286 Fix to bug 464 2014-11-06 14:48:08 +02:00
Markus Makela
99707853be Changed the requirement of -Werror=format-security to GCC version 4.2 or greater instead of only versions greater than 4.2. 2014-11-04 10:55:30 +02:00
Markus Makela
1fc66c0df7 Updated the GCC required version to 4.2 for '-Werror=format-security' to be used. 2014-11-04 10:49:28 +02:00
Markus Makela
e786d4af78 fix to bug 606, added a check that the compiler version is greater than 4.1 if GNU compilers are used when using -Werror=format-security. 2014-11-04 10:40:24 +02:00
Markus Makela
002bfb5c35 Added 'make documentation' target to CMake that generates documentation with Doxygen. 2014-10-31 12:44:20 +02:00
Hartmut Holzgraefe
0ca36e7b63 added "make uninstall" target as described in
http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
2014-10-17 16:41:02 +02:00
Hartmut Holzgraefe
db7bc39c7c use ${CMAKE_BINARY_DIR} prefix for files generated by CMake
so that files are created in build dir and source dir is
never modified by building
2014-10-17 15:40:29 +02:00
Markus Makela
87b14d973f Running testall target with CMake doesn't overwrite the existing MaxScale.cnf anymore. 2014-10-15 12:42:26 +03:00
Markus Makela
56b82acb1b Fixed CMake builds overwriting MaxScale.cnf when installing after tests were built. 2014-10-14 19:15:59 +03:00
Markus Makela
d335794715 Added a 'buildtests' target that only builds the test version. 2014-10-13 13:57:08 +03:00
Markus Makela
7117eae2b2 CMake will now properly create the log folder when installing. 2014-10-13 12:12:40 +03:00
Markus Makela
253b22d608 Added a 'DebugSymbols' build target to generate debugging symbols but not enable debugging code. 2014-10-08 12:44:22 +03:00
Markus Makela
3cd8e29c4c Changed the way some CMake functions are used to support older versions of CMake. 2014-10-07 14:09:22 +03:00
Markus Makela
d227409abc re-enabled the automatic detection of dependencies for packages. 2014-10-03 15:08:49 +03:00
Markus Makela
a7fc8cd68a added missing dependencies to RPM and DEB packages. 2014-10-03 14:40:57 +03:00
Markus Makela
c5f0baaa8f 'make testall' now correctly kills the test MaxScale process. 2014-10-03 10:09:15 +03:00
Markus Makela
c4ca1ddb13 Updated non-source files with new company name. 2014-10-01 15:21:47 +03:00
Markus Makela
f5e789da2b init.d scripts and ldconfig files are no longer overwritten when configuring CMake 2014-09-25 12:37:04 +03:00
Markus Makela
d8d920bdb4 made the searching of MySQL headers look recursively for subdirectories 2014-09-24 18:58:23 +03:00
Markus Makela
725a432bf7 Merging 'cmake_build' into 'release-1.0beta-refresh' 2014-09-24 17:29:23 +03:00
Markus Makela
e30f4b4b95 Cleaned up dependency checking 2014-09-24 15:39:06 +03:00
Markus Makela
9c61dcebaa changed 'Release' build type to 'Optimized' and removed the default -O2 flags 2014-09-24 12:58:44 +03:00
Markus Makela
0b143584c6 Added comments and removed redundant dependency checking 2014-09-24 09:57:17 +03:00
Markus Makela
10f951bb75 Added a custom flag for the level of optimization 2014-09-22 19:03:16 +03:00
Markus Makela
e325819348 changed Release build optimization to -O2 from -O3 due to -O3 causing bugs 2014-09-22 18:38:28 +03:00