mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03:00
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.
This commit is contained in:
parent
e30b4c1357
commit
4a7a13b5a0
@ -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
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user