From owner-freebsd-current@FreeBSD.ORG Sun Jan 6 20:21:42 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DF9BEC86; Sun, 6 Jan 2013 20:21:42 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by mx1.freebsd.org (Postfix) with ESMTP id 8729016C6; Sun, 6 Jan 2013 20:21:42 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id c13so22487109ieb.3 for ; Sun, 06 Jan 2013 12:21:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=C6P3aHcR4kW3G5URdgBvPp7Fb+He3uzz9OwIzHsC98c=; b=q6kcgv17riIpXPlT2F9xm7zJLsEAVQgkmQlhLXNj1bC9pAG+bGA9NsI8gcEwcJtP+Y DV3+qfoaIFdm/gUjAQ2+g/VpRIcZB/nJr8RH8B7PWdKzsHaPi3UFm/t+thkuRMm4nT4N 3HvskRh8J4/S0dmdjwY3Px36rhiyXLS9t+bhiGPaaHfzygP6WNZMIhK2x6dUZC1/8OYO auTX1TbFhdxDz+P53EA363rZNbZk4xVgwW0WwaYxo8fdesSNzkG0P3ggCEtRWzcQ8IRN WFMD2zEvUoFvaU99+tEwczRGdc/4q/QsZROKJrsYOJ+eJhl8Rz8IHrTf9nHU78Zo28rB AjTw== MIME-Version: 1.0 X-Received: by 10.50.202.97 with SMTP id kh1mr4177070igc.15.1357503696535; Sun, 06 Jan 2013 12:21:36 -0800 (PST) Received: by 10.64.65.132 with HTTP; Sun, 6 Jan 2013 12:21:36 -0800 (PST) Received: by 10.64.65.132 with HTTP; Sun, 6 Jan 2013 12:21:36 -0800 (PST) In-Reply-To: References: <50E97457.7050809@zedat.fu-berlin.de> <0900DD62-3A21-4D77-8B5B-7976ACB3921B@cederstrand.dk> <50E990DD.5040605@FreeBSD.org> Date: Sun, 6 Jan 2013 20:21:36 +0000 Message-ID: Subject: Re: LLVM 3.2: official stable port is still LLVM 3.1. Basesystem missing important LLVM pieces! From: Chris Rees To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Current FreeBSD , "O. Hartmann" , Erik Cederstrand , FreeBSD Mailing List X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 20:21:42 -0000 On 6 Jan 2013 14:57, "Dimitry Andric" wrote: > > On 2013-01-06 15:16, Erik Cederstrand wrote: > ... > >> I think the real problem is that LLVM and the related tools are build in one go, so you can't easily build llvm-config and others for the base version of LLVM. > > > Well, it would be easy enough to build llvm-config, but what should its > output be? We do not install llvm/clang headers or libraries into the > system, so llvm-config would not give any meaningful -I or -L flags. :) > > > >> llvm-config needs shared libraries that are not installed in base because they supposedly require a prohibitive amount of build time. > > > Again, build time is not the problem. The libraries are already built, > but in static form; making them dynamic would not be that difficult, but > installing them would add another maintenance and compatibility burden. > > > >> The LLVM port could be split up instead. There could be a devel/llvm-libs port that installed the shared libs for the base LLVM, and then a devel/llvm-config, devel/scan-build or devel/mclinker port that depends on the former port. > > > Yes, this seems to be the proper approach. But, as far as I understand, > the ports system cannot yet do one work tree build, and package that up > in different packages, such as -libs, -devel, and so on. No, but it can be done if the parts are compiled separately, =E0 la postgresql-* ports. Is this definitely impossible? It's crudely but effectively done with pgsql by only running make in certain directories... Chris