summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-06-07 08:32:27 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-07 09:50:26 +0200
commit2d38d56e291226f2379bee067dcd467e4929477f (patch)
tree64435e00a13411a7cae9fa7eaa80b58a797ad52a /Documentation
parent77f4f6e0dea39461d5a806f376455546df4e727d (diff)
downloadserenity-2d38d56e291226f2379bee067dcd467e4929477f.zip
Documentation: Add ccache and rsync to the packages to install
These aren't hard dependencies but make building and working with SerenityOS significantly faster.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/BuildInstructions.md20
1 files changed, 11 insertions, 9 deletions
diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md
index 438bace435..d94149473f 100644
--- a/Documentation/BuildInstructions.md
+++ b/Documentation/BuildInstructions.md
@@ -40,31 +40,31 @@ Make sure you have all the dependencies installed (`ninja` is optional, but is f
#### Debian / Ubuntu
```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
```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
```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
```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
```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
@@ -88,6 +88,8 @@ stdenv.mkDerivation {
libmpc
e2fsprogs
patch
+ ccache
+ rsync
# Example Build-time Additional Dependencies
pkgconfig
@@ -121,7 +123,7 @@ apk add build-base
apk add qemu qemu-system-i386 qemu-img qemu-ui-gtk
# 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
@@ -130,7 +132,7 @@ Make sure you have all the dependencies installed:
```console
# 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
brew install e2fsprogs m4 autoconf automake libtool
@@ -174,7 +176,7 @@ Notes:
### OpenBSD prerequisites
```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:
@@ -186,7 +188,7 @@ $ doas pkg_add coreutils qemu sudo
### FreeBSD prerequisites
```console
-$ pkg install bash coreutils git gmake ninja sudo
+$ pkg install bash coreutils git gmake ninja sudo gmp mpc mpfr ccache rsync
```
### Windows prerequisites