Page MenuHomeFreeBSD

D20096.diff
No OneTemporary

D20096.diff

Index: share/mk/src.opts.mk
===================================================================
--- share/mk/src.opts.mk
+++ share/mk/src.opts.mk
@@ -197,7 +197,6 @@
BEARSSL \
BSD_GREP \
CLANG_EXTRAS \
- DTRACE_TESTS \
EXPERIMENTAL \
GNU_GREP_COMPAT \
HESIOD \
@@ -404,6 +403,12 @@
__DEFAULT_YES_OPTIONS+=OPENMP
.else
__DEFAULT_NO_OPTIONS+=OPENMP
+.endif
+
+.if ${__T} == "amd64"
+__DEFAULT_YES_OPTIONS+=DTRACE_TESTS
+.else
+__DEFAULT_NO_OPTIONS+=DTRACE_TESTS
.endif
.include <bsd.mkopt.mk>
Index: tools/build/options/WITHOUT_DTRACE_TESTS
===================================================================
--- /dev/null
+++ tools/build/options/WITHOUT_DTRACE_TESTS
@@ -0,0 +1,5 @@
+.\" $FreeBSD$
+Set to not build and install the DTrace test suite in
+.Pa /usr/tests/cddl/usr.sbin/dtrace .
+This test suite is considered experimental on architectures other than
+amd64/amd64 and running it may cause system instability.

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 10, 4:53 AM (2 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29445027
Default Alt Text
D20096.diff (961 B)

Event Timeline