mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-29 22:20: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
353 B
Meson
9 lines
353 B
Meson
custom_target('scx_rustland_core',
|
|
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)
|