Skip to content

Instantly share code, notes, and snippets.

@tuxology
Created July 31, 2015 16:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tuxology/0150a6a40c4dad0bd888 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e -x
git clone https://github.com/svinota/pyroute2.git
(cd pyroute2; make install)
numcpu=$(grep -c ^processor /proc/cpuinfo)
git clone https://github.com/iovisor/bcc.git
mkdir bcc/build/
cd bcc/build/
export PATH=/opt/local/llvm/bin:$PATH
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make -j$numcpu
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment