1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 03:27:04 +09:00

Revert "Remove zlib from requirements script and instruction files (#105419)" (#105449)

This reverts commit 3ec6286e99.
This commit is contained in:
Jan Kotas 2024-07-24 21:07:11 -07:00 committed by GitHub
parent 3ec6286e99
commit f6b4960fd2
Signed by: github
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View file

@ -47,6 +47,7 @@ Install the following packages for the toolchain:
* liblttng-ust-dev
* libssl-dev
* libkrb5-dev
* zlib1g-dev
* ninja-build (optional, enables building native code with ninja instead of make)
**NOTE**: If you have an Ubuntu version older than 22.04 LTS, or Debian version older than 12, don't install `cmake` using `apt` directly. Follow the note written down below.
@ -54,7 +55,7 @@ Install the following packages for the toolchain:
```bash
sudo apt install -y cmake llvm lld clang build-essential \
python-is-python3 curl git lldb libicu-dev liblttng-ust-dev \
libssl-dev libkrb5-dev ninja-build
libssl-dev libkrb5-dev zlib1g-dev ninja-build
```
**NOTE**: As of now, Ubuntu's `apt` only has until CMake version 3.16.3 if you're using Ubuntu 20.04 LTS (less in older Ubuntu versions), and version 3.18.4 in Debian 11 (less in older Debian versions). This is lower than the required 3.20, which in turn makes it incompatible with the repo. For this case, we can use the `snap` package manager or the _Kitware APT feed_ to get a new enough version of CMake.
@ -98,12 +99,13 @@ Install the following packages for the toolchain:
* libicu-devel
* openssl-devel
* krb5-devel
* zlib-devel
* lttng-ust-devel
* ninja-build (optional, enables building native code with ninja instead of make)
```bash
sudo dnf install -y cmake llvm lld lldb clang python curl git libicu-devel openssl-devel \
krb5-devel lttng-ust-devel ninja-build
krb5-devel zlib-devel lttng-ust-devel ninja-build
```
### Gentoo