diff options
author | Joel <joel@joelfernandes.org> | 2019-10-03 12:28:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-03 12:28:02 -0400 |
commit | ce42990a9a3f35042c747787c554b457e342c77c (patch) | |
tree | 9f23efe62195746d53a97a5264c0ed03efa9360d | |
parent | 0cf0a15aef13c14cf1e5604ffe52e198c0958612 (diff) | |
parent | 93adaae59cfcea9368db9adb068966f37a72e09b (diff) | |
download | adeb-ce42990a9a3f35042c747787c554b457e342c77c.tar.gz |
Merge pull request #31 from Ayrx/master
Build bcc for Python 3
-rwxr-xr-x | bcc/build-bcc.sh | 5 | ||||
-rw-r--r-- | packages/bcc | 1 | ||||
-rw-r--r-- | packages/others | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/bcc/build-bcc.sh b/bcc/build-bcc.sh index de08d3e..5dcb5fa 100755 --- a/bcc/build-bcc.sh +++ b/bcc/build-bcc.sh @@ -8,5 +8,10 @@ rm -rf build && mkdir -p build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=clang-7 -DCMAKE_CXX_COMPILER=clang++-7 make -j4 make install +cmake -DPYTHON_CMD=python3 .. +pushd src/python/ +make +make install +popd cd .. rm -rf build diff --git a/packages/bcc b/packages/bcc index ee46093..969d8bc 100644 --- a/packages/bcc +++ b/packages/bcc @@ -20,6 +20,7 @@ python clang-7 python-netaddr python-pyroute2 +python3-distutils " INSTALL_BCC=1 diff --git a/packages/others b/packages/others new file mode 100644 index 0000000..7f0c7fe --- /dev/null +++ b/packages/others @@ -0,0 +1,3 @@ +PACKAGES+="\ +xz-utils +" |