Markus Mäkelä
fa0b9d8df1
Install one ASAN, not both
...
Installing both seems to cause problems on CentOS 7.
2020-11-17 10:09:19 +02:00
Markus Mäkelä
9edbca34c8
Fix ASAN library installation
...
The code used a newer compiler with an older ASAN library.
2020-11-13 10:40:46 +02:00
Esa Korhonen
c6c664b365
Merge branch '2.3' into 2.4
2020-09-01 10:45:14 +03:00
Esa Korhonen
b210dcc4b8
Cleanup install_build_deps script
...
No longer installs pcre2, which is built from source later on.
CMake is only installed if a recent version (3.16) is not found.
Jansson install cannot be removed yet as the Avro build requires
it.
2020-09-01 10:41:15 +03:00
Timofey Turenko
d44f20323a
Fix merge conflicts in install_test_build_deps.sh
2020-08-04 11:59:09 +03:00
Timofey Turenko
796fdf4e16
Remane apt_opt to apt_cmd and use it also in install_build_depend.sh
2020-07-29 14:51:32 +03:00
Johan Wikman
d0ab797938
Merge branch '2.3' into 2.4
2020-03-12 10:33:57 +02:00
Timofey Turenko
a97973665a
Merge branch '2.3' of github.com:mariadb-corporation/MaxScale into 2.3
2020-03-11 18:57:54 +02:00
Timofey Turenko
33ccc4687c
Set cpu cores number to build VM and separate build and upgrade
...
VM should have 8 cores to make build faster in GCloud.
To get rid of ssfs between build hosts the build step
and upgrade test step are separated as well as
repository discriåtion generation
2020-03-11 18:50:53 +02:00
Markus Mäkelä
4d5d83da26
Merge branch '2.3' into 2.4
2020-03-10 14:30:48 +02:00
Markus Mäkelä
38420c38b9
Upgrade to nodejs 6.17.1
2020-03-10 14:25:05 +02:00
Markus Mäkelä
19030bed35
Merge branch '2.3' into 2.4
2020-02-19 19:25:40 +02:00
Markus Mäkelä
61050ed125
Fix Avro C API link
...
The old link is dead.
2020-02-19 19:24:39 +02:00
Timofey Turenko
1e4f7145ad
Add build dependecy on libcurl-devel
2019-12-18 21:38:12 +02:00
Niclas Antti
e3402c42cc
Merge branch '2.3' into 2.4
2019-12-16 09:37:01 +02:00
Timofey Turenko
c04b7bc414
Fix typo in install_build_depends.sh
2019-12-14 22:13:30 +02:00
Markus Mäkelä
ad323bb837
Merge branch '2.3' into 2.4
2019-12-13 11:24:42 +02:00
Timofey Turenko
da682b7777
Fix trailing whitespace in install_build_deps.sh
2019-12-12 23:31:38 +02:00
Timofey Turenko
ba46cb4434
Enable 'PowerTools' yum repo if it is present
...
In CentOS8 some -devel packages are moved to PowerTools repository which
is disabled by default. install_build_depends now checks if this repo
is in the repolist then add enablerepo=PowerTools to the yum command
2019-12-11 17:35:32 +02:00
Timofey Turenko
2fc42fca1e
Remove Docker installation from build script
...
Installation of Docker is removed from build script because it is done
in the not very reliable way and can fail and cause build failure.
E.g. this installation causes conflict with existing Docker.
2019-12-11 13:08:27 +02:00
Markus Mäkelä
9dceff7d9d
Merge branch '2.3' into 2.4
2019-12-03 10:05:34 +02:00
Timofey Turenko
99d1ecd472
More reliable way to determine package manager type during the build
...
Checking presence of 'apt', 'yum' or 'zypper' command is not very
reliable way to determine package manager type.
E.g. OpenSUSE 25 has 'apt' which is wrapper over 'zypper' or rpm tools
can be installed on Ubuntu.
More relible way is to check /etc/*-release file and if it is not
availabe try to check presence of apt, yum or zypper
2019-11-28 16:10:57 +02:00
Johan Wikman
87ffceb3e5
Merge branch '2.3' into 2.4
2019-11-13 08:36:42 +02:00
Johan Wikman
c6364acaec
Revert "Build and test in parallel"
...
This reverts commit 9e931918e2441b619281fd5e96979f35c8b402f9.
2019-11-13 08:33:09 +02:00
Johan Wikman
0a4caaf817
Merge branch '2.3' into 2.4
2019-11-12 08:50:17 +02:00
Markus Mäkelä
9e931918e2
Build and test in parallel
...
This speeds up builds when more CPUs are available. Also removed redundant
docker installation: mdbci already installs it.
2019-11-11 09:10:42 +02:00
Esa Korhonen
9c62aafa93
Merge branch '2.3' into 2.4
2019-10-01 15:25:41 +03:00
Timofey Turenko
e3b7804462
Fix URL to Avro package download page
2019-09-30 14:29:00 +03:00
Markus Mäkelä
9b79b25903
Merge branch '2.3' into 2.4
2019-07-03 09:32:06 +03:00
Markus Mäkelä
26ca7a98f8
Merge branch '2.2' into 2.3.9
2019-07-02 13:05:23 +03:00
Andrey Vasilyev
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
Markus Mäkelä
8568822da2
Merge branch '2.3' into 2.4
2019-06-28 09:31:14 +03:00
Markus Mäkelä
e927366995
Merge branch '2.2' into 2.3
2019-06-28 09:27:56 +03:00
Timofey Turenko
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
Markus Mäkelä
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
Markus Mäkelä
a9c1a8d18a
Don't build dependencies with newer compiler
2019-05-07 10:02:37 +03:00
Markus Mäkelä
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
Markus Mäkelä
661f1dd4e4
Merge branch '2.3' into develop
2019-02-11 13:14:52 +02:00
Markus Mäkelä
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
Timofey Turenko
a9f6955fc8
Revert "add systemd-dev package to the build env"
...
This reverts commit da6d358f9fee7cb7302f082f179c45f581e681d3.
2019-01-31 14:07:52 +02:00
Timofey Turenko
da6d358f9f
add systemd-dev package to the build env
2019-01-29 14:14:46 +02:00
Oleksandr Kovtunenko
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
Johan Wikman
7a7545f8f7
Merge branch '2.2' into 2.3
2019-01-08 15:59:03 +02:00
Oleksandr Kovtunenko
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
Johan Wikman
8d77ddec63
MXS-2208 Add simple Http library
...
- Built on top of Curl
- Currently only GET
2018-12-05 12:48:42 +02:00
Markus Mäkelä
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
Markus Mäkelä
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
Markus Mäkelä
32f6408230
Fix Ubuntu Trusty builds
...
The systemd package name is libsystemd-daemon-dev in older versions.
2018-11-16 17:54:50 +02:00
Markus Mäkelä
8b50df1388
Install systemd-devel on SLES also
2018-11-16 16:09:05 +02:00
Markus Mäkelä
35b3dd4dd8
Install systemd libraries
...
Install systemd libraries in the install script.
2018-11-16 15:55:01 +02:00