aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzlim <zlim.lnx@gmail.com>2018-09-13 10:38:48 -0700
committeryonghong-song <ys114321@gmail.com>2018-09-13 10:38:48 -0700
commit17f797d9946d77f8d43d57d2e40155c5be65b8de (patch)
tree054d4164b127fd35748dc2c6de7c9dcdeff8d98a
parentbfbf17ea425c087b110854ac881c351c6802f1fe (diff)
downloadbcc-17f797d9946d77f8d43d57d2e40155c5be65b8de.zip
bcc-17f797d9946d77f8d43d57d2e40155c5be65b8de.tar.gz
bcc-17f797d9946d77f8d43d57d2e40155c5be65b8de.tar.bz2
Enable Ubuntu/arm64 deb packaging (#1968)
* Bump ubuntu docker build to bionic Fixes build dependency for arm64 Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com> * Add Build-Depends: dh-python Fixes build dependency issue observed on bionic/arm64: dh: unable to load addon python3: Can't locate Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the Debian::Debhelper::Sequence::python3 module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/aarch64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/aarch64-linux-gnu/perl-base) at (eval 9) line 1. BEGIN failed--compilation aborted at (eval 9) line 1. Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com> * Enable arm64 deb packaging LLVM6.0 is minimum version required for arm64 build. [PR#1512] [PR#1512] https://github.com/iovisor/bcc/pull/1512 Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
-rw-r--r--Dockerfile.ubuntu2
-rw-r--r--debian/control12
2 files changed, 7 insertions, 7 deletions
diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu
index df539da..71d025d 100644
--- a/Dockerfile.ubuntu
+++ b/Dockerfile.ubuntu
@@ -1,4 +1,4 @@
-FROM ubuntu:xenial
+FROM ubuntu:bionic
MAINTAINER Brenden Blanco <bblanco@gmail.com>
diff --git a/debian/control b/debian/control
index a0fcf18..5143a42 100644
--- a/debian/control
+++ b/debian/control
@@ -4,18 +4,18 @@ Section: misc
Priority: optional
Standards-Version: 3.9.5
Build-Depends: debhelper (>= 9), cmake,
- libllvm3.7 | libllvm3.8 | libllvm6.0,
- llvm-3.7-dev | llvm-3.8-dev | llvm-6.0-dev,
- libclang-3.7-dev | libclang-3.8-dev | libclang-6.0-dev,
- clang-format | clang-format-3.7 | clang-format-3.8 | clang-format-6.0,
+ libllvm3.7 [!arm64] | libllvm3.8 [!arm64] | libllvm6.0,
+ llvm-3.7-dev [!arm64] | llvm-3.8-dev [!arm64] | llvm-6.0-dev,
+ libclang-3.7-dev [!arm64] | libclang-3.8-dev [!arm64] | libclang-6.0-dev,
+ clang-format | clang-format-3.7 [!arm64] | clang-format-3.8 [!arm64] | clang-format-6.0,
libelf-dev, bison, flex, libfl-dev, libedit-dev, zlib1g-dev, git,
python (>= 2.7), python-netaddr, python-pyroute2, luajit,
libluajit-5.1-dev, arping, inetutils-ping | iputils-ping, iperf, netperf,
- ethtool, devscripts, python3
+ ethtool, devscripts, python3, dh-python
Homepage: https://github.com/iovisor/bcc
Package: libbcc
-Architecture: amd64
+Architecture: all
Depends: libc6, libstdc++6, libelf1
Description: Shared Library for BPF Compiler Collection (BCC)
Shared Library for BPF Compiler Collection to control BPF programs