Skip to content

Commit

Permalink
vagrant: avoid building useless bcc things
Browse files Browse the repository at this point in the history
We just need the libs to link bpftrace, the rest is just wasting cpu
cycles.
  • Loading branch information
fbs committed May 13, 2021
1 parent 44b2da3 commit 6bc01ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ fi
git clone https://github.com/iovisor/bcc.git
mkdir -p bcc/build
cd bcc/build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local ..
git checkout v0.19.0
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local \
-DENABLE_EXAMPLES=0 -DENABLE_TESTS=0 -DENABLE_MAN=0
make && sudo make install && sudo ldconfig
EOF

Expand Down

0 comments on commit 6bc01ca

Please sign in to comment.