[llvm-dev] [Incubation] Request to incubate mlir-npcomp

Sean Silva via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 24 11:16:14 PDT 2020


On Wed, Jun 24, 2020 at 9:54 AM Nicolai Hähnle <nhaehnle at gmail.com> wrote:

> On Tue, Jun 23, 2020 at 2:40 PM Stella Laurenzo via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > We originally started it as a fork of the LLVM repository, but
> transitioned to the MLIR standalone template, and we found it more
> productive to iterate out of tree in this fashion, bumping to the latest
> LLVM version every week or so as needed (note: the ability to exist out of
> tree for MLIR dependent projects is actually quite good, and the more of us
> who do it, the better it becomes).
>
> How do you deal with the problem of using the "right" LLVM version? As
> somebody who spends a significant amount of time on a project that is
> open-source but out-of-tree -- and for good reasons that mean we're
> unlikely to want to incubate in this fashion -- I find this to be a
> major problem.
>
> If the goal of incubation is to eventually become part of the
> llvm-project monorepo, I feel that being inside the monorepo should be
> a goal early on.


Actually that would be a big problem in practice, because it means that
either:
1. random changes in the monorepo can put the incubator into an unbuildable
state
2. people changing the monorepo need to somehow build and test and fix
incubator projects

Currently, in npcomp, we have a monorepo hash that we bump periodically.
That means that people can follow our README and build our project at any
point by checking out the right monorepo revision. Npcomp developers have
the responsibility of fixing our own code as LLVM updates.

-- Sean Silva


> This would make your project more inclusive, as
> others will automatically have the right LLVM version -- they don't
> have to follow some syncing mechanism that you may have tooling for
> inside of Google but which isn't available outside. You can always
> "bump to the latest LLVM version every week or so" by doing a merge
> commit.
>
> Cheers,
> Nicolai
>
>
> --
> Lerne, wie die Welt wirklich ist,
> aber vergiss niemals, wie sie sein sollte.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200624/cbd3398d/attachment.html>


More information about the llvm-dev mailing list