1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 12:25:07 +00:00

Documentation: Add ccache and rsync to the packages to install

These aren't hard dependencies but make building and working with
SerenityOS significantly faster.
This commit is contained in:
Gunnar Beutner 2021-06-07 08:32:27 +02:00 committed by Andreas Kling
parent 77f4f6e0de
commit 2d38d56e29

View file

@ -40,31 +40,31 @@ Make sure you have all the dependencies installed (`ninja` is optional, but is f
#### Debian / Ubuntu #### Debian / Ubuntu
```console ```console
sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs ninja-build qemu-system-i386 qemu-utils sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs ninja-build qemu-system-i386 qemu-utils ccache rsync
``` ```
#### Fedora #### Fedora
```console ```console
sudo dnf install binutils-devel curl cmake mpfr-devel libmpc-devel gmp-devel e2fsprogs ninja-build patch @"C Development Tools and Libraries" @Virtualization sudo dnf install binutils-devel curl cmake mpfr-devel libmpc-devel gmp-devel e2fsprogs ninja-build patch ccache rsync @"C Development Tools and Libraries" @Virtualization
``` ```
#### openSUSE #### openSUSE
```console ```console
sudo zypper install curl cmake mpfr-devel mpc-devel ninja gmp-devel e2fsprogs patch qemu-x86 qemu-audio-pa gcc gcc-c++ patterns-devel-C-C++-devel_C_C++ sudo zypper install curl cmake mpfr-devel mpc-devel ninja gmp-devel e2fsprogs patch qemu-x86 qemu-audio-pa gcc gcc-c++ ccache rsync patterns-devel-C-C++-devel_C_C++
``` ```
#### Arch Linux / Manjaro #### Arch Linux / Manjaro
```console ```console
sudo pacman -S --needed base-devel cmake curl mpfr libmpc gmp e2fsprogs ninja qemu qemu-arch-extra sudo pacman -S --needed base-devel cmake curl mpfr libmpc gmp e2fsprogs ninja qemu qemu-arch-extra ccache rsync
``` ```
#### ALT Linux #### ALT Linux
```console ```console
apt-get install curl cmake libmpc-devel gmp-devel e2fsprogs libmpfr-devel ninja-build patch gcc apt-get install curl cmake libmpc-devel gmp-devel e2fsprogs libmpfr-devel ninja-build patch gcc ccache rsync
``` ```
#### NixOS #### NixOS
@ -88,6 +88,8 @@ stdenv.mkDerivation {
libmpc libmpc
e2fsprogs e2fsprogs
patch patch
ccache
rsync
# Example Build-time Additional Dependencies # Example Build-time Additional Dependencies
pkgconfig pkgconfig
@ -121,7 +123,7 @@ apk add build-base
apk add qemu qemu-system-i386 qemu-img qemu-ui-gtk apk add qemu qemu-system-i386 qemu-img qemu-ui-gtk
# build tools (samurai is a drop-in replacement for ninja) # build tools (samurai is a drop-in replacement for ninja)
apk add cmake e2fsprogs grub-bios samurai mpc1-dev mpfr-dev gmp-dev apk add cmake e2fsprogs grub-bios samurai mpc1-dev mpfr-dev gmp-dev ccache rsync
``` ```
### macOS prerequisites ### macOS prerequisites
@ -130,7 +132,7 @@ Make sure you have all the dependencies installed:
```console ```console
# core # core
brew install coreutils qemu bash gcc@10 ninja cmake brew install coreutils qemu bash gcc@10 ninja cmake ccache rsync
# (option 1) fuse + ext2 # (option 1) fuse + ext2
brew install e2fsprogs m4 autoconf automake libtool brew install e2fsprogs m4 autoconf automake libtool
@ -174,7 +176,7 @@ Notes:
### OpenBSD prerequisites ### OpenBSD prerequisites
```console ```console
$ doas pkg_add bash cmake g++ gcc git gmake gmp ninja $ doas pkg_add bash cmake g++ gcc git gmake gmp ninja ccache rsync
``` ```
To use `ninja image` and `ninja run`, you'll need Qemu and other utilities: To use `ninja image` and `ninja run`, you'll need Qemu and other utilities:
@ -186,7 +188,7 @@ $ doas pkg_add coreutils qemu sudo
### FreeBSD prerequisites ### FreeBSD prerequisites
```console ```console
$ pkg install bash coreutils git gmake ninja sudo $ pkg install bash coreutils git gmake ninja sudo gmp mpc mpfr ccache rsync
``` ```
### Windows prerequisites ### Windows prerequisites