You are not logged in.

#1 2023-11-24 15:24:46

davemilter
Member
Registered: 2017-08-18
Posts: 4

Where get clang-17 for Arch?

The official repo still on llvm 16 / clang 16.

What package from AUR can help to install clang-17 alongside with official clang-16?

I tried clang-prefixed-release, it's build failed with "error: 'std::align_val_t' has different definitions",
and llvm-opt-git, it's build failed with "ERROR: Unknown directive type "automodapi".".

Any reliable AUR package for clang-17?

Offline

#2 2023-11-24 15:40:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: Where get clang-17 for Arch?

Check the comments of those packages - at least llvm-opt-git has a solution for that problem posted.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2023-11-24 17:00:24

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,958

Re: Where get clang-17 for Arch?

Keep in mind that llvm-opt-git won't build llvm/clang 17 as it builds latest trunk which has been at 18 for some time now.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2023-12-05 13:40:43

tiziodcaio
Member
From: Italy
Registered: 2021-06-18
Posts: 4

Re: Where get clang-17 for Arch?

I was trying to create the clang17 on the aur but at the moment I have some issues into compilation, especially due to some cmake error with gtest... If anyone is interested into helping on, I will post everything on this forum! tongue

Last edited by tiziodcaio (2023-12-05 13:41:24)

Offline

#5 2023-12-05 15:53:40

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,958

Re: Where get clang-17 for Arch?

Try adding !lto to the options array as enabling that option for llvm builds on archlinux is known to cause (lots of) compilation failures.

repo llvm , aur llvm-git , aur llvm-minimal-git all disable it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2024-01-01 17:47:50

tiziodcaio
Member
From: Italy
Registered: 2021-06-18
Posts: 4

Re: Where get clang-17 for Arch?

It was not enough sadly.

Offline

#7 2024-01-02 11:06:50

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,958

Re: Where get clang-17 for Arch?

Set up https://wiki.archlinux.org/title/Develo … ean_chroot (clean chroot builds helps a lot in rulling out failures due to local differences).

Once you'd done that, post the PKGBUILD and the full output of the logs created by the build.

See https://wiki.archlinux.org/title/List_o … n_services for methods to upload the logs.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2024-01-06 09:24:47

gjvdheiden
Member
Registered: 2023-11-20
Posts: 1

Re: Where get clang-17 for Arch?

https://aur.archlinux.org/packages/clang17

Is this the one you're building? Or is this another one?

Last edited by gjvdheiden (2024-01-06 09:25:47)

Offline

Board footer

Powered by FluxBB