Skip to content

ostis-dev/sc-machine

Repository files navigation

SC-machine

codecov

Documentation

http://ostis-dev.github.io/sc-machine/

Clone repository

git clone git@github.com:ostis-dev/sc-machine.git
cd sc-machine
git submodule update --init --recursive

Build on Ubuntu

Dependencies

Install python dependencies:

Ubuntu 18.04+

sudo apt install python3-pip
pip3 install -r requirements.txt

Ubuntu 18.04+

sudo apt install librocksdb-dev libglib2.0-dev qtbase5-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev make cmake antlr4 gcc g++ llvm-7 libcurl4-openssl-dev libclang-7-dev

Make

mkdir build
cd build
cmake ..
make

Build on Linux Mint

Dependencies

Install python dependencies:

Linux Mint 19

sudo apt install python3-pip python3-setuptools python3-wheel
pip3 install -r requirements.txt

Linux Mint 20

sudo apt install python3-pip
pip3 install -r requirements.txt

Linux Mint 19+

sudo apt install librocksdb-dev libglib2.0-dev qtbase5-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev make cmake antlr gcc g++ llvm-7 libcurl4-openssl-dev libclang-7-dev

Make

mkdir build
cd build
cmake ..
make

Build on OSX

Dependencies

  • Install dependencies with brew:
brew install boost glib llvm antlr antlr4-cpp-runtime pkgconfig rocksdb
  • Install python 3.8
  • Install python packages:
pip3.8 install -r requirements.txt

Make

mkdir build
cd build
cmake ..
make