Build script for archlinux instructionset enabled repos.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Giovanni Harting ed150e0433 added deprecation notice 1 year ago
.gitignore updated .gitignore 1 year ago
LICENSE Initial commit 2 years ago added deprecation notice 1 year ago
alhp.service initial commit 2 years ago
config.yaml reverted previous blacklist changes 1 year ago
makepkg.tmpl added tensorflow to blacklist 1 year ago fixed truncate 1 year ago fixed truncate 1 year ago

Deprecation notice

This was replaced with ALHP.GO, please open any issues or PRs there.


Build script for archlinux instructionset enabled repos. All packages are build with -march= and -O3. Some packages will not build with -O3, they will just be provided from the official repos as usual.

Check your system for support

Important: Before you enable any of these repos, check if your system supports x86-64-v3. You can do that with /lib/ --help. 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.

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)

Enable Repos

To enable these complement repos you need to add them above the regular repos in /etc/pacman.conf

Example pacman.conf

Server =$repo/os/$arch/

Server =$repo/os/$arch/

Server =$repo/os/$arch/

Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

Replace x86-64-v3 with your cpu-set. More information about all available options on this gcc page. Currently, only builds for x86-64-v3 (list is subject to change). You can see all available repositories here.

After finished adding the repos to pacman.conf you need to import and sign the used pgp key:


pacman-key --keyserver --recv-keys 0D4D2FDAF45468F3DDF59BEDE3D0D2CD3952E298

Local sign:

pacman-key --lsign-key 0D4D2FDAF45468F3DDF59BEDE3D0D2CD3952E298

Update package database:

pacman -Sy

Replace packages

Following command reinstalls all packages found in the repo extra-x86-64-v3 that are already installed. Replace extra-x86-64-v3 with whatever repo you want to install.

pacman -S $(pacman -Sl x86-64-v3 | grep installed | cut -f 2 -d " " | perl -pe 's/\R/ /g;')

This is only needed once, new updates are coming from this new repo then, as usual.