From: Jesse Williamson Subject: Re: building boost statically Date: Mon, 2 May 2016 09:18:02 -0700 (PDT) Message-ID: References: <20160502032831.GA8719@ultraspiritum.redhat.com> <20160502161449.GA2654@ultraspiritum.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from victor.provo.novell.com ([137.65.250.26]:58831 "EHLO prv3-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753965AbcEBQSI (ORCPT ); Mon, 2 May 2016 12:18:08 -0400 In-Reply-To: <20160502161449.GA2654@ultraspiritum.redhat.com> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: "Adam C. Emerson" Cc: Sage Weil , Allen Samuels , Ken Dreyer , Haomai Wang , "ceph-devel@vger.kernel.org" On Mon, 2 May 2016, Adam C. Emerson wrote: > If we could manage it, that would be my ideal world. Rather than > making it A Submodule, say, if we could have cmake examine the system > boost to see what version it is and, if the version is greater than or > equal to the required version, just use it. Otherwise just fetch the > required version and build against it statically. Auto-fetching would be nice. One caution against just going with greater-than is that some libraries in the Boost project introduce breaking changes now and again, so being able to go with a specific version can be important. -Jesse