summaryrefslogtreecommitdiffstats
path: root/src/seastar/doc/building-fedora.md
blob: 6c771a7eeeda59cc5a1647a0072550ec5ce38f44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Building Seastar on Fedora

### Building seastar on Fedora 21 and later

Installing required packages:
```
sudo ./install-dependencies.sh
```

You then need to run the following to create the "build.ninja" file:
```
./cooking.sh -r dev -i c-ares -i fmt
```
Note it is enough to run this once, and you don't need to repeat it before
every build.

Then finally:
```
ninja-build -C build
```

In case there are compilation issues, especially like ```g++: internal compiler error: Killed (program cc1plus)``` try giving more memory to gcc, either by limiting the amount of threads ( -j1 ) and/or allowing at least 4g ram to your machine