You are not logged in.

#1 2021-08-27 13:30:11

aganm
Member
Registered: 2021-08-27
Posts: 1

How can I get clang-13 on arch?

I come from debian where getting the latest version of clang is as easy as pointing the package manager to the unstable repository and one command line later having the latest clang version installed.

Why doesn't the arch repo have clang-13 already?

I thought arch was supposed to be a rolling release distro, is it just because no one has made a request for that package to be updated?

Offline

#2 2021-08-27 13:33:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How can I get clang-13 on arch?

Clang 13 hasn't been released.

Offline

#3 2021-08-27 14:25:36

latalante1
Member
Registered: 2018-08-30
Posts: 111

Re: How can I get clang-13 on arch?

If you don't want to compile on your own, you can download fresh (clang-14-git) precompiled binaries from google (very fast, built with PGO + LTO).

curl -s https://raw.githubusercontent.com/chromium/chromium/main/tools/clang/scripts/update.py | python - --output-dir=/tmp/clang --package=clang
curl -s https://raw.githubusercontent.com/chromium/chromium/main/tools/clang/scripts/update.py | python - --output-dir=/tmp/clang --package=objdump
curl -s https://raw.githubusercontent.com/chromium/chromium/main/tools/clang/scripts/update.py | python - --output-dir=/tmp/clang --package=coverage_tools

Offline

Board footer

Powered by FluxBB