Package Details: scx-scheds-git 1.0.3.r72.g2f356bf-1

Git Clone URL: https://aur.archlinux.org/scx-scheds-git.git (read-only, click to copy)
Package Base: scx-scheds-git
Description: sched_ext schedulers and tools
Upstream URL: https://github.com/sched-ext/scx
Licenses: GPL-2.0-only
Conflicts: scx-scheds
Provides: scx-scheds
Submitter: ptr1337
Maintainer: ptr1337 (sir_lucjan)
Last Packager: ptr1337
Votes: 3
Popularity: 0.97
First Submitted: 2023-12-08 08:38 (UTC)
Last Updated: 2024-11-11 21:57 (UTC)

Required by (11)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

rpi2 commented on 2024-10-23 23:48 (UTC)

@kode54, without flag scx start, so any flags recommend?

kode54 commented on 2024-10-23 09:40 (UTC) (edited on 2024-10-23 09:41 (UTC) by kode54)

@rpi2: Those are example flags, not defaults. And apparently, they are not applicable to the current default scheduler, scx_bpfland.

You should be fine leaving the default of no flags at all.

rpi2 commented on 2024-10-23 09:13 (UTC)

default SCX_FLAGS='-s 20000 --lowlatency --primary-domain all', scx start fail.

Korialo commented on 2024-06-01 09:45 (UTC)

error: failed to create directory /root/.cargo/registry/cache/index.crates.io-6f17d22bba15001f

CARGO_HOME is your issue here, if you build in chroot you need to bind it to your user $CARGO_HOME so it doesn't fallback to /root/.cargo

kode54 commented on 2024-05-22 11:41 (UTC)

This fails to build with aurutils --chroot because the "package" step attempts to relink all the rust schedulers:

==> Entering fakeroot environment...
==> Starting package()...
ninja: Entering directory `/build/scx-scheds-git/src/scx/build'
[1/38] Generating libbpf with a custom command
[2/31] Generating bpftool_target with a custom command
[3/10] Generating rust/scx_rustland_core/scx_rustland_core with a custom command (wrapped by meson to set env)
FAILED: rust/scx_rustland_core/Cargo.toml.__PHONY__
env BPF_CLANG=/usr/bin/clang 'BPF_BASE_CFLAGS=-g -O2 -Wall -Wno-compare-distinct-pointer-types -D__TARGET_ARCH_x86 -mcpu=v3 -mlittle-endian -idirafter /usr/lib/clang/17/include -idirafter /usr/local/include -idirafter /usr/include' 'BPF_EXTRA_CFLAGS_PRE_INCL=-I/build/scx-scheds-git/src/scx/build/libbpf/src/usr/include -I/build/scx-scheds-git/src/scx/build/libbpf/include/uapi' 'RUSTFLAGS=-C relocation-model=pic -C link-args=-lelf -C link-args=-lz -C link-args=-lzstd -L /build/scx-scheds-git/src/scx/build/libbpf/src' MESON_SOURCE_ROOT=/build/scx-scheds-git/src/scx MESON_BUILD_ROOT=/build/scx-scheds-git/src/scx/build MESON_SUBDIR= 'MESONINTROSPECT=/usr/bin/meson introspect' /usr/bin/cargo build --manifest-path=../rust/scx_rustland_core/Cargo.toml --target-dir=rust/scx_rustland_core --quiet --release
error: failed to create directory `/root/.cargo/registry/cache/index.crates.io-6f17d22bba15001f`

Caused by:
  Permission denied (os error 13)
[4/10] Generating rust/scx_utils/scx_utils with a custom command (wrapped by meson to set env)
FAILED: rust/scx_utils/Cargo.toml.__PHONY__
env BPF_CLANG=/usr/bin/clang 'BPF_BASE_CFLAGS=-g -O2 -Wall -Wno-compare-distinct-pointer-types -D__TARGET_ARCH_x86 -mcpu=v3 -mlittle-endian -idirafter /usr/lib/clang/17/include -idirafter /usr/local/include -idirafter /usr/include' 'BPF_EXTRA_CFLAGS_PRE_INCL=-I/build/scx-scheds-git/src/scx/build/libbpf/src/usr/include -I/build/scx-scheds-git/src/scx/build/libbpf/include/uapi' 'RUSTFLAGS=-C relocation-model=pic -C link-args=-lelf -C link-args=-lz -C link-args=-lzstd -L /build/scx-scheds-git/src/scx/build/libbpf/src' MESON_SOURCE_ROOT=/build/scx-scheds-git/src/scx MESON_BUILD_ROOT=/build/scx-scheds-git/src/scx/build MESON_SUBDIR= 'MESONINTROSPECT=/usr/bin/meson introspect' /usr/bin/cargo build --manifest-path=../rust/scx_utils/Cargo.toml --target-dir=rust/scx_utils --quiet --release
error: failed to create directory `/root/.cargo/registry/cache/index.crates.io-6f17d22bba15001f`

Caused by:
  Permission denied (os error 13)
[5/10] Generating scheds/rust/scx_layered/scx_layered with a custom command (wrapped by meson to set env)
FAILED: scheds/rust/scx_layered/Cargo.toml.__PHONY__
env BPF_CLANG=/usr/bin/clang 'BPF_BASE_CFLAGS=-g -O2 -Wall -Wno-compare-distinct-pointer-types -D__TARGET_ARCH_x86 -mcpu=v3 -mlittle-endian -idirafter /usr/lib/clang/17/include -idirafter /usr/local/include -idirafter /usr/include' 'BPF_EXTRA_CFLAGS_PRE_INCL=-I/build/scx-scheds-git/src/scx/build/libbpf/src/usr/include -I/build/scx-scheds-git/src/scx/build/libbpf/include/uapi' 'RUSTFLAGS=-C relocation-model=pic -C link-args=-lelf -C link-args=-lz -C link-args=-lzstd -L /build/scx-scheds-git/src/scx/build/libbpf/src' MESON_SOURCE_ROOT=/build/scx-scheds-git/src/scx MESON_BUILD_ROOT=/build/scx-scheds-git/src/scx/build MESON_SUBDIR= 'MESONINTROSPECT=/usr/bin/meson introspect' /usr/bin/cargo build --manifest-path=../scheds/rust/scx_layered/Cargo.toml --target-dir=scheds/rust/scx_layered --quiet --release
error: failed to create directory `/root/.cargo/registry/cache/index.crates.io-6f17d22bba15001f`

Caused by:
  Permission denied (os error 13)
ninja: build stopped: subcommand failed.

kode54 commented on 2024-03-04 11:32 (UTC)

This will no longer build if ccache is even installed, even if it isn't enabled in makepkg.conf.