Commit Graph

67 Commits

Author SHA1 Message Date
9b79b25903 Merge branch '2.3' into 2.4 2019-07-03 09:32:06 +03:00
26ca7a98f8 Merge branch '2.2' into 2.3.9 2019-07-02 13:05:23 +03:00
8d91e8e234 Install TCL from the source code only when the system version of the library is older than 8.6.5 2019-07-02 13:03:59 +03:00
8568822da2 Merge branch '2.3' into 2.4 2019-06-28 09:31:14 +03:00
e927366995 Merge branch '2.2' into 2.3 2019-06-28 09:27:56 +03:00
b796351b2c make apt non-interactive in install_build_deps.sh
In Ubuntu Bionic there is need to update libssl which causes system services restart
and apt asks user to allow this restart. It cases build script to hang and build fails due to timeout.
Additional dpkg options and DEBIAN_FRONTEND=noninteractive solves the problem
2019-06-28 00:15:28 +03:00
c0b238a9e7 MXS-2152: Add rudimentary test coverage collection
If the build is configred with -DGCOV=Y, a HTML report of code coverage is
generated in the log publish directory.
2019-05-10 13:20:32 +03:00
a9c1a8d18a Don't build dependencies with newer compiler 2019-05-07 10:02:37 +03:00
1f4ffd14e4 Always use a newer compiler on CentOS
For some reason the previous change was not commited in develop.
2019-04-29 12:46:00 +03:00
661f1dd4e4 Merge branch '2.3' into develop 2019-02-11 13:14:52 +02:00
38069bb32d MXS-1757: Never link avro against snappy
The Avro libraries appear to sometimes overwrite the CMake
variables. Patching out the code that looks for the libraries should
prevent the library from ever being linked against the snappy libraries.
2019-02-11 10:59:53 +02:00
a9f6955fc8 Revert "add systemd-dev package to the build env"
This reverts commit da6d358f9fee7cb7302f082f179c45f581e681d3.
2019-01-31 14:07:52 +02:00
da6d358f9f add systemd-dev package to the build env 2019-01-29 14:14:46 +02:00
16d7efe4ec try to Fix MXS-2206 (#185)
* try to Fix MXS-2206

* use sort -v

* return empty line
2019-01-08 16:00:02 +02:00
7a7545f8f7 Merge branch '2.2' into 2.3 2019-01-08 15:59:03 +02:00
d569cff98f try to Fix MXS-2206 (#185)
* try to Fix MXS-2206

* use sort -v

* return empty line
2019-01-08 11:58:35 +02:00
8d77ddec63 MXS-2208 Add simple Http library
- Built on top of Curl
- Currently only GET
2018-12-05 12:48:42 +02:00
70c8942a62 Fix dependency installation script
The script generates files owned by root so it needs to be removed with
sudo. As the removal of the directory is the last command, its failure
causes the script to fail.
2018-11-28 19:21:58 +02:00
c372bd8985 Install dependencies in a temporary directory
Doing the dependency installation in a temporary directory prevents the
pollution of the current working directory.
2018-11-27 12:52:45 +02:00
32f6408230 Fix Ubuntu Trusty builds
The systemd package name is libsystemd-daemon-dev in older versions.
2018-11-16 17:54:50 +02:00
8b50df1388 Install systemd-devel on SLES also 2018-11-16 16:09:05 +02:00
35b3dd4dd8 Install systemd libraries
Install systemd libraries in the install script.
2018-11-16 15:55:01 +02:00
8b9fdaa0cb Remove HTTP functionality
It wasn't used so it can be removed.
2018-10-03 08:41:45 +03:00
f8fb9510c9 Add HTTP GET function
The function performs a HTTP GET on a URL and returns the HTTP response.
2018-08-23 15:46:45 +03:00
1572e088bf Run REST API and MaxCtrl unit tests
Install Docker when building on CentOS 7. This allows the REST API and
MaxCtrl unit tests to be run.
2018-08-13 10:54:25 +03:00
c984381662 Use devtoolset 7
As devtoolset 6 worked on CentOS 6, upgrading to devtoolset 7 is better as
it will be supported for a longer time.
2018-08-13 10:28:03 +03:00
06df290aeb Use DevToolSet 6 with CentOS 6
DevToolSet 4 was EOL'ed December 2017.
2018-08-13 10:28:02 +03:00
6927e67a6d Enable rhscl repo for RHEL 6
To use the devtoolset, we need to enable the rhscl repo if we are running
RHEL 6. This fix most likely only works for the RHEL 6 images on AWS.
2018-06-12 19:40:34 +03:00
a367267756 Enable newer compiler for CentOS 6
Install devtoolset-4 on CentOS 6 to enable C++11 on all supported
platforms. Change compiler flags to `-std=c++11` to explicitly use C++11.
2018-06-12 19:40:34 +03:00
7ede6b321c Merge branch '2.1' into 2.2 2018-05-08 13:35:08 +03:00
e2b9e95e63 add libedit-dev build dependency to DEB-builds 2018-04-30 14:13:41 +03:00
825d48fe05 MXS-1757: Fix build failure when libsnappy is installed
The Avro C API links against snappy if it is present on the system unless
SNAPPY_FOUND=N is defined. This is not exactly the cleanest way to disable
it but it is the only way to do it.
2018-04-04 19:43:47 +03:00
6e859fcf02 Merge branch '2.1' into 2.2 2018-03-27 07:25:00 +03:00
9b61947205 Attempt to install libasan for RPM systems
Attempting to install libasan allows CentOS 7 to be used with ASAN while
still allowing CentOS 6 to be built.
2018-03-27 07:23:45 +03:00
d6319ec6ee MXS-1697: Install pkg-config for Debian systems
The build scripts did not install the pkg-config package that the Avro-C
API depends on.
2018-03-07 10:43:07 +02:00
187cd2cb79 Make install scripts less verbose
We don't need to know the contents of the tarballs on each build.
2018-03-07 10:43:07 +02:00
ed74f2d4a8 MXS-1697: Install pkg-config for Debian systems
The build scripts did not install the pkg-config package that the Avro-C
API depends on.
2018-03-06 15:58:48 +02:00
e41f6e0a48 Make install scripts less verbose
We don't need to know the contents of the tarballs on each build.
2018-03-06 15:58:22 +02:00
8bfb4f231a Merge branch '2.1' into 2.2 2018-03-06 10:38:01 +02:00
deae7ea922 add system update before build to build script 2018-03-05 13:17:17 +02:00
336a508cda Add PAM dependencies to build scripts
The PAM development libraries are now installed in the build scripts.
2018-01-05 12:50:24 +02:00
a971aa25da Merge branch '2.1' into 2.2 2017-10-30 11:01:19 +02:00
96c3f0dda3 Build explicit version of Jansson in build scripts
As the Avro C API depends on the Jansson library, the build scripts must
build it. This is not optimal as the Jansson version needs to be updated
in two places.
2017-10-26 21:57:46 +03:00
aa3764db3c Let MaxScale build the Jansson library
The CMake files in MaxScale automatically download the correct version of
the Jansson library when it is configured. The build scripts used the
default branch which can change.
2017-10-23 13:29:52 +03:00
8a99997bdf add gnutls installation for Wheezy and and lzma-dev (#140) 2017-08-24 15:57:28 +03:00
826654b9de MXS-1300: Build MaxCtrl with experimental packages
The build scripts now download Node.js 6.11.2 for building and packaging
MaxCtrl. The client package is also created when the extra packages are
built.
2017-08-09 11:39:25 +03:00
1f4856cdc5 Merge branch '2.1' into develop 2017-08-03 19:01:32 +03:00
ab82c7455c remove manual flex installation 2017-08-03 15:38:19 +03:00
3eb99139f5 Merge branch '2.1' into develop 2017-07-31 15:57:05 +03:00
0256be660f Fix missing zlib in build scripts
The zlib library wasn't explicitly installed which caused it to fail on
Debian 9.
2017-07-27 16:49:45 +03:00