Skip to content

Commit

Permalink
Merge pull request raspberrypi#60 from sched-ext/rust_nightly
Browse files Browse the repository at this point in the history
scx: Don't specify nightly rustup as dependency
  • Loading branch information
htejun authored Oct 12, 2023
2 parents fbac810 + 8ce9d1e commit e23cb83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/sched_ext/README
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ is actively working on adding a BPF backend compiler as well, but are still
missing some features such as BTF type tags which are necessary for using
kptrs.

2. rustup nightly
2. rust >= 1.70.0

Rusty's user space load balancing component is written in Rust, and uses
nightly features. You'll need to use the nightly build from rustup in order to
compile it.
scx_rusty's user space load balancing component is written in Rust, and uses
features present in the rust toolchain >= 1.70.0. You should be able to use the
stable build from rustup.

There are other requirements as well, such as make, but these are the main /
non-trivial ones.

Compiling the schedulers
------------------------

Once you have your toolchain setup, you can compile the schedulers as follows:
Once you have your toolchain setup, you can compile the schedulers using make:

$ make CC=clang LLVM=1 -j
$ make -j

See Documentation/scheduler/sched-ext.rst for a description of the config
options required to compile a sched_ext kernel.
Expand Down

0 comments on commit e23cb83

Please sign in to comment.