mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-26 11:30:22 +00:00
Merge pull request #212 from sched-ext/sccache
Doc & build: Warn about sccache
This commit is contained in:
commit
7b068d310a
@ -71,8 +71,9 @@ Include = /etc/pacman.d/cachyos-mirrorlist
|
||||
$ sudo pacman -Sy cachyos/linux-sched-ext cachyos/linux-sched-ext-headers cachyos/scx-scheds
|
||||
```
|
||||
|
||||
Note that the kernel installs as `/boot/vmlinuz-linux-sched-ext` along with the matching initramfs.
|
||||
Update the bootloader configuration to add the boot entry for the new kernel.
|
||||
:warning: The kernel installs as `/boot/vmlinuz-linux-sched-ext` along with
|
||||
the matching initramfs. Update the bootloader configuration to add the boot
|
||||
entry for the new kernel.
|
||||
|
||||
#### Setting Up Dev Environment
|
||||
|
||||
|
@ -192,6 +192,11 @@ $ meson setup build -Dbuildtype=release
|
||||
$ meson compile -C build scx_simple scx_rusty
|
||||
```
|
||||
|
||||
:warning: **If your system has `sccache` installed**: `meson` automatically
|
||||
uses `sccache` if available. However, `sccache` fails in one of the build
|
||||
steps. If you encounter this issue, disable `sccache` by specifying `CC`
|
||||
directly - `$ CC=clang meson setup build -Dbuildtype=release`.
|
||||
|
||||
You can also specify `-v` if you want to see the commands being used:
|
||||
|
||||
```
|
||||
|
@ -9,7 +9,7 @@ args=($out)
|
||||
|
||||
idx=0
|
||||
cc=${args[idx]}
|
||||
if [ "$cc" = "ccache" ]; then
|
||||
if [ "$cc" = "ccache" -o "$cc" = "sccache" ]; then
|
||||
idx=$((idx+1))
|
||||
cc="$cc ${args[idx]}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user