Closed xiota closed 5 months ago
You can use system clang if it is at version 18
You can use system clang if it is at version 18
extra/clang
is currently 16.0.6._system_clang=1
(forced default)I'm generally hesitant to include flags that aren't in the upstream extra/chromium
packaging.
@networkException Feel free to close this if you don't plan to enable PGO independently of extra/chromium
. I haven't decided whether it's worth submitting a PR to Arch.
- Arch
extra/clang
is currently 16.0.6.
Does Arch provide only one version at a time? Sorry, I didn't know that.
@PF4Public Arch Linux currently provides the following clang packages and versions:
extra/clang 16.0.6-2
extra/clang14 14.0.6-1
extra/clang15 15.0.7-2
clang17
and clang-git
are available from AUR. Someone will probably submit clang18
to AUR soon. AUR packages have to be built from source, and alternate versions are often not drop-in replacements for each other. The PKGBUILD would need to be adjusted to switch versions.
This PR enables PGO when the prebuilt clang is used. Switching to the prebuilt clang alone is insufficient because PGO is off by default. This PR also enables using the prebuilt clang without editing the PKGBUILD by presetting the variable. (eg,
_system_clang=0 makepkg
)