[cfe-dev] [llvm-dev] Reminder: SVN will be retired on Oct 21, 2019 -- Please migrate your workflows to github ASAP.

Justin Clift via cfe-dev cfe-dev at lists.llvm.org
Fri Jul 12 02:07:25 PDT 2019

On 2019-07-12 17:41, Nicolai Hähnle-Montoro via llvm-dev wrote:
> On Fri, Jul 12, 2019 at 4:24 AM Tom Stellard via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> We are still on track to retire SVN and complete the transition to 
>> GitHub
>> by Oct 21, 2019 (This year's US Dev Meeting).
>> Even though this 3+ months away, it is very important that you begin 
>> to migrate
>> your workflows to GitHub as soon as possible.  For developers, this 
>> means using
>> the git-llvm script to commit changes and for CI systems or other 
>> read-only use
>> cases can begin fetching code directly from GitHub.
> The migration isn't just about moving from SVN to Git. For many folks,
> it's also about moving from individual component repository to the
> monorepo.
> What's the experience people have had with that move? What works and
> what doesn't?

One gotcha was the automatic blind inclusion of "clang extra tools"
when building clang (eg `-DLLVM_ENABLE_PROJECTS="clang;lld"`).

This caused linker problems (trying to build a static lib), which we
weren't able to solve in a few hours of looking.

Instead, the undocumented flag `-DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=OFF`
can be added to the CMake line to turn off building those extra tools.

With that flag added things worked. :)

+ Justin

> Cheers,
> Nicolai

More information about the cfe-dev mailing list