smartnic / superopt

A superoptimizing compiler for packet-processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Superopt

Installation: Linux (Ubuntu 18.04) and macOS (10.15.2)

git clone https://github.com/Z3Prover/z3.git
cd z3
git checkout 1c7d27bdf31ca038f7beee28c41aa7dbba1407dd
python scripts/mk_make.py
cd build
make
sudo make install
  • Install superopt. Keep superopt folder and z3 folder in the same directory level
cd ../../
git clone https://github.com/smartnic/superopt.git
cd superopt
make main_ebpf.out

Todo: add more instructions soon

About

A superoptimizing compiler for packet-processing

License:MIT License


Languages

Language:C++ 92.2%Language:Python 4.4%Language:Makefile 2.6%Language:C 0.7%Language:Shell 0.1%