public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sam James <sam@gentoo.org>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] New categories for LLVM
Date: Sun, 08 Dec 2024 04:11:13 +0000	[thread overview]
Message-ID: <87ikrux19a.fsf@gentoo.org> (raw)
In-Reply-To: <87f27044c599b4168d27d79367fd4b47575502c9.camel@gentoo.org> ("Michał Górny"'s message of "Sat, 07 Dec 2024 17:07:46 +0100")

Michał Górny <mgorny@gentoo.org> writes:

> Hello,
>
> Given that the number of LLVM packages is growing, and probably will
> grow again (I'm introducing "offload" right now, expect at least MLIR
> soon, there are open requests for flang, polly...), I'd like to propose
> creating dedicated categories for these packages and moving them there.
>
> If not anything else, this will help consistently applying flags
> and keywords to these packages (`/etc/portage/package.*` accept
> wildcards).

I quite like the idea of having a category to ease keywording and testing.

>
> My initial idea would be to use two categories: one for the toolchain
> packages, another for runtimes, e.g.:
>
> llvm-core/
>   clang
>   clang-common
>   clang-runtime
>   clang-toolchain-symlinks
>   lld
>   lld-toolchain-symlinks
>   lldb
>   llvm
>   llvm-common
>   llvm-toolchain-symlinks
>   llvmgold
>
> llvm-runtimes/
>   compiler-rt
>   compiler-rt-sanitizers
>   libclc
>   libcxx
>   libcxxabi
>   libomp (-> openmp?)
>   llvm-offload (-> offload)
>   llvm-unwind (-> unwind?)
>

I'm not sure if I'm sold on *two*. What happens for stuff like mlir
where it's not a runtime but it's arguably more of one than core?

It just doesn't feel like the division works great. Or maybe it's just
because I feel like llvm-core will keep growing and llvm-runtimes won't.

> clang-python, lit and llvm-ocaml would remain in their language
> categories.
>
> WDYT?

I'm going to start another reply for a subthread.

thanks,
sam


  reply	other threads:[~2024-12-08  4:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-07 16:07 [gentoo-dev] [RFC] New categories for LLVM Michał Górny
2024-12-08  4:11 ` Sam James [this message]
2024-12-08 13:02   ` Michał Górny
2024-12-08  4:53 ` LLVM build strategy (was: Re: [gentoo-dev] [RFC] New categories for LLVM) Sam James
2024-12-08  5:05   ` [gentoo-dev] Re: LLVM build strategy Sam James
2024-12-08  5:06   ` LLVM build strategy (was: Re: [gentoo-dev] [RFC] New categories for LLVM) Violet Purcell
2024-12-08 13:20   ` Michał Górny
2024-12-08 21:45     ` [gentoo-dev] Re: LLVM build strategy Sam James
2024-12-08 22:23       ` Eli Schwartz
2024-12-09  4:35         ` Michał Górny
2024-12-08 15:44 ` [gentoo-dev] [PATCH] Introduce llvm-core and llvm-runtimes categories Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ikrux19a.fsf@gentoo.org \
    --to=sam@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=mgorny@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox