Package Details: cachyos-ananicy-rules-git 20260326.r1990.g40e7b0d-1

Git Clone URL: https://aur.archlinux.org/cachyos-ananicy-rules-git.git (read-only, click to copy)
Package Base: cachyos-ananicy-rules-git
Description: CachyOS - ananicy-rules
Upstream URL: https://github.com/CachyOS/ananicy-rules
Licenses: GPL-3.0-only
Groups: cachyos
Conflicts: cachyos-ananicy-rules
Provides: cachyos-ananicy-rules
Replaces: ananicy-rules-git
Submitter: barbuk
Maintainer: barbuk
Last Packager: barbuk
Votes: 13
Popularity: 0.93
First Submitted: 2023-06-14 13:03 (UTC)
Last Updated: 2026-04-01 11:50 (UTC)

Dependencies (2)

Required by (3)

Sources (1)

Latest Comments

1 2 Next › Last »

barbuk commented on 2026-04-01 11:51 (UTC)

Thanks for the different feedback, highly appreciated. Package has been updated.

ilovemikael commented on 2026-04-01 06:55 (UTC) (edited on 2026-04-01 06:56 (UTC) by ilovemikael)

heyo, you unfortunately made a mistake in fixing the provides/conflicts: "${pkgname%-bin}" must be changed to "${pkgname%-git}". that is all, have a nice day/evening (depending on from where you're reading) =).

asyync1024 commented on 2026-03-28 10:26 (UTC) (edited on 2026-03-28 10:26 (UTC) by asyync1024)

Hello! I have found that there are several problems in your PKGBUILD:

  • No LICENSE installed.
  • Wrong LICENSE type, correct is GPL-3.0-only
  • Wrong provides, conflicts and replaces.

Replaces is enough for ananicy-rules-git, means it shouldn't be included in conflicts and provides.cachyos-ananicy-rules must be removed from replaces, since this package conflicts it, not replaces it. And ananicy-git should be removed from conflicts, since it's ananicy itself, not a rule set.

I have created a gist in case you can't find the time to test this, comes with some formatting improvements: https://gist.github.com/asyync1024/2759d04bbc7e25ab3df16913393b764c

Thanks!

asyync1024 commented on 2026-03-21 05:07 (UTC)

@brikler That is not clang itself, it's the language server, clangd. See https://clangd.llvm.org/

brikler commented on 2026-03-18 08:46 (UTC) (edited on 2026-03-18 08:46 (UTC) by brikler)

@asyync1024 in newer version is this problem solved (for clang)

/etc/ananaicy.d/00-types.types

# Type: Service
{ "type": "Service", "nice": 10, "ioclass": "best-effort", "ionice": 6 , "latency_nice": 10 }

/etc/ananicy.d/00-default/clangd.rules

# https://github.com/clangd/clangd
{ "name": "clangd", "type": "Service" }
{ "name": "ion.clangd.main", "type": "Service" }

asyync1024 commented on 2026-03-17 11:12 (UTC)

@brikler This is an upstream issue, I had opened a PR but it got rejected as the rules caused regressions in phoronix-test-suite.

I have a gist with a patch that you can use to add compiler flags, though there may be bugs in the linker rules, ld, mold, lld work fine but I haven't used gold.

https://gist.github.com/asyync1024/271df13570a9c2e3fd92bf242a911006

brikler commented on 2024-10-02 16:10 (UTC)

clang isn't "nice" as expected ;)

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     ZEIT+ BEFEHL                                                                
  74316 tom        8 -12  339020 170420  68712 R  87,7   1,1   0:02.64 clang                                                                 
  74320 tom        8 -12  338012 169624  68648 R  86,7   1,1   0:02.61 clang                                                                 
  74368 tom        8 -12  246960 101264  67184 R  16,9   0,6   0:00.51 clang                                                                 
  74376 tom        8 -12  245056  99700  67268 R  15,6   0,6   0:00.47 clang                                                                 
  74380 tom        8 -12  242348  94272  66980 R  13,3   0,6   0:00.40 clang                                                                 
  74387 tom        8 -12  239892  91580  66720 R  11,0   0,6   0:00.33 clang                                                                 
  74388 tom        8 -12  370644  89196  81260 S   6,6   0,6   0:00.20 ld.lld  

should clang and linker run with so a high priority?

barbuk commented on 2024-04-29 10:42 (UTC)

Thanks for the feedback @Takumi. I've updated the package.

Takumi commented on 2024-04-29 03:40 (UTC) (edited on 2024-04-29 06:22 (UTC) by Takumi)

please add this line.

This line will not overwrite the configuration file when upgrading, will give it a .pacnew extension

ref: https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave

--- PKGBUILD.bak    2024-04-29 12:36:16.096087667 +0900
+++ PKGBUILD    2024-04-29 12:37:02.902757885 +0900
@@ -16,6 +16,7 @@
 replaces=('ananicy-rules-git' 'cachyos-ananicy-rules')
 provides=('ananicy-rules-git' 'cachyos-ananicy-rules')
 conflicts=('ananicy-rules-git' 'cachyos-ananicy-rules' 'ananicy-git')
+backup=(etc/ananicy.d/ananicy.conf)

 pkgver() {
   cd $_gitname

barbuk commented on 2023-10-12 06:17 (UTC)

This package depends on ananicy-cpp. Should ananicy-cpp / ananicy-cpp-git conflict with ananicy-git instead ?