memgraph/environment
2021-01-19 10:07:14 +01:00
..
os Fix CentOS 8 powertools setup (#76) 2021-01-19 10:07:14 +01:00
toolchain Migrate to toolchain-v2 (#33) 2020-11-12 20:18:11 +01:00
.gitignore Migrate to Clang 8 2019-04-19 12:34:50 +02:00
README.md Migrate to toolchain-v2 (#33) 2020-11-12 20:18:11 +01:00
util.sh Add install_all_apt environment util function (#77) 2021-01-15 09:26:15 +01:00

Memgraph Build and Run Environments

Toolchain Installation Procedure

  1. Download the toolchain for your operating system from one of the following links (current active toolchain is toolchain-v2):
  1. Extract the toolchain with the following command:
tar xzvf {{toolchain-archive}}.tar.gz -C /opt
  1. Check and install required toolchain runtime dependencies by executing (e.g., on Debian 10):
./environment/os/debian-10.sh check TOOLCHAIN_RUN_DEPS
./environment/os/debian-10.sh install TOOLCHAIN_RUN_DEPS
  1. Activate the toolchain:
source /opt/toolchain-v2/activate

Toolchain Upgrade Procedure

  1. Build a new toolchain for each supported OS (latest versions).
  2. If the new toolchain doesn't compile on some supported OS, the last compilable toolchain has to be used instead. In other words, the project has to compile on the oldest active toolchain as well. Suppose some changes/improvements were added when migrating to the latest toolchain; in that case, the maintainer has to ensure that the project still compiles on previous toolchains (everything from init script to the actual code has to work on all supported operating systems).