Module Name: src Committed By: mrg Date: Wed Mar 20 22:51:38 UTC 2019
Modified Files: src/distrib/sets/lists/comp: md.amd64 md.i386 mi src/distrib/sets/lists/debug: mi src/external/bsd/llvm/bin: Makefile src/external/bsd/llvm/include: Makefile src/external/bsd/llvm/lib: Makefile src/share/mk: bsd.own.mk src/tools: Makefile Log Message: split MKLLVM into MKLLVM and MKLLVMCMDS, like MKGCC and MKGCCCMDS: - only build clang or clang-tblgen if MKLLVMCMDS != "no" - move HAVE_MESA_VER earlier so we can detect mesa 18 and enable MKLLVM on platforms that need it - move the clang commands and headers into llvmcmds group - only build the clang specific LLVM libraries if MKLLVMCMDS != "no" much of this work came from maya@'s github commit f90685c11d4460d3098fa35f48b58d1893e974e0, reworked for HAVE_MESA_VER and llvmcmds vs MKCLANG. build tested on several platforms and on amd64 and i386 with several different build options (clang build, gcc build, gcc build with llvm libs). To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270 src/distrib/sets/lists/comp/md.amd64 cvs rdiff -u -r1.185 -r1.186 src/distrib/sets/lists/comp/md.i386 cvs rdiff -u -r1.2263 -r1.2264 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.279 -r1.280 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.17 -r1.18 src/external/bsd/llvm/bin/Makefile cvs rdiff -u -r1.46 -r1.47 src/external/bsd/llvm/include/Makefile cvs rdiff -u -r1.47 -r1.48 src/external/bsd/llvm/lib/Makefile cvs rdiff -u -r1.1112 -r1.1113 src/share/mk/bsd.own.mk cvs rdiff -u -r1.198 -r1.199 src/tools/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.