mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-28 21:50:23 +00:00
499924ead8
This is to potentinally reduce issues with folks using different versions of libbpf at runtime. This also: - makes static linking of libbpf the default - adds steps in `meson setup` to fetch libbpf and make it
9 lines
345 B
Meson
9 lines
345 B
Meson
custom_target('scx_rusty',
|
|
output: '@PLAINNAME@.__PHONY__',
|
|
input: 'Cargo.toml',
|
|
command: [cargo, 'build', '--manifest-path=@INPUT@', '--target-dir=@OUTDIR@',
|
|
cargo_build_args],
|
|
env: cargo_env,
|
|
depends: [libbpf],
|
|
build_by_default: true)
|