mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 12:10:24 +00:00
Merge pull request #165 from sched-ext/reduce-rust-build-load
build: limit the maximum amount of parallel cargo build
This commit is contained in:
commit
a7b39f24e2
@ -130,6 +130,11 @@ endif
|
||||
cargo_env = environment()
|
||||
cargo_env.set('BPF_CLANG', bpf_clang.full_path())
|
||||
|
||||
#
|
||||
# Limit the maximum amount of parallel builds for the Rust schedulers.
|
||||
#
|
||||
cargo_env.set('CARGO_BUILD_JOBS', '1')
|
||||
|
||||
foreach flag: bpf_base_cflags
|
||||
cargo_env.append('BPF_BASE_CFLAGS', flag, separator: ' ')
|
||||
endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user