Changeset View
Changeset View
Standalone View
Standalone View
doc/build-unix.md
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | tuned to conserve memory with additional CXXFLAGS: | ||||
cmake -GNinja .. -DCXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" | cmake -GNinja .. -DCXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" | ||||
Dependency Build Instructions: Ubuntu & Debian | Dependency Build Instructions: Ubuntu & Debian | ||||
---------------------------------------------- | ---------------------------------------------- | ||||
Build requirements: | Build requirements: | ||||
sudo apt-get install bsdmainutils build-essential libssl-dev libevent-dev ninja-build python3 | sudo apt-get install bsdmainutils build-essential libssl-dev libevent-dev ninja-build python3 | ||||
On Debian Buster (10) or Ubuntu 19.04 and later: | **Installing cmake:** | ||||
On Debian Buster (10), `cmake` should be installed from the backports repository: | |||||
echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list | |||||
sudo apt-get update | |||||
sudo apt-get -t buster-backports install cmake | |||||
On Ubuntu 20.04 and later: | |||||
sudo apt-get install cmake | sudo apt-get install cmake | ||||
On previous Ubuntu versions, the `cmake` package is too old and needs to be installed from the Kitware APT repository: | On previous Ubuntu versions, the `cmake` package is too old and needs to be installed from the Kitware APT repository: | ||||
sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget | sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget | ||||
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - | wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - | ||||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |