Created
July 31, 2015 16:01
-
-
Save tuxology/0150a6a40c4dad0bd888 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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