[llvm-dev] Recommended computer resources to build llvm

Robinson, Paul via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 6 16:48:14 PDT 2016


Re-add llvm-dev, which keeps getting lost in my replies...


> -----Original Message-----
> From: Robinson, Paul
> Sent: Tuesday, September 06, 2016 4:05 PM
> To: 'Wink Saville'; Alexandre Isoard
> Subject: RE: [llvm-dev] Recommended computer resources to build llvm
> 
> I recently ran into a problem trying to build a debug version for the
> first time in ages, on a similar spec machine running Ubuntu 16.04.
> It turns out Ubuntu is defaulting to BFD ld, and if I switch it to gold
> then the memory problems magically go away.
> HTH,
> --paulr
> 
> > -----Original Message-----
> > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of
> Wink
> > Saville via llvm-dev
> > Sent: Tuesday, September 06, 2016 3:56 PM
> > To: Alexandre Isoard
> > Cc: llvm-dev
> > Subject: Re: [llvm-dev] Recommended computer resources to build llvm
> >
> > I'll give it a try on the next build, txs again.
> >
> > On Tue, Sep 6, 2016 at 3:37 PM, Alexandre Isoard
> > <alexandre.isoard at gmail.com> wrote:
> > > And again...
> > > LLVM_BUILD_LLVM_DYLIB:BOOL=ON
> > > LLVM_LINK_LLVM_DYLIB:BOOL=ON
> > >
> > > This one is the good one... maybe.
> > >
> > > On Tue, Sep 6, 2016 at 11:35 PM, Alexandre Isoard
> > > <alexandre.isoard at gmail.com> wrote:
> > >>
> > >> That is because I mistyped it:
> > >> LLVM_ENABLE_LLVM_DYLIB:BOOL=ON
> > >> LLVM_LINK_LLVM_DYLIB:BOOL=ON
> > >>
> > >> On Tue, Sep 6, 2016 at 11:31 PM, Wink Saville <wink at saville.com>
> wrote:
> > >>>
> > >>> On Tue, Sep 6, 2016 at 3:05 PM, Alexandre Isoard
> > >>> <alexandre.isoard at gmail.com> wrote:
> > >>> > LLVM_ENABLE_DYLIB
> > >>>
> > >>> Where/when/how do you specify LLVM_ENABLE_DYLIB and LLVM_LINK_DYLIB?
> > >>>
> > >>> I tried the following on the cmake command line:
> > >>>
> > >>> $ cmake -G Ninja .. -DCMAKE_INSTALL_PREFIX=/home/wink/opt/llvm
> > >>> -DLLVM_ENABLE_DYLIB=true -DLLVM_LINK_DYLIB=true
> > >>>
> > >>>
> > >>> And got:
> > >>> ...
> > >>> -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed
> > >>> -- Configuring done
> > >>> -- Generating done
> > >>> CMake Warning:
> > >>>   Manually-specified variables were not used by the project:
> > >>>
> > >>>     LLVM_ENABLE_DYLIB
> > >>>     LLVM_LINK_DYLIB
> > >>>
> > >>>
> > >>> -- Build files have been written to:
> /home/wink/foss/llvm.3.9.0/build
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Alexandre Isoard
> > >
> > >
> > >
> > >
> > > --
> > > Alexandre Isoard
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list