Re: How to disable CLANG & co build in buildworld?

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Fri, 11 Jun 2010 23:14:00 +0200
Ed Schouten <ed_at_80386.nl> writes:
> Exactly. I already mentioned this problem on arch_at_ 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
===================================================================
--- usr.bin/clang/Makefile	(revision 209062)
+++ usr.bin/clang/Makefile	(working copy)
_at__at_ -1,5 +1,5 _at__at_
 # $FreeBSD$
 
-SUBDIR=	clang
+SUBDIR=	clang tblgen
 
 .include <bsd.subdir.mk>

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Fri Jun 11 2010 - 19:16:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC