summaryrefslogtreecommitdiffstats
path: root/src/seastar/doc/building-fedora.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/doc/building-fedora.md')
-rw-r--r--src/seastar/doc/building-fedora.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/seastar/doc/building-fedora.md b/src/seastar/doc/building-fedora.md
new file mode 100644
index 000000000..c4a0965bb
--- /dev/null
+++ b/src/seastar/doc/building-fedora.md
@@ -0,0 +1,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 directory:
+```
+./configure.py --mode=release
+```
+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/release
+```
+
+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