Package Details: cpuset-git r80.662fe6f-1

Git Clone URL: https://aur.archlinux.org/cpuset-git.git (read-only, click to copy)
Package Base: cpuset-git
Description: Cpuset is a Python application to make using the cpusets facilities in the Linux kernel easier.
Upstream URL: https://github.com/lpechacek/cpuset/
Licenses: GPL2
Conflicts: cpuset
Provides: cpuset
Submitter: gamanakis
Maintainer: gamanakis
Last Packager: gamanakis
Votes: 5
Popularity: 0.000004
First Submitted: 2018-02-23 02:28 (UTC)
Last Updated: 2022-02-19 23:48 (UTC)

Latest Comments

ginnokami commented on 2022-02-07 01:55 (UTC) (edited on 2022-02-07 02:24 (UTC) by ginnokami)

You need git in makedepends=() to build this in chroot.

qubidt commented on 2020-12-19 00:32 (UTC)

PKGBUILD diff for merging the PR I mentioned previously:

diff --git a/PKGBUILD b/PKGBUILD
index 1c3e914..48a5f5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Jon Gjengset <jon@thesquareplanet.com>, Saren Arterius <saren@wtako.net>
 # Maintainer: George Amanakis<gamanakis@gmail.com>
 pkgname=cpuset-git
-pkgver=r76.b5a70c1
+pkgver=r78.d1dbe6a
 pkgver() {
    cd "${pkgname%-git}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@@ -18,12 +18,15 @@ conflicts=('cpuset')
 # 0001-remove-exclusivity.patch removes setting cpu_exclusive and mem_exclusive to 1,
 # thus enabling cpuset to run even when a machine.slice has been created and cannot be modified
 source=('git+https://github.com/lpechacek/cpuset'
-   '0001-remove-exclusivity.patch')
+   '0001-remove-exclusivity.patch'
+   'https://github.com/lpechacek/cpuset/pull/36.patch')
 md5sums=('SKIP'
-         'f3dc8cdca7977027c5683ce51462b6fa')
+         'f3dc8cdca7977027c5683ce51462b6fa'
+         'ea194fe3d92926dd841c07c9cb9e8d6d')

 package() {
    cd "$srcdir/${pkgname%-git}"
    patch -p1 -i ../0001-remove-exclusivity.patch
+   patch -p1 -i ../36.patch
    python setup.py install --root="$pkgdir/" --optimize=1
 }

qubidt commented on 2020-12-19 00:25 (UTC)

for anyone getting an error when running cset set -l -r, you should merge this PR

the PR patch:

From a4b6b275d0a43d2794ab9e82922d3431aeea9903 Mon Sep 17 00:00:00 2001
From: Markus <ekkwam@gmail.com>
Date: Tue, 25 Aug 2020 18:56:34 +0300
Subject: [PATCH] Fix invalid parentheses

---
 cpuset/commands/set.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpuset/commands/set.py b/cpuset/commands/set.py
index c71f37f..7d0d382 100644
--- a/cpuset/commands/set.py
+++ b/cpuset/commands/set.py
@@ -484,7 +484,7 @@ def set_details(name, indent=None, width=None, usehex=False):
     if width != 0 and len(tst) > width:
         target = width - len(out)
         patha = set.path[:len(set.path)//2-3]
-        pathb = set.path[len(set.path//2):]
+        pathb = set.path[len(set.path)//2:]
         patha = patha[:target//2-3]
         pathb = pathb[-target//2:]
         out += patha + '...' + pathb

wioo commented on 2020-05-11 10:43 (UTC)

You need git in makedepends=() to build this in chroot.

eb3095 commented on 2019-05-22 08:02 (UTC) (edited on 2019-05-22 08:03 (UTC) by eb3095)

For those experiencing the following error with the "cset shield" command,

cset: --> failed to create shield, hint: do other cpusets exist?
cset: **> [Errno 22] Invalid argument

I found a patch and created a new patch for this here, the patch is fix-shield.patch,

https://github.com/eb3095/cpuset-git