Peter Jung pushed to branch main at Arch Linux / Packaging / Packages /
scx-scheds
Commits:
7116275e by Peter Jung at 2025-12-03T17:46:37+01:00
upgpkg: 1.0.19-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = scx-scheds
pkgdesc = sched_ext schedulers and tools
- pkgver = 1.0.18
+ pkgver = 1.0.19
pkgrel = 1
url = https://github.com/sched-ext/scx
arch = x86_64
@@ -9,7 +9,6 @@ pkgbase = scx-scheds
makedepends = git
makedepends = llvm
makedepends = llvm-libs
- makedepends = meson
makedepends = python
makedepends = rust
depends = bash
@@ -24,7 +23,7 @@ pkgbase = scx-scheds
depends = zlib
options = !lto
backup = etc/default/scx
- source = git+https://github.com/sched-ext/scx#tag=v1.0.18
- sha256sums =
88af7ab79f457006f8cf40491df09d75eede71dae1e9feea2e21f3b7b8f25817
+ source = git+https://github.com/sched-ext/scx#tag=v1.0.19
+ sha256sums =
cfa494a0499580d57bff4b1eecd055756c0ab8943ee176c84ec62ebb2afbf2c5
pkgname = scx-scheds
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgname=scx-scheds
_gitname=scx
-pkgver=1.0.18
+pkgver=1.0.19
pkgrel=1
pkgdesc='sched_ext schedulers and tools'
url='https://github.com/sched-ext/scx'
@@ -28,30 +28,41 @@ makedepends=(
git
llvm
llvm-libs
- meson
python
rust
)
options=(!lto)
source=("git+https://github.com/sched-ext/scx#tag=v${pkgver}")
-sha256sums=('88af7ab79f457006f8cf40491df09d75eede71dae1e9feea2e21f3b7b8f25817')
+sha256sums=('cfa494a0499580d57bff4b1eecd055756c0ab8943ee176c84ec62ebb2afbf2c5')
prepare() {
cd $_gitname
+ export RUSTUP_TOOLCHAIN=stable
+ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd $_gitname
- arch-meson . build -D openrc=disabled \
- -D libbpf_a=disabled \
- -D bpftool=disabled \
- -D b_lto=true \
- -D b_lto_mode=thin \
- -D force_meson=true \
- -D cargo_home="$srcdir"/scx
- meson compile -C build
+ export RUSTUP_TOOLCHAIN=stable
+ export CARGO_TARGET_DIR=target
+ cargo build \
+ --release \
+ --frozen \
+ --all-features \
+ --workspace \
+ --exclude scx_rlfifo \
+ --exclude scx_wd40 \
+ --exclude scx_mitosis \
+ --exclude scxcash \
+ --exclude xtask \
+ --exclude vmlinux_docify \
+ --exclude scx_arena_selftests
}
package() {
cd $_gitname
- meson install -C build --destdir "${pkgdir}"
+
+ # Install all built executables (skip .so and .d files)
+ find target/release \
+ -maxdepth 1 -type f -executable ! -name '*.so' \
+ -exec install -Dm755 -t "$pkgdir/usr/bin/" {} +
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/scx-scheds/-/commit/7116275ec30fc6999f829c51b4143dde9cdff54c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/scx-scheds/-/commit/7116275ec30fc6999f829c51b4143dde9cdff54c
You're receiving this email because of your account on gitlab.archlinux.org.