update readme build info

pull/1379/head
Jeff 4 years ago
parent 503a92c992
commit 3445716fce

@ -62,7 +62,9 @@ Build requirements:
* C++ 17 capable C++ compiler
* libuv >= 1.27.0
* libsodium >= 1.0.18
* gcovr (if generating test coverage with gcc)
* libunbound
* libzmq
* sqlite3
### Linux
@ -73,7 +75,7 @@ build:
$ cd loki-network
$ mkdir build
$ cd build
$ cmake ..
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make -j$(nproc)
install:
@ -89,7 +91,7 @@ build:
$ cd loki-network
$ mkdir build
$ cd build
$ cmake ..
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make -j$(nproc)
install:
@ -115,7 +117,7 @@ building:
$ cd loki-network
$ mkdir build-windows
$ cd build-windows
$ cmake -DNATIVE_BUILD=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_PACKAGE=ON -DCMAKE_TOOLCHAIN_FILE='../contrib/cross/mingw64.cmake' -DWITH_TESTS=OFF -DCMAKE_CROSSCOMPILING=ON ..
$ cmake -DBUILD_STATIC_DEPS=ON -DNATIVE_BUILD=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_PACKAGE=ON -DCMAKE_TOOLCHAIN_FILE='../contrib/cross/mingw64.cmake' -DWITH_TESTS=OFF -DCMAKE_CROSSCOMPILING=ON ..
$ cpack -D CPACK_MONOLITHIC_INSTALL=1 -G NSIS ..
### Solaris 2.10+
@ -146,7 +148,7 @@ install:
build:
$ pkg install cmake git curl libuv libsodium pkgconf
$ pkg install cmake git curl libuv libsodium pkgconf libunbound
$ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network
$ mkdir build

@ -71,15 +71,20 @@ Requerimientos de compilación:
* gcovr (para generar la covertura de prueba en gcc)
* libuv >= 1.27.0
* libsodium >= 1.0.18
* libcurl
* libunbound
* libzmq
* sqlite3
### Linux
compilando:
$ sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev
$ git clone https://github.com/loki-project/loki-network
$ sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev pkg-config
$ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network
$ mkdir build
$ cd build
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make
instalando:
@ -100,6 +105,9 @@ compilando:
$ git clone https://github.com/loki-project/loki-network
$ cd loki-network
$ mkdir build
$ cd build
$ cmake ..
$ make -j8
instalando:
@ -159,9 +167,12 @@ PENDIENTE: agregar instrucciones para pkgsrc
compilando:
# pkg_add curl cmake git (opcional: ninja ccache)
$ git clone https://github.com/loki-project/loki-network
$ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network
$ gmake -j8
$ mkdir build
$ cd build
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make
instalando (root):
@ -172,9 +183,12 @@ instalando (root):
compilando:
$ pkg install cmake git curl libuv-1.27.0 libsodium
$ git clone https://github.com/loki-project/loki-network
$ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network
$ gmake -j8
$ mkdir build
$ cd build
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make
instalando (root):

Loading…
Cancel
Save