From nobody@FreeBSD.org  Thu Dec 15 00:42:30 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4991C10656D0
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Dec 2011 00:42:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3875F8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Dec 2011 00:42:30 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBF0gUuf006530
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Dec 2011 00:42:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pBF0gTlc006526;
	Thu, 15 Dec 2011 00:42:29 GMT
	(envelope-from nobody)
Message-Id: <201112150042.pBF0gTlc006526@red.freebsd.org>
Date: Thu, 15 Dec 2011 00:42:29 GMT
From: Oliver Hartmann <ohartman@mail.zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: complete LLVM toolset in the source tree made available via knob in /etc/src.conf
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163304
>Category:       misc
>Synopsis:       complete LLVM toolset in the source tree made available via knob in /etc/src.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 15 00:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64, FreeBSD 9.0-RC2/amd64
>Organization:
FU Berlin
>Environment:
>Description:
With CLANG being the future base C/C++ compiler in FreeBSD, LLVM got part of the system. But only those portions of LLVM which are used for CLANG. If one would like to develop with LLVM itself, this one has to install LLVM from ports to get missing pieces like llc, lli or llvm-as and so on.
Obviously, the code for the whole LLVM suite is present, but gets not compiled at all by default.

It would be highly appreciable to have a magic knob in /etc/src.conf allowing to enable the compilation/usage of the whole LLVM suite instead of the port version. It would be great not having a mess with several versions by simply allowing to build the base systems's LLVM by demand and taking the 10 minutes longer compile time on modern architectures. 
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
