PERFORCE change 490999 for review

Brooks Davis brooks at FreeBSD.org
Wed Aug 28 09:53:11 UTC 2013


http://p4web.freebsd.org/@@490999?ac=10

Change 490999 by brooks at brooks_zenith on 2013/08/28 09:52:09

	Don't do LLVM instrumentation when EARLY_BUILD is defined as it
	is when building aicasm.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/share/mk/bsd.prog.mk#10 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/share/mk/bsd.prog.mk#10 (text+ko) ====

@@ -54,7 +54,8 @@
 .if defined(SRCS) && !empty(SRCS)
 # XXX: currently tesla can't handle C++ so build C++ code normaly in the
 # WITH_TESLA case.
-.if defined(NO_LLVM_IR) || ${MK_LLVM_INSTRUMENTED} == "no" || \
+.if defined(EARLY_BUILD) || defined(NO_LLVM_IR) || \
+    ${MK_LLVM_INSTRUMENTED} == "no" || \
     (${MK_TESLA} != "no" && defined(PROG_CXX))
 OBJS+=  ${SRCS:N*.h:R:S/$/.o/g}
 .else
@@ -89,7 +90,7 @@
 .endif
 .endif
 
-.if ${MK_TESLA} != "no"
+.if ${MK_TESLA} != "no" && !defined(EARLY_BUILD)
 tesla.manifest: ${TESLA_FILES}
 	cat ${TESLA_FILES} > ${.TARGET}
 


More information about the p4-projects mailing list