Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable

Former-commit-id: 9f33822083b02d3d19e1ff6f8c3d98cfd3cd3509
This commit is contained in:
John Sully 2019-03-26 20:39:56 -04:00
commit 83fc032d06

View File

@ -60,6 +60,10 @@ Building KeyDB
KeyDB can be compiled and is tested for use on Linux. KeyDB currently relies on SO_REUSEADDR's load balancing behavior which is available only in Linux. When we support marshalling connections across threads we plan to support other operating systems such as FreeBSD. KeyDB can be compiled and is tested for use on Linux. KeyDB currently relies on SO_REUSEADDR's load balancing behavior which is available only in Linux. When we support marshalling connections across threads we plan to support other operating systems such as FreeBSD.
Install dependencies:
% sudo apt install build-essential nasm autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev
Compiling is as simple as: Compiling is as simple as:
% make % make
@ -218,12 +222,12 @@ Run the following commands for a full source download and build:
``` ```
git clone git@github.com:JohnSully/KeyDB.git git clone git@github.com:JohnSully/KeyDB.git
docker run -it --rm `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make docker run -it --rm -v `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make
``` ```
Then you have fresh binaries built, you can also pass any other options to the make command above after the word make. E.g. Then you have fresh binaries built, you can also pass any other options to the make command above after the word make. E.g.
```docker run -it --rm `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make MAllOC=memkind``` ```docker run -it --rm -v `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make MAllOC=memkind```
The above commands will build you binaries in the src directory. Standard `make install` without Docker command will work after if you wish to install The above commands will build you binaries in the src directory. Standard `make install` without Docker command will work after if you wish to install