mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
update readme build info
This commit is contained in:
parent
503a92c992
commit
3445716fce
2 changed files with 37 additions and 21 deletions
24
readme.md
24
readme.md
|
@ -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
|
||||
|
||||
|
@ -71,9 +73,9 @@ build:
|
|||
$ 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
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
|
||||
$ make -j$(nproc)
|
||||
|
||||
install:
|
||||
|
@ -84,14 +86,14 @@ install:
|
|||
|
||||
build:
|
||||
make sure you have cmake, libuv and xcode command line tools installed
|
||||
|
||||
|
||||
$ git clone --recursive https://github.com/loki-project/loki-network
|
||||
$ cd loki-network
|
||||
$ mkdir build
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
|
||||
$ make -j$(nproc)
|
||||
|
||||
|
||||
install:
|
||||
|
||||
$ sudo make install
|
||||
|
@ -106,16 +108,16 @@ additional build requirements:
|
|||
* cpack
|
||||
|
||||
setup:
|
||||
|
||||
|
||||
$ sudo apt install build-essential cmake git pkg-config mingw-w64 nsis
|
||||
|
||||
|
||||
building:
|
||||
|
||||
$ git clone --recursive https://github.com/loki-project/loki-network
|
||||
$ 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
|
||||
|
|
34
readme_es.md
34
readme_es.md
|
@ -67,20 +67,25 @@ Requerimientos de compilación:
|
|||
|
||||
* GNU Make
|
||||
* CMake
|
||||
* Compilador C++ que pueda usar C++ 17
|
||||
* Compilador C++ que pueda usar C++ 17
|
||||
* 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
|
||||
$ make
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON
|
||||
$ make
|
||||
|
||||
instalando:
|
||||
|
||||
|
@ -97,9 +102,12 @@ esto coloca el paquete compilado en `../`
|
|||
|
||||
compilando:
|
||||
este seguro que usted tiene cmake y las herramientas de terminal de xcode ya instaladas
|
||||
|
||||
|
||||
$ 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…
Reference in a new issue