Commit 52ea426b authored by Thomas Haller's avatar Thomas Haller

build: disable eBPF by default

We have random failures to build on gitlab-ci. Something is wrong,
at least, eBPF is not working reliably. Disable it for now.
parent 0d16b037
Pipeline #29444 passed with stage
in 47 minutes and 40 seconds
......@@ -529,7 +529,8 @@ esac
AC_ARG_WITH(ebpf,
AS_HELP_STRING([--with-ebpf=yes|no|auto], [Build with eBPF support (default: auto)]),
[], [with_ebpf=auto])
if test "$with_ebpf" = "yes" -o "$with_ebpf" = "auto"; then
# 'auto' means 'false' because there are still some issues.
if test "$with_ebpf" = "yes" ; then
AC_CHECK_HEADER(linux/bpf.h, [have_ebpf=yes], [have_ebpf=no])
else
have_ebpf=no
......
......@@ -437,7 +437,8 @@ config_h.set10('HAVE_SELINUX', enable_selinux)
# eBPF support
ebpf_opt = get_option('ebpf')
if ebpf_opt == 'false'
# 'auto' means 'false', because there are still issues.
if ebpf_opt != 'true'
enable_ebpf = false
else
enable_ebpf = true
......
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