forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.FreeBSD
44 lines (31 loc) · 920 Bytes
/
README.FreeBSD
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
41
42
43
Target OS: FreeBSD 12.2 (RELEASE) and FreeBSD 13.0 (RELEASE)
1. Install necessary packages:
-------------
pkg install git cmake gmake readline icu libiconv
2. Download & build tarantool source code:
-------------
git clone https://github.com/tarantool/tarantool.git
cd tarantool
mkdir build && cd build
git submodule update --init --recursive
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
gmake
3. Set up python 3.8
-------------
Install testing dependences either from packages or from pip.
3.1. From packages:
-------------
pkg install python38 py38-yaml py38-six py38-gevent
3.2. From pip:
-------------
pkg install py38-virtualenv py38-pip
virtualenv .venv
source .venv/bin/activate
pip install -r ../test-run/requirements.txt
3.3. Fix python path if necessary
-------------
which python3 || ln -s /usr/local/bin/python3.8 /usr/local/bin/python3
4. Run tarantool test suite
-------------
gmake test
-- EOF