mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-28 21:50:23 +00:00
Merge pull request #326 from sirlucjan/readme-update2
README: Adding dependencies to allow compilation
This commit is contained in:
commit
54bc9489e9
15
README.md
15
README.md
@ -151,6 +151,20 @@ $ meson install -C build
|
||||
|
||||
Notes: `meson setup` will also clone both libbpf and bpftool repos and `meson compile` will build them both.
|
||||
|
||||
Make sure you have dependencies installed that allow you to compile from source!
|
||||
|
||||
##### Ubuntu/Debian
|
||||
|
||||
```
|
||||
apt install gcc-multilib build-essential libssl-dev
|
||||
```
|
||||
|
||||
##### Arch Linux
|
||||
|
||||
```
|
||||
pacman -S base-devel
|
||||
```
|
||||
|
||||
### Static linking against system libbpf
|
||||
Note, depending on your system configuration `libbpf_a` and `libbpf_h` may be
|
||||
in different directories. The system libbpf version needs to match the minimum
|
||||
@ -300,7 +314,6 @@ $ meson setup build -Dcargo_home=$HOME/cargo-deps -Doffline=true -Dbuildtype=rel
|
||||
$ meson compile -C build
|
||||
```
|
||||
|
||||
|
||||
### Working with Rust Sub-projects
|
||||
|
||||
Each Rust sub-project is its own self-contained cargo project. When buildng
|
||||
|
Loading…
Reference in New Issue
Block a user