forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update libvirt script to use fedora22
* Install into lib64 instead of lib * Pull 4.2 kernel from rawhide instead of building it Signed-off-by: Brenden Blanco <[email protected]>
- Loading branch information
Brenden Blanco
committed
Jul 3, 2015
1 parent
87697ae
commit 3c8c6de
Showing
4 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,9 +33,9 @@ vim | |
bc | ||
kexec-tools | ||
cmake | ||
clang | ||
libstdc++-static | ||
python-netaddr | ||
python-futures | ||
%end | ||
|
||
%post --log=/root/anaconda-post.log | ||
|
@@ -46,6 +46,8 @@ chkconfig network on | |
|
||
chkconfig ntpd on | ||
|
||
dnf config-manager --add-repo=http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedora-rawhide-kernel-nodebug.repo | ||
|
||
yum -y clean metadata | ||
yum -y update | ||
|
||
|
@@ -108,15 +110,11 @@ cat > /usr/local/bin/bcc-setup <<'DELIM__' | |
set -e -x | ||
numcpu=$(grep -c ^processor /proc/cpuinfo) | ||
|
||
repo=ssh://[email protected]/iovisor/bcc.git | ||
git ls-remote $repo 2>&1 > /dev/null | ||
if [[ $? -ne 0 ]]; then | ||
repo=https://<%= @github_access_token %>@github.com/iovisor/bcc.git | ||
fi | ||
git clone $repo | ||
git clone https://github.com/iovisor/bcc.git | ||
mkdir bcc/build/ | ||
cd bcc/build/ | ||
cmake .. | ||
export PATH=/opt/local/llvm/bin:$PATH | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr | ||
make -j$numcpu | ||
make test | ||
DELIM__ | ||
|
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
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