mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
bpf: test with GCC BPF compiler on opensuse
This commit is contained in:
parent
e4ab2db9df
commit
e4086f7dc9
@ -1135,6 +1135,7 @@ else
|
||||
endif
|
||||
elif bpf_compiler == 'gcc'
|
||||
bpf_gcc = find_program('bpf-gcc',
|
||||
'bpf-none-gcc',
|
||||
required : true,
|
||||
version : '>= 13.1.0')
|
||||
bpf_gcc_found = bpf_gcc.found()
|
||||
|
@ -176,6 +176,12 @@ if [ ! -f "$BUILDDIR"/build.ninja ]; then
|
||||
)
|
||||
fi
|
||||
|
||||
if grep -q '^ID="opensuse' /etc/os-release; then
|
||||
CONFIGURE_OPTS+=(
|
||||
-Dbpf-compiler=gcc
|
||||
)
|
||||
fi
|
||||
|
||||
( set -x; meson setup "$BUILDDIR" "${CONFIGURE_OPTS[@]}" )
|
||||
fi
|
||||
|
||||
|
@ -36,6 +36,7 @@ Packages=
|
||||
BuildPackages=
|
||||
audit-devel
|
||||
bpftool
|
||||
cross-bpf-gcc13
|
||||
dbus-1-devel
|
||||
docbook-xsl-stylesheets
|
||||
fdupes
|
||||
|
Loading…
Reference in New Issue
Block a user