Go based buildbot to build official Archlinux repos with x86-64 feature levels, -O3 and LTO
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Giovanni Harting 4570c2b3f6
disabled nakedret
2 months ago
ent updated deps; regen ent 3 months ago
tpl fixed wrong color 5 months ago
.gitignore rename config to dist 1 year ago
.golangci.yaml disabled nakedret 2 months ago
LICENSE added license and service file 2 years ago
README.md fixed double meaning of new gpl-2-and-later 5 months ago
alhp.service minor fixes 6 months ago
config_dist.yaml more follow-up fixes for new build-queue 11 months ago
flags.yaml added missing -C 8 months ago
go.mod added golangci linter; code cleanup 2 months ago
go.sum added golangci linter; code cleanup 2 months ago
main.go added golangci linter; code cleanup 2 months ago
package.go added golangci linter; code cleanup 2 months ago
pkgbuild.go some docs 12 months ago
proto_package.go added golangci linter; code cleanup 2 months ago
proto_package_test.go refactor utils.go, error handling 12 months ago
rm_chroot.py followup fixes for new weighted build-queue 12 months ago
utils.go added golangci linter; code cleanup 2 months ago



Buildbot for Archlinux-based repos build with different x86-64 feature levels, -O3 and LTO.

⚠️ NVIDIA graphic users using the proprietary driver is highly recommended reading the FAQ about Linux kernel modules ⚠️


1. Check your system for support

Important: Before you enable any of these repos, check if your system supports the feature level you want to enable (e.g. x86-64-v3). If you don't check beforehand, you might be unable to boot your system anymore and need to downgrade any package that you may have upgraded.

Check which feature-levels your CPU supports with

/lib/ld-linux-x86-64.so.2 --help

Example output snippet for a system supporting up to x86-64-v3:

Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)

2. Install keyring & mirrorlist

Install alhp-keyring and alhp-mirrorlist from AUR.

Example with yay:

yay -S alhp-keyring alhp-mirrorlist

alhp-keyring provides the current signing keys used by ALHP, alhp-mirrorlist a selection of mirrors.

3. Choose a mirror (optional)

Edit /etc/pacman.d/alhp-mirrorlist and comment out/in mirrors you want to have enabled/disabled. Per default selected is a cloudflare-based mirror which should provide decent speed worldwide.

Note: Only alhp.harting.dev is hosted by ALHP directly. If you have problems with a mirror, open an issue at the mirrorlist repo.

4. Modify /etc/pacman.conf

Add the appropriate repos above your regular Archlinux repos.

Example for x86-64-v3:

Include = /etc/pacman.d/alhp-mirrorlist

Include = /etc/pacman.d/alhp-mirrorlist

Include = /etc/pacman.d/alhp-mirrorlist

Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

Replace x86-64-v3 with the x86-64 feature level you want to enable.

ALHP only builds for x86-64-v3 and x86-64-v2 at the moment (list is subject to change). You can see all available repositories here.

5. Update package database and upgrade:

pacman -Suy

How to disable

To disable ALHP remove all x86-64-vX entries in /etc/pacman.conf and remove alhp-keyring and alhp-mirrorlist.

After that you can refresh pacmans databases and downgrade all packages like:

pacman -Suuy



Enabled for all packages build after 04 Nov 2021 12:07:00 UTC. More details. LTO status is visible per package on the package status page.

Linux Kernel

ALHP provides patched kernels (except linux-zen, which has these patches already applied) that build with -march=x86-64-vN. Thanks to graysky for providing these patches.

Directly linked kernel modules

Above-mentioned patching breaks all directly linked modules like nvidia (not nvidia-dkms) or virtualbox-host-modules-arch (not virtualbox-host-dkms). Their respective dkms-variant is not affected. This issue is being tracked in #68, a solution is being worked on.


You want to mirror ALHP? You are welcome to do so, see alhp-mirrorlist for how to become one.

What packages are built

Packages excluded from building (besides all 'any' architecture packages) are being listed in issue #16. Also package status page.

Debug symbols

ALHP provides a debuginfod instance under debuginfod.harting.dev.

To use it, have debuginfod installed on your system and add it to your DEBUGINFOD_URLS with:

echo "https://debuginfod.harting.dev" > /etc/debuginfod/alhp.urls


I appreciate any money you want to throw my way, but donations are strictly optional. Donations are primarily used to pay for server costs. Also consider donating to the Archlinux Team, without their work ALHP would not be possible.

Donate using Liberapay

This project including all of its source files is released under the terms of the GNU General Public License version 2 (or any later version). See LICENSE for details.