forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: use install-dependencies.sh on docs
Added CentOS7, Ubuntu15.10/16.04 on docs since it's supported on Scylla, dropped Fedora 20 from docs since it's outdated. Signed-off-by: Takuya ASADA <[email protected]> Message-Id: <[email protected]>
- Loading branch information
Showing
4 changed files
with
20 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Building Seastar on CentOS | ||
|
||
### Building seastar on CentOS 7 | ||
|
||
Installing required packages: | ||
``` | ||
sudo ./install-dependencies.sh | ||
``` | ||
|
||
To compile Seastar explicitly using gcc 5, use: | ||
``` | ||
./configure.py --compiler=/opt/scylladb/bin/g++ --static-stdc++ | ||
ninja-build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,14 @@ | ||
## Building Seastar on Ubuntu | ||
|
||
### Building seastar on Ubuntu 14.04 | ||
### Building seastar on Ubuntu 14.04/15.10/16.04 | ||
|
||
Installing required packages: | ||
``` | ||
sudo apt-get install libaio-dev ninja-build ragel libhwloc-dev libnuma-dev libpciaccess-dev libcrypto++-dev libboost-all-dev libxen-dev libxml2-dev xfslibs-dev | ||
sudo ./install-dependencies.sh | ||
``` | ||
|
||
Installing GCC 4.9 for gnu++1y. Unlike the Fedora case above, this will | ||
not harm the existing installation of GCC 4.8, and will install an | ||
additional set of compilers, and additional commands named gcc-4.9, | ||
g++-4.9, etc., that need to be used explicitly, while the "gcc", "g++", | ||
etc., commands continue to point to the 4.8 versions. | ||
|
||
``` | ||
# Install add-apt-repository | ||
sudo apt-get install software-properties-common python-software-properties | ||
# Use it to add Ubuntu's testing compiler repository | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
sudo apt-get update | ||
# Install gcc 4.9 and relatives | ||
sudo apt-get install g++-4.9 | ||
# Also set up necessary header file links and stuff (?) | ||
sudo apt-get install gcc-4.9-multilib g++-4.9-multilib | ||
To compile Seastar explicitly using gcc 5, use: | ||
``` | ||
|
||
To compile Seastar explicitly using gcc 4.9, use: | ||
``` | ||
./configure.py --compiler=g++-4.9 | ||
./configure.py --compiler=g++-5 | ||
ninja | ||
``` | ||
|