Package Details: scx-scheds 1.0.1-1

Git Clone URL: https://aur.archlinux.org/scx-scheds.git (read-only, click to copy)
Package Base: scx-scheds
Description: Sched_ext schedulers
Upstream URL: https://github.com/sched-ext/scx
Licenses: GPL-2.0-only
Submitter: sir_lucjan
Maintainer: sir_lucjan (ptr1337)
Last Packager: ptr1337
Votes: 3
Popularity: 0.163179
First Submitted: 2024-01-02 14:13 (UTC)
Last Updated: 2024-07-16 13:48 (UTC)

Latest Comments

1 2 Next › Last »

solarisfire commented on 2024-07-19 13:50 (UTC)

Yes that fixes it.

Is it not worth putting something like:

# Check if the file /usr/bin/sccache exists
if [ -f /usr/bin/sccache ]; then
  # Set the CC variable to clang and run the meson setup command
  CC=clang meson setup build -Dbuildtype=release
fi

in the PKGBUILD?

sir_lucjan commented on 2024-07-19 13:05 (UTC)

Please take a look: https://github.com/sched-ext/scx?tab=readme-ov-file#building-specific-schedulers-and-binary-locations

It's sccache bug.

sir_lucjan commented on 2024-07-19 13:05 (UTC)

Please take a look: https://github.com/sched-ext/scx?tab=readme-ov-file#building-specific-schedulers-and-binary-locations

It's sccache bug.

solarisfire commented on 2024-07-19 13:02 (UTC)

See full build log at: https://gitlab.solarisfire.com/-/snippets/1

sir_lucjan commented on 2024-07-19 13:02 (UTC)

I cannot confirm with makepkg.

solarisfire commented on 2024-07-19 12:53 (UTC)

Won't build on an up-to-date arch install:

Found ninja-1.12.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja                                                                                                                
INFO: calculating backend command to run: /usr/bin/ninja -C /home/solarisfire/.cache/yay/scx-scheds/src/scx/build
ninja: Entering directory `/home/solarisfire/.cache/yay/scx-scheds/src/scx/build'
[2/33] Generating libbpf with a custom command
FAILED: cc_cflags_probe.c.__PHONY__ 
/home/solarisfire/.cache/yay/scx-scheds/src/scx/meson-scripts/build_libbpf /usr/bin/jq /usr/bin/make /home/solarisfire/.cache/yay/scx-scheds/src/scx/build/libbpf/src 16
error: unexpected argument '-d' found

  tip: to pass '-d' as a value, use '-- -d'

danisztls commented on 2024-01-19 16:25 (UTC)

Indeed it works both with rust and rustup from the official repository after running 'rustup update stable'. Sorry I didn't know rustup was mean't to install rust locally.

sir_lucjan commented on 2024-01-19 08:38 (UTC)

==> Making package: scx-scheds 0.1.5-5 (pią, 19 sty 2024, 09:38:10)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
ninja: Entering directory `/home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/build'
[4/4] Generating scheds/rust/scx_rustland/scx_rustland with a custom command (wrapped by meson to set env)
Installing scheds/c/scx_simple to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/bin
Installing scheds/c/scx_qmap to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/bin
Installing scheds/c/scx_central to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/bin
Installing scheds/c/scx_pair to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/bin
Installing scheds/c/scx_flatcg to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/bin
Installing scheds/c/scx_userland to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/bin
Installing scheds/c/scx_nest to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/bin
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_central.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_flatcg.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_nest.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_pair.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_qmap.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_rustland.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_rusty.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_simple.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/scx_userland.service to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/usr/lib/systemd/system
Installing /home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/services/journald@sched-ext.conf to /home/lucjan/Pobrane/scx-scheds/pkg/scx-scheds/etc/systemd/journald@sched-ext.conf.d
Running custom install script '/home/lucjan/Pobrane/scx-scheds/src/scx-0.1.5/meson-scripts/install_rust_user_scheds'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/bin/scx_simple
usr/bin/scx_qmap
usr/bin/scx_central
usr/bin/scx_pair
usr/bin/scx_flatcg
usr/bin/scx_userland
usr/bin/scx_nest
usr/bin/scx_layered
usr/bin/scx_rustland
usr/bin/scx_rusty
==> Creating package "scx-scheds"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Signing package(s)...
  -> Created signature file scx-scheds-0.1.5-5-x86_64_v3.pkg.tar.zst.sig.
==> Finished making: scx-scheds 0.1.5-5 (pią, 19 sty 2024, 09:38:17)
'makepkg -Rsr --sign' time: 8,332s, cpu: 90%
lucjan at cachyos ~/Pobrane/scx-scheds 9:38:17    
❯ pacman -Qs rustup                                                                                    
local/rustup 1.26.0-5.1
    The Rust toolchain installer

sir_lucjan commented on 2024-01-19 08:14 (UTC)

Besides, rustc is also provided by rust from Arch repo.

sir_lucjan commented on 2024-01-19 08:12 (UTC)

I built this on rust from the Arch repo without any problems. I will soon let you know how the case is with rustup from the Arch repo.