Re: llvm/clang upstream

From: Michał_Górny <mgorny_at_moritz.systems>
Date: Tue, 30 Nov 2021 13:39:50 UTC
On Tue, 2021-11-30 at 14:27 +0100, Paul Floyd wrote:
> On 11/30/21 14:03, Michał Górny wrote:
> > 
> > Please note that the "official" way of building stuff has changed a few
> > times, so you might be using an outdated approach.  I think the current
> > way of building runtimes is via LLVM_ENABLE_RUNTIMES.
> 
> 
> I'll take a look at the 'official' llvm web pages tonight
> 
> Up to now I've been using
> 
> 
> cmake -G "Unix Makefiles" ../llvm -DCMAKE_INSTALL_PREFIX=~/tools/clang 
> -DCMAKE_BUILD_TYPE=Release 
> -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;libunwind;compiler-rt;lldb;openmp;pstl"

Yeah, I think LLVM_ENABLE_PROJECTS no longer works correctly for
runtimes, and I'm pretty sure I've already experienced this first-hand.

-- 
Best regards,
Michał Górny