[llvm-dev] [RFC] One or many git repositories?

NAKAMURA Takumi via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 21 10:39:55 PDT 2016


TL;DR, excuse me.

Before we can agree to merge to a single-repo, there's one further question
> that must be resolved:
>
> Should the layout in the merged repository be:
> 1) Like the "llvm-project" git repository is now:
>
> <root>/llvm/
> <root>/clang/
> <root>/compiler-rt
> ...
>

FYI, the layout can be synthesized with tree objects in each *.git with
git-plumbing commands.


> 2) Like the "ideal merged checkout" is now:
> llvm/
> llvm/tools/clang
> llvm/projects/compiler-rt
> ...
>

I suppose the layout is just standing on "the historical reason".
At least, clang is position-independent. It'd work if clang is not on
$(BUILD_ROOT)/tools/clang, but on $(BUILD_ROOT)/projects/clang.

Since the llvm-project unified tree repo has been unofficial, I didn't
propose any llvm-project-specific things.
I have just been tweaking that makes subprojects not assumed
position-dependent.

I think we could take any option, svn, set of single repos, or unified tree.
ATM, I don't agree just to migrate to the single git repo. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160721/a2c81379/attachment.html>


More information about the llvm-dev mailing list