Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 23:14:00 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Ed Schouten <ed@80386.nl>
Cc:        andreast-list@fgznet.ch, "M. Warner Losh" <imp@bsdimp.com>, freebsd-current@freebsd.org
Subject:   Re: How to disable CLANG & co build in buildworld?
Message-ID:  <8639wttgpz.fsf@ds4.des.no>
In-Reply-To: <20100611203544.GA1797@hoeg.nl> (Ed Schouten's message of "Fri, 11 Jun 2010 22:35:44 %2B0200")
References:  <4C128548.8090505@fgznet.ch> <20100611185237.GL56080@hoeg.nl> <20100611.132052.271446115462387749.imp@bsdimp.com> <20100611203544.GA1797@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ed Schouten <ed@80386.nl> writes:
> Exactly. I already mentioned this problem on arch@ back in May. That's
> why a small portion of LLVM, namely tblgen, is always built.

tblgen + two libraries that it needs.

However, we never install tblgen, and that is a problem, because it
means we can't "make" in /usr/src/lib/clang - the only way to build
clang is with make toolchain, make buildworld or make buildenv, which is
ridiculous.  All it takes is this simple patch:

Index: usr.bin/clang/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- usr.bin/clang/Makefile	(revision 209062)
+++ usr.bin/clang/Makefile	(working copy)
@@ -1,5 +1,5 @@
 # $FreeBSD$
=20
-SUBDIR=3D	clang
+SUBDIR=3D	clang tblgen
=20
 .include <bsd.subdir.mk>

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8639wttgpz.fsf>