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 * C++ 17 capable C++ compiler
* libuv >= 1.27.0 * libuv >= 1.27.0
* libsodium >= 1.0.18 * libsodium >= 1.0.18
* gcovr (if generating test coverage with gcc) * libunbound
* libzmq
* sqlite3
### Linux ### Linux
@ -71,9 +73,9 @@ build:
$ sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev pkg-config $ 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 $ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network $ cd loki-network
$ mkdir build $ mkdir build
$ cd build $ cd build
$ cmake .. $ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make -j$(nproc) $ make -j$(nproc)
install: install:
@ -84,14 +86,14 @@ install:
build: build:
make sure you have cmake, libuv and xcode command line tools installed make sure you have cmake, libuv and xcode command line tools installed
$ git clone --recursive https://github.com/loki-project/loki-network $ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network $ cd loki-network
$ mkdir build $ mkdir build
$ cd build $ cd build
$ cmake .. $ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make -j$(nproc) $ make -j$(nproc)
install: install:
$ sudo make install $ sudo make install
@ -106,16 +108,16 @@ additional build requirements:
* cpack * cpack
setup: setup:
$ sudo apt install build-essential cmake git pkg-config mingw-w64 nsis $ sudo apt install build-essential cmake git pkg-config mingw-w64 nsis
building: building:
$ git clone --recursive https://github.com/loki-project/loki-network $ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network $ cd loki-network
$ mkdir build-windows $ mkdir build-windows
$ cd 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 .. $ cpack -D CPACK_MONOLITHIC_INSTALL=1 -G NSIS ..
### Solaris 2.10+ ### Solaris 2.10+
@ -146,7 +148,7 @@ install:
build: 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 $ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network $ cd loki-network
$ mkdir build $ mkdir build

@ -67,20 +67,25 @@ Requerimientos de compilación:
* GNU Make * GNU Make
* CMake * CMake
* Compilador C++ que pueda usar C++ 17 * Compilador C++ que pueda usar C++ 17
* gcovr (para generar la covertura de prueba en gcc) * gcovr (para generar la covertura de prueba en gcc)
* libuv >= 1.27.0 * libuv >= 1.27.0
* libsodium >= 1.0.18 * libsodium >= 1.0.18
* libcurl * libunbound
* libzmq
* sqlite3
### Linux ### Linux
compilando: compilando:
$ sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev $ sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev pkg-config
$ git clone https://github.com/loki-project/loki-network $ git clone --recursive https://github.com/loki-project/loki-network
$ cd loki-network $ cd loki-network
$ make $ mkdir build
$ cd build
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make
instalando: instalando:
@ -97,9 +102,12 @@ esto coloca el paquete compilado en `../`
compilando: compilando:
este seguro que usted tiene cmake y las herramientas de terminal de xcode ya instaladas este seguro que usted tiene cmake y las herramientas de terminal de xcode ya instaladas
$ git clone https://github.com/loki-project/loki-network $ git clone https://github.com/loki-project/loki-network
$ cd loki-network $ cd loki-network
$ mkdir build
$ cd build
$ cmake ..
$ make -j8 $ make -j8
instalando: instalando:
@ -159,9 +167,12 @@ PENDIENTE: agregar instrucciones para pkgsrc
compilando: compilando:
# pkg_add curl cmake git (opcional: ninja ccache) # 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 $ cd loki-network
$ gmake -j8 $ mkdir build
$ cd build
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make
instalando (root): instalando (root):
@ -172,9 +183,12 @@ instalando (root):
compilando: compilando:
$ pkg install cmake git curl libuv-1.27.0 libsodium $ 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 $ cd loki-network
$ gmake -j8 $ mkdir build
$ cd build
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
$ make
instalando (root): instalando (root):

Loading…
Cancel
Save