forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.OpenBSD
40 lines (30 loc) · 906 Bytes
/
README.OpenBSD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Target OS: OpenBSD 6.6 amd64
1. Install necessary packages
-----------------------------
pkg_add git m4 curl cmake gmake autoconf automake
export AUTOMAKE_VERSION=XXX
export AUTOCONF_VERSION=YYY
2. Download & build tarantool source code
-----------------------------------------
git clone git://github.com/tarantool/tarantool.git
cd tarantool
git submodule update --init --recursive
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_BUNDLED_LIBCURL=OFF ..
gmake -j
3. Set up python 2.7
--------------------
Install testing dependences either from packages or from pip.
3.1. From packages:
-------------------
pkg_add python-2.7.16 py-gevent py-yaml py-msgpack
3.2. From pip:
--------------
pkg_add py-virtualenv
virtualenv .venv
source .venv/bin/activate
pip install -r ../test-run/requirements.txt
4. Run tarantool test suite
---------------------------
gmake test
-- EOF