pgo: full-inner: do not set LC_CTYPE=en_US.UTF-8

That locale may not exist. Instead, require the user/build script to
explicitly set an UTF-8 locale.

Document this in INSTALL.md, and in the bundled PKGBUILD.
This commit is contained in:
Daniel Eklöf 2021-10-02 14:43:02 +02:00
parent 9b0fb39951
commit 9389f337d0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 41 additions and 5 deletions

View file

@ -1,4 +1,29 @@
PGO=auto # auto|none|partial|full-current-session|full-headless-sway|full-headless-cage
# Select PGO (Performance Guided Optimizations) build type.
#
# - auto: choose best available option
#
# - none: disable PGO
#
# - full-current-session: run a “full” PGO build in an existing
# Wayland session. This will pop up a foot window running a script
# that generates random terminal output.
#
# - full-headless-sway: run a “full” PGO build inside a headless Sway
# instance. Requires Sway >= 1.7.
#
# - full-headless-cage: run a “full” PGO build inside a headless Cage
# instance. Requires cage to be installed. Will generate lots of
# Cage warnings, but seems to procude a fully working (and well
# optimized) foot build.
#
# - partial: run a “partial” PGO build. This requires neither a
# running Wayland session, nor an installed Wayland compositor.
#
# Note that “full-*” (which “auto” will prefer) requires an UTF-8
# locale. Either make sure LC_CTYPE is set to an UTF-8 locale, or do a
# “partial” PGO build (or disable PGO altoghether).
PGO=auto
pkgname=('foot-git' 'foot-terminfo-git')
pkgver=1.9.1