Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 859 Bytes

File metadata and controls

47 lines (34 loc) · 859 Bytes

Installation Prerequisites

Popcorn compiler toolchain

git clone git@github.com:ssrg-vt/popcorn-compiler.git
sudo ./install_compiler.py --install-all --threads 8

For more info, see https://github.com/ssrg-vt/popcorn-compiler/blob/main/INSTALL .

LLVM

git clone https://github.com/blackgeorge-boom/llvm-project

Musl toolchain

git clone git@github.com:systems-nuts/musl-stack-reloc.git
git checkout unasl

# Fix necessary variables inside install_musl.sh
# LLVM hash should be c6780392ecf34ebf67b011eac483ff6a1fd38dfc from:
# git clone https://github.com/blackgeorge-boom/llvm-project

./install_musl.sh

Stackmaps dump tool

cd stack-metadata
make clean
make

Run

cd <top_level>
cd layout/bubblesort
export PYTHONPATH="${PYTHONPATH}:<top_level>"
make clean
make stackmaps-dump