Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2013 09:53:10 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 490999 for review
Message-ID:  <201308280953.r7S9rArg021132@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@490999?ac=10

Change 490999 by brooks@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}
 



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