diff options
Diffstat (limited to 'bcc/build-bcc.sh')
-rwxr-xr-x | bcc/build-bcc.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bcc/build-bcc.sh b/bcc/build-bcc.sh new file mode 100755 index 0000000..a3ddc83 --- /dev/null +++ b/bcc/build-bcc.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# This script should run within a bcc checkout + +spath=$( cd "$(dirname "$0")" ; pwd -P ) +cd $spath + +rm -rf build && mkdir -p build && cd build +cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0 +make -j4 +make install +cd .. +rm -rf build |