Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141062536
D31058.id92444.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
627 B
Referenced Files
None
Subscribers
None
D31058.id92444.diff
View Options
Index: usr.bin/clang/Makefile
===================================================================
--- usr.bin/clang/Makefile
+++ usr.bin/clang/Makefile
@@ -2,13 +2,19 @@
.include <src.opts.mk>
+.if ${MK_CLANG} != "no"
SUBDIR+= clang
-SUBDIR+= clang-tblgen
-SUBDIR+= llvm-tblgen
+.endif
+.if ${MK_CLANG_EXTRAS} != "no"
+# {llvm,clang,lldb}-tablegen is only needed to build plugins for the installed
+# clang/lldb and is therefore off by default to save build time.
+SUBDIR+= llvm-tblgen
+SUBDIR+= clang-tblgen
.if ${MK_LLDB} != "no"
SUBDIR+= lldb-tblgen
.endif
+.endif
.if !defined(TOOLS_PREFIX)
SUBDIR+= llvm-ar
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 1, 9:32 AM (20 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27433519
Default Alt Text
D31058.id92444.diff (627 B)
Attached To
Mode
D31058: Don't build and install {llvm,clang,lldb}-tblgen for the target
Attached
Detach File
Event Timeline
Log In to Comment