GitHub - mariadb-corporation/galera: Synchronous multi-master replication library (original) (raw)

Codership Oy http://www.codership.com info@codership.com

This is Galera replication - Codership's implementation of the write set replication (wsrep) interface (https://github.com/codership/wsrep-API). The software and other files in this directory unless otherwise noted are distributed under GPLv2, see COPYING for details.

BUILDING - General

Build Requirements:

Optional:

To build with CMake, do: $ cmake . $ make Run unit tests with CMake: $ make test

Note that Scons has been obsoleted since Galera 3.32, but it is still possible to compile by running: $ scons (default optimized build) or $ ./scripts/build.sh --scons (see ./scripts/build.sh --help for information on options)

To build MySQL/Galera demo distribution, clone https://github.com/codership/mysql-wsrep into some directory (hereafter ) and run build script from this directory (hereafter ):

$ cd $ git clone --single-branch --branch 5.6
https://github.com/codership/mysql-wsrep.git $ cd $ MYSQL_SRC=/mysql-wsrep ./scripts/mysql/build.sh -b -s -o -t

After successful build, demo package can be found under scripts/mysql.

BUILDING - on Ubuntu 20.04 or later

  1. apt-get install check cmake libasio-dev libboost-dev
    libboost-program-options-dev libssl-dev

Then proceed as described above.

BUILDING - on RHEL 8 or later

  1. yum install gcc gcc-c++ cmake boost-devel check-devel openssl-devel

Then proceed as described above.

For more information, see: