Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [RFC]: decouple zig and llvm packages
@ 2022-05-02 10:32 prez
  2022-05-02 13:42 ` Duncaen
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: prez @ 2022-05-02 10:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

New issue by prez on void-packages repository

https://github.com/void-linux/void-packages/issues/36951

Description:
Having to simultaneously update both zig and LLVM leads to Void being two major versions behind in the latter, which is unacceptable imho. 
I suppose the reason for that is there not being enough maintainers capable of updating LLVM who are also willing to deal with zig (only @ifreund).

It seems that with https://github.com/ziglang/zig-bootstrap there's a way to use a bundled LLVM, and I propose the zig package in Void to be changed to use those sources, or failing that, to simply drop zig from void-packages. 
The two zig packages Void currently has do not warrant withholding LLVM updates for such a long time - it should always be a priority of Void to ensure LLVM is up to date.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
@ 2022-05-02 13:42 ` Duncaen
  2022-05-02 14:56 ` prez
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2022-05-02 13:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1114898675

Comment:
Why single out zig, anything using llvm depends on a specific version in one way or another. Building bundled llvm is simply not worth it, if we need multiple versions then we should use versioned packages again if possible.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
  2022-05-02 13:42 ` Duncaen
@ 2022-05-02 14:56 ` prez
  2022-05-02 14:56 ` prez
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: prez @ 2022-05-02 14:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

New comment by prez on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1114998159

Comment:
>Why single out zig

Because it's been blocking the update #36229 #34800 for 5 months and is arguably not very useful (2 packages).



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
  2022-05-02 13:42 ` Duncaen
  2022-05-02 14:56 ` prez
@ 2022-05-02 14:56 ` prez
  2022-05-02 15:36 ` ifreund
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: prez @ 2022-05-02 14:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

New comment by prez on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1114998159

Comment:
>Why single out zig

Because it's been blocking the update #36229 #34800 for 4 months and is arguably not very useful (2 packages).



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
                   ` (2 preceding siblings ...)
  2022-05-02 14:56 ` prez
@ 2022-05-02 15:36 ` ifreund
  2022-05-02 20:45 ` prez
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ifreund @ 2022-05-02 15:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

New comment by ifreund on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1115044325

Comment:
> Because it's been blocking the update #36229 #34800 for 4 months and is arguably not very useful (2 packages).

zig isn't blocking llvm 13, I sent patches for the zig related things many months ago. The only thing blocking llvm 13 as far as I'm aware is someone with void-packages commit access to find time to review and merge the PR.

I did comment in one of those threads that zig is not compatible with llvm 14 yet and won't be for the next month or so at least. That does not block llvm 13 being merged though.

Zig does not require any patches to llvm or otherwise make it difficult to use a system llvm installation of the proper version. If we need llvm 14 before zig 0.10.0 is released then I recommend doing as duncaen says and keeping a llvm13 package around until zig 0.10.0 is released.

The root cause of this problem is that each llvm release is incompatible with the last and that llvm is a very large and expensive dependency to build from source.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
                   ` (3 preceding siblings ...)
  2022-05-02 15:36 ` ifreund
@ 2022-05-02 20:45 ` prez
  2022-05-02 20:48 ` Duncaen
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: prez @ 2022-05-02 20:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

New comment by prez on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1115349585

Comment:
You are right, it's not zig in this case - apologies. But right now, it's going to require making some zig-specific changes for 14.
I created https://github.com/void-linux/void-packages/pull/36962/.
For the future, it should depend on bundled llvm sources.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
                   ` (4 preceding siblings ...)
  2022-05-02 20:45 ` prez
@ 2022-05-02 20:48 ` Duncaen
  2022-05-02 20:59 ` prez
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2022-05-02 20:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 280 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1115352282

Comment:
> For the future, it should depend on bundled llvm sources.

No we should just have multiple versions of llvm, its not limited to zig.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ISSUE] [CLOSED] [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
                   ` (6 preceding siblings ...)
  2022-05-02 20:59 ` prez
@ 2022-05-02 20:59 ` prez
  2022-05-02 21:03 ` Duncaen
  8 siblings, 0 replies; 10+ messages in thread
From: prez @ 2022-05-02 20:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

Closed issue by prez on void-packages repository

https://github.com/void-linux/void-packages/issues/36951

Description:
Having to simultaneously update both zig and LLVM leads to Void being two major versions behind in the latter, which is unacceptable imho. 
I suppose the reason for that is there not being enough maintainers capable of updating LLVM who are also willing to deal with zig (only @ifreund).

It seems that with https://github.com/ziglang/zig-bootstrap there's a way to use a bundled LLVM, and I propose the zig package in Void to be changed to use those sources, or failing that, to simply drop zig from void-packages. 
The two zig packages Void currently has do not warrant withholding LLVM updates for such a long time - it should always be a priority of Void to ensure LLVM is up to date.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
                   ` (5 preceding siblings ...)
  2022-05-02 20:48 ` Duncaen
@ 2022-05-02 20:59 ` prez
  2022-05-02 20:59 ` [ISSUE] [CLOSED] " prez
  2022-05-02 21:03 ` Duncaen
  8 siblings, 0 replies; 10+ messages in thread
From: prez @ 2022-05-02 20:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

New comment by prez on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1115361671

Comment:
> No we should just have multiple versions of llvm, its not limited to zig.

If there are enough resources to maintain multiple versions, then I agree. 
I will close this now, another issue should be created to track progress on the above-mentioned.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [RFC]: decouple zig and llvm packages
  2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
                   ` (7 preceding siblings ...)
  2022-05-02 20:59 ` [ISSUE] [CLOSED] " prez
@ 2022-05-02 21:03 ` Duncaen
  8 siblings, 0 replies; 10+ messages in thread
From: Duncaen @ 2022-05-02 21:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/36951#issuecomment-1115364559

Comment:
The alternative would be having to "maintain" bundled llvm's separately, so yes keeping an old version around is a lot easier.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-05-02 21:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 10:32 [ISSUE] [RFC]: decouple zig and llvm packages prez
2022-05-02 13:42 ` Duncaen
2022-05-02 14:56 ` prez
2022-05-02 14:56 ` prez
2022-05-02 15:36 ` ifreund
2022-05-02 20:45 ` prez
2022-05-02 20:48 ` Duncaen
2022-05-02 20:59 ` prez
2022-05-02 20:59 ` [ISSUE] [CLOSED] " prez
2022-05-02 21:03 ` Duncaen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).