Skip to content

Update toolchain-v6 #1088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 17 additions & 20 deletions pages/getting-started/build-memgraph-from-source.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ not necessary for the toolchain but are required by Memgraph.
sudo ./environment/os/debian-11.sh install MEMGRAPH_BUILD_DEPS
```

For ARM look for `-arm` in the script name (e.g., on Ubuntu 22.04 with Apple M processor):
For ARM look for `-arm` in the script name (e.g., on Ubuntu 24.04 with Apple M processor):

```bash
sudo ./environment/os/ubuntu-22.04-arm.sh install TOOLCHAIN_RUN_DEPS
sudo ./environment/os/ubuntu-22.04-arm.sh install MEMGRAPH_BUILD_DEPS
sudo ./environment/os/ubuntu-24.04-arm.sh install TOOLCHAIN_RUN_DEPS
sudo ./environment/os/ubuntu-24.04-arm.sh install MEMGRAPH_BUILD_DEPS
```
</Callout>

Expand Down Expand Up @@ -110,18 +110,15 @@ to install the appropriate toolchain for your distribution.

Download the toolchain for your operating system from one of the following links:

- [CentOS 7](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-centos-7-x86_64.tar.gz)
- [CentOS 9](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-centos-9-x86_64.tar.gz)
- [Fedora 39](https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-fedora-39-amd64.tar.gz)
- [Debian 11 (x86_64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-debian-11-amd64.tar.gz)
- [Debian 11 (arm64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-debian-11-arm64.tar.gz)
- [Debian 12 (x86_64)](https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-debian-12-amd64.tar.gz)
- [Debian 12 (arm64)](https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-debian-12-arm64.tar.gz)
- [Ubuntu 20.04](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-ubuntu-20.04-amd64.tar.gz)
- [Ubuntu 22.04 (x86_64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-ubuntu-22.04-amd64.tar.gz)
- [Ubuntu 22.04 (arm64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-ubuntu-22.04-arm64.tar.gz)
- [Ubuntu 24.04 (x86_64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-ubuntu-24.04-amd64.tar.gz)
- [Ubuntu 24.04 (arm64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v5/toolchain-v5-binaries-ubuntu-24.04-arm64.tar.gz)
- [CentOS 9](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-centos-9-x86_64.tar.gz)
- [CentOS 10](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-centos-10-x86_64.tar.gz)
- [Debian 11 (x86_64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-debian-11-amd64.tar.gz)
- [Debian 11 (arm64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-debian-11-arm64.tar.gz)
- [Debian 12 (x86_64)](https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-debian-12-amd64.tar.gz)
- [Debian 12 (arm64)](https://s3.eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-debian-12-arm64.tar.gz)
- [Ubuntu 22.04 (x86_64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-ubuntu-22.04-amd64.tar.gz)
- [Ubuntu 24.04 (x86_64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-ubuntu-24.04-amd64.tar.gz)
- [Ubuntu 24.04 (arm64)](https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/toolchain-v6/toolchain-v6-binaries-ubuntu-24.04-arm64.tar.gz)

Extract the toolchain with the following command:

Expand All @@ -132,7 +129,7 @@ sudo tar xzvfm {{toolchain-archive}}.tar.gz -C /opt
<Callout>

After you have installed the toolchain, you should read the instructions for the
toolchain in the toolchain install directory (`/opt/toolchain-v5/README.md`)
toolchain in the toolchain install directory (`/opt/toolchain-v6/README.md`)
and install dependencies that are necessary to run the toolchain.

</Callout>
Expand All @@ -154,11 +151,11 @@ sudo ./environment/os/install_deps.sh install TOOLCHAIN_RUN_DEPS
sudo ./environment/os/debian-11.sh install TOOLCHAIN_RUN_DEPS
```

For ARM look for `-arm` in script name (e.g. on Ubuntu 22.04 with Apple M processor):
For ARM look for `-arm` in script name (e.g. on Ubuntu 24.04 with Apple M processor):

```bash
sudo ./environment/os/ubuntu-22.04-arm.sh check TOOLCHAIN_RUN_DEPS
sudo ./environment/os/ubuntu-22.04-arm.sh install TOOLCHAIN_RUN_DEPS
sudo ./environment/os/ubuntu-24.04-arm.sh check TOOLCHAIN_RUN_DEPS
sudo ./environment/os/ubuntu-24.04-arm.sh install TOOLCHAIN_RUN_DEPS
```
</Callout>

Expand All @@ -169,7 +166,7 @@ prepared toolchain activation script that is also described in the toolchain
You must activate the toolchain every time you want to compile Memgraph:

```bash
source /opt/toolchain-v5/activate
source /opt/toolchain-v6/activate
```

In case you need to deactivate the toolchain, you can run:
Expand Down