Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2015 05:18:59 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291560 - head/lib/clang/include
Message-ID:  <201512010518.tB15Ix51008814@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Dec  1 05:18:59 2015
New Revision: 291560
URL: https://svnweb.freebsd.org/changeset/base/291560

Log:
  META MODE: Fix rebuilding of lib/clang/include after clang-tblgen.host is
  staged.
  
  None of usr.bin/clang/clang-tblgen or its dependencies need
  lib/clang/include, so there is no cyclic dependency here to worry about.
  The issue came about because of workarounds to dependencies on clang
  being optional.
  
  Without this, the clang-tblgen called during the build would change
  after it was staged for the host.  This would cause lib/clang/include to
  rebuild due to changed build commands.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/lib/clang/include/Makefile
  head/lib/clang/include/Makefile.depend

Modified: head/lib/clang/include/Makefile
==============================================================================
--- head/lib/clang/include/Makefile	Tue Dec  1 05:18:55 2015	(r291559)
+++ head/lib/clang/include/Makefile	Tue Dec  1 05:18:59 2015	(r291560)
@@ -67,7 +67,4 @@ INCS=	__stddef_max_align_t.h \
 GENINCS= arm_neon.h
 CLEANFILES= ${GENINCS} ${GENINCS:C/\.h$/.d/}
 
-# avoid a circular dependency
-GENDIRDEPS_FILTER+= Nusr.bin/clang/clang-tblgen.host
-
 .include <bsd.prog.mk>

Modified: head/lib/clang/include/Makefile.depend
==============================================================================
--- head/lib/clang/include/Makefile.depend	Tue Dec  1 05:18:55 2015	(r291559)
+++ head/lib/clang/include/Makefile.depend	Tue Dec  1 05:18:59 2015	(r291560)
@@ -2,6 +2,7 @@
 # Autogenerated - do NOT edit!
 
 DIRDEPS = \
+	usr.bin/clang/clang-tblgen.host \
 
 
 .include <dirdeps.mk>



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