1#!/bin/bash 2# This script should run within a bcc checkout 3 4spath=$( cd "$(dirname "$0")" ; pwd -P ) 5cd $spath 6 7rm -rf build && mkdir -p build && cd build 8cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0 9make -j4 10make install 11cd .. 12rm -rf build 13