From 3ba429cd210506c8da08359df1b34e46ead1a97c Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Thu, 17 Aug 2023 11:45:49 +0200 Subject: [PATCH] set cpu count in makepkg config at build time --- .config/pacman/makepkg.conf | 2 -- .config/pacman/makepkg.conf.cgt | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 .config/pacman/makepkg.conf create mode 100644 .config/pacman/makepkg.conf.cgt diff --git a/.config/pacman/makepkg.conf b/.config/pacman/makepkg.conf deleted file mode 100644 index 0071a29..0000000 --- a/.config/pacman/makepkg.conf +++ /dev/null @@ -1,2 +0,0 @@ -MAKEFLAGS="-j$(nproc)" -BUILDENV+=('!check') diff --git a/.config/pacman/makepkg.conf.cgt b/.config/pacman/makepkg.conf.cgt new file mode 100644 index 0000000..66795d4 --- /dev/null +++ b/.config/pacman/makepkg.conf.cgt @@ -0,0 +1,2 @@ +MAKEFLAGS="-j<% opt.system "nproc" %>" +BUILDENV+=('!check')