CachyOS packages with performance optimizations
### How to add this repository:
```
sudo curl -Lo /tmp/Paul.key https://download.opensuse.org/repositories/home:/paulcarroty:/cachyos-x86_64-v3/Arch/x86_64/home_paulcarroty_cachyos-x86_64-v3_Arch.key
sudo pacman-key --add /tmp/Paul.key
sudo pacman-key --lsign-key 49b6f2d63209fda7
printf '\n[home_paulcarroty_cachyos-x86_64-v3_Arch]\nSigLevel = Optional TrustAll\nServer = https://download.opensuse.org/repositories/home:/paulcarroty:/cachyos-x86_64-v3/Arch/x86_64/\n' | sudo tee -a /etc/pacman.conf
```
### How to use the offline Cargo cache:
##### From an extracted source directory, with Cargo.toml and Cargo.lock:
```
rm -rf /tmp/cargo-home
mkdir -p /tmp/cargo-home
CARGO_HOME=/tmp/cargo-home cargo fetch --locked
tar -C /tmp -czf cargo-home.tar.gz cargo-home
sha256sum cargo-home.tar.gz
```
##### PKGBUILD
```
build() {
export CARGO_HOME="$srcdir/cargo-home"
export CARGO_TARGET_DIR=target
# Other build environment setup here
cargo build --release --frozen
}
```
| Name | Changed |
|---|
Comments 0