diff options
author | James Hilliard <james.hilliard1@gmail.com> | 2023-05-29 23:01:34 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-30 02:27:56 +0200 |
commit | 4a7a13b5a0ab18670cf1463bb16c494ee20418ea (patch) | |
tree | 99f4d05a77bd811ccfa62185022036d532eb0e68 | |
parent | resolvectl: drop extra colon (diff) | |
download | systemd-4a7a13b5a0ab18670cf1463bb16c494ee20418ea.tar.xz systemd-4a7a13b5a0ab18670cf1463bb16c494ee20418ea.zip |
bpf: stabilize GCC BPF support
Now that we have a GCC release which should support our bpf programs
lets set the minimum version and stabilize it.
-rw-r--r-- | meson.build | 3 | ||||
-rw-r--r-- | meson_options.txt | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 97622b6d97..dd5a0cff89 100644 --- a/meson.build +++ b/meson.build @@ -1134,10 +1134,9 @@ else clang_supports_bpf = run_command(clang, '-target', 'bpf', '--print-supported-cpus', check : false).returncode() == 0 endif elif bpf_compiler == 'gcc' - warning('GCC BPF Compiler support is experimental and not recommended.') bpf_gcc = find_program('bpf-gcc', required : true, - version : '>= 12.1.0') + version : '>= 13.1.0') bpf_gcc_found = bpf_gcc.found() endif diff --git a/meson_options.txt b/meson_options.txt index 04234c658b..46a74b7635 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -501,7 +501,7 @@ option('analyze', type: 'boolean', value: true, description : 'install systemd-analyze') option('bpf-compiler', type : 'combo', choices : ['clang', 'gcc'], - description: 'compiler used to build BPF programs, note: gcc is experimental') + description: 'compiler used to build BPF programs') option('bpf-framework', type : 'combo', choices : ['auto', 'true', 'false'], description: 'build BPF programs from source code in restricted C') |