Commit 17f797d9 authored by zlim's avatar zlim Committed by yonghong-song

Enable Ubuntu/arm64 deb packaging (#1968)

* Bump ubuntu docker build to bionic

Fixes build dependency for arm64
Signed-off-by: default avatarZi 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: default avatarZi 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/1512Signed-off-by: default avatarZi Shen Lim <zlim.lnx@gmail.com>
parent bfbf17ea
FROM ubuntu:xenial FROM ubuntu:bionic
MAINTAINER Brenden Blanco <bblanco@gmail.com> MAINTAINER Brenden Blanco <bblanco@gmail.com>
......
...@@ -4,18 +4,18 @@ Section: misc ...@@ -4,18 +4,18 @@ Section: misc
Priority: optional Priority: optional
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Build-Depends: debhelper (>= 9), cmake, Build-Depends: debhelper (>= 9), cmake,
libllvm3.7 | libllvm3.8 | libllvm6.0, libllvm3.7 [!arm64] | libllvm3.8 [!arm64] | libllvm6.0,
llvm-3.7-dev | llvm-3.8-dev | llvm-6.0-dev, llvm-3.7-dev [!arm64] | llvm-3.8-dev [!arm64] | llvm-6.0-dev,
libclang-3.7-dev | libclang-3.8-dev | libclang-6.0-dev, libclang-3.7-dev [!arm64] | libclang-3.8-dev [!arm64] | libclang-6.0-dev,
clang-format | clang-format-3.7 | clang-format-3.8 | clang-format-6.0, 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, libelf-dev, bison, flex, libfl-dev, libedit-dev, zlib1g-dev, git,
python (>= 2.7), python-netaddr, python-pyroute2, luajit, python (>= 2.7), python-netaddr, python-pyroute2, luajit,
libluajit-5.1-dev, arping, inetutils-ping | iputils-ping, iperf, netperf, 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 Homepage: https://github.com/iovisor/bcc
Package: libbcc Package: libbcc
Architecture: amd64 Architecture: all
Depends: libc6, libstdc++6, libelf1 Depends: libc6, libstdc++6, libelf1
Description: Shared Library for BPF Compiler Collection (BCC) Description: Shared Library for BPF Compiler Collection (BCC)
Shared Library for BPF Compiler Collection to control BPF programs Shared Library for BPF Compiler Collection to control BPF programs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment