[cfe-dev] Proposal: Enable BUILD_SHARED_LIBS=ON by default for debug build.

Daniel Sanders via cfe-dev cfe-dev at lists.llvm.org
Fri Jan 29 04:00:37 PST 2016


Hi,

I enabled BUILD_SHARED_LIBS=ON for the llvm-mips-linux builder when I switched it over to cmake.

From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of Yin Ma via cfe-dev
Sent: 28 January 2016 23:59
To: 'David Blaikie'; 'Jonathan Roelofs'
Cc: 'llvm-dev'; 'cfe-dev'
Subject: Re: [cfe-dev] Proposal: Enable BUILD_SHARED_LIBS=ON by default for debug build.

Hi David,

It is O.K. I just hope BUILD_SHARED_LIBS=ON is tested when a patch is
merged. Yesterday, I found the tip failed to build with ON. Today, tip is
O.K to build in shared linking.

Yin

From: David Blaikie [mailto:dblaikie at gmail.com]
Sent: Thursday, January 28, 2016 3:50 PM
To: Jonathan Roelofs
Cc: Yin Ma; llvm-dev; cfe-dev
Subject: Re: [cfe-dev] Proposal: Enable BUILD_SHARED_LIBS=ON by default for debug build.



On Thu, Jan 28, 2016 at 3:06 PM, Jonathan Roelofs <jonathan at codesourcery.com<mailto:jonathan at codesourcery.com>> wrote:


On 1/28/16 4:00 PM, Yin Ma via cfe-dev wrote:
Hi David,

I assume you have a powerful machine. Our drive space is on network mounted

machined by IT department. The machine is default Ubuntu setup with 8
cores.

It helps a lot to build on a non-NFS scratch disk.  Is your /tmp network mounted too? If not, I'd suggest building there.

Yeah, building on a network attached storage would be pretty painful, I imagine.

You can of course use a shared build yourself, it may be better for your use/scenarios of course - I'm just pointing out that there's lots of us for which it isn't the best option, enough so that I wouldn't be confident about changing the default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160129/2abb59dc/attachment.html>


More information about the cfe-dev mailing list