mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 20:40:21 +01:00
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.
(cherry picked from commit 52ea426b81)
This commit is contained in:
parent
114ce3cb81
commit
38ee0c7834
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue