mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 08:50:37 +00:00
Meta: Unbreak serenity.sh run aarch64
after 918f7cb4a8
This commit is contained in:
parent
95ff65e211
commit
f1d1418256
Notes:
sideshowbarker
2024-07-18 04:34:27 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/f1d14182566 Pull-request: https://github.com/SerenityOS/serenity/pull/9857 Reviewed-by: https://github.com/linusg ✅
1 changed files with 6 additions and 5 deletions
11
Meta/run.sh
11
Meta/run.sh
|
@ -123,13 +123,14 @@ if command -v wslpath >/dev/null; then
|
|||
fi
|
||||
|
||||
[ -z "$SERENITY_QEMU_CPU" ] && SERENITY_QEMU_CPU="max"
|
||||
[ -z "$SERENITY_CPUS" ] && SERENITY_CPUS="2"
|
||||
if [ "$SERENITY_CPUS" -le 8 ]; then
|
||||
# Explicitly disable x2APIC so we can test it more easily
|
||||
SERENITY_QEMU_CPU="$SERENITY_QEMU_CPU,-x2apic"
|
||||
fi
|
||||
|
||||
if [ "$SERENITY_ARCH" != "aarch64" ]; then
|
||||
[ -z "$SERENITY_CPUS" ] && SERENITY_CPUS="2"
|
||||
if [ "$SERENITY_CPUS" -le 8 ]; then
|
||||
# Explicitly disable x2APIC so we can test it more easily
|
||||
SERENITY_QEMU_CPU="$SERENITY_QEMU_CPU,-x2apic"
|
||||
fi
|
||||
|
||||
if [ -z "$SERENITY_SPICE" ] && "${SERENITY_QEMU_BIN}" -chardev help | grep -iq qemu-vdagent; then
|
||||
SERENITY_SPICE_SERVER_CHARDEV="-chardev qemu-vdagent,clipboard=on,mouse=off,id=vdagent,name=vdagent"
|
||||
elif "${SERENITY_QEMU_BIN}" -chardev help | grep -iq spicevmc; then
|
||||
|
|
Loading…
Reference in a new issue