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 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.