Welcome to archlinux.club!


A performance-optimized package repository for Arch Linux.
You can improve system responsiveness, stability, graphics, and gaming performance.

Check out our package repositories:

Take care, minimal Linux kernel version is 5.10.1!


Do not click! Do not click!

Automatic Installation

Install script adds the repository, checks installed packages, and replaces it with optimized +clang version.

install.sh signature

gpg --keyserver hkps://keys.openpgp.org --recv-keys C4C1F715B2B66B95

wget "https://archlinux.club/install.sh"{,.sig}

gpg --verify install.sh.sig install.sh && \
  chmod +x install.sh && \
  ./install.sh

Manual Installation

To add package repository please edit your /etc/pacman.conf and add strings below before [core]. It has to be before [core] so glibc and libgcrypt from our repository are preferred.


Intel Haswell+ and AMD Zen optimized repository

[archlinux-club]
Server = https://archlinux.club/x86_64/

AMD Ryzen Zen 2+ optimized repository

[archlinux-club]
Server = https://archlinux.club/zen2/

Update system and package database

pacman -Syu

Package list

pacman -Sql archlinux-club


Return to default packages

yes | sudo pacman -S zlib llvm llvm-libs lld clang compiler-rt libclc $(pacman -Qqs "\+clang" | sed -e 's/\+clang//' | sed -v 'zlib-ng')

Build Linux Kernel with LTO Optimization

Please read kernel.org llvm on how to build Linux kernel with LLVM first. You have to set LLVM_IAS=1 to use LTO. I recommended ThinLTO instead FullLTO. General architecture-dependent option --> Link Time Optimization (LTO) and then Clang ThinLTO (EXPERIMENTAL). You can also enable strong stack protection. It's highly recommended! General architecture-dependent options put * against Stack Protector buffer overflow detection and Strong Stack Protector. You can automate kernel build with my kbuild script.

export BUILD_FLAGS=(
  LLVM=1
  LLVM_IAS=1
  CC=clang
  CXX=clang++
  LD=ld.lld
  AR=llvm-ar
  NM=llvm-nm
  STRIP=llvm-strip
  READELF=llvm-readelf
  HOSTCC=clang
  HOSTCXX=clang++
  HOSTAR=llvm-ar
  HOSTLD=ld.lld
  OBJCOPY=llvm-objcopy
  OBJDUMP=objdump
)
tar -xf linux-5.12.14.tar.xz -C /tmp
cd /tmp/linux-5.12.14
zcat /proc/config.gz > .config
make ${BUILD_FLAGS[*]} oldconfig
make ${BUILD_FLAGS[*]} -j$(nproc) nconfig
make ${BUILD_FLAGS[*]} -j$(nproc)
make ${BUILD_FLAGS[*]} -j$(nproc) modules
sudo make ${BUILD_FLAGS[*]} -j$(nproc) modules_install
sudo cp -v arch/x86_64/boot/bzImage /boot/vmlinuz-mykernel
sudo ${BUILD_FLAGS[*]} dkms install 'MY_DKMS_MODULE' -k 5.12.14-mykernel