From owner-svn-src-all@freebsd.org Sun Aug 12 15:51:00 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68AA71074A27; Sun, 12 Aug 2018 15:51:00 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C10E68DA77; Sun, 12 Aug 2018 15:50:59 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w7CFovnW033113; Sun, 12 Aug 2018 08:50:57 -0700 (PDT) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w7CFovDw033112; Sun, 12 Aug 2018 08:50:57 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201808121550.w7CFovDw033112@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r337682 - in stable/11: share/mk tools/build/options usr.bin/ofed usr.bin/ofed/infiniband-diags In-Reply-To: <201808120845.w7C8jNQU027742@repo.freebsd.org> To: Konstantin Belousov Date: Sun, 12 Aug 2018 08:50:57 -0700 (PDT) CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 15:51:00 -0000 > Author: kib > Date: Sun Aug 12 08:45:23 2018 > New Revision: 337682 > URL: https://svnweb.freebsd.org/changeset/base/337682 > > Log: > MFC r336569: > Move mostly useless examples binaries from OFED, as well as the Subnet > Manager, under the new option WITH_OFED_EXTRA, disabled by default. I never got a response on putting opensm out from under _EXTRA. > Added: > stable/11/tools/build/options/WITH_OFED_EXTRA > - copied unchanged from r336569, head/tools/build/options/WITH_OFED_EXTRA > Modified: > stable/11/share/mk/src.opts.mk > stable/11/usr.bin/ofed/Makefile > stable/11/usr.bin/ofed/infiniband-diags/Makefile > Directory Properties: > stable/11/ (props changed) > > Modified: stable/11/share/mk/src.opts.mk > ============================================================================== > --- stable/11/share/mk/src.opts.mk Sun Aug 12 08:42:06 2018 (r337681) > +++ stable/11/share/mk/src.opts.mk Sun Aug 12 08:45:23 2018 (r337682) > @@ -197,6 +197,7 @@ __DEFAULT_NO_OPTIONS = \ > LOADER_FORCE_LE \ > NAND \ > OFED \ > + OFED_EXTRA \ > OPENLDAP \ > REPRODUCIBLE_BUILD \ > RPCBIND_WARMSTART_SUPPORT \ > @@ -400,6 +401,10 @@ MK_NLS_CATALOGS:= no > .if ${MK_OPENSSL} == "no" > MK_OPENSSH:= no > MK_KERBEROS:= no > +.endif > + > +.if ${MK_OFED} == "no" > +MK_OFED_EXTRA:= no > .endif > > .if ${MK_PF} == "no" > > Copied: stable/11/tools/build/options/WITH_OFED_EXTRA (from r336569, head/tools/build/options/WITH_OFED_EXTRA) > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ stable/11/tools/build/options/WITH_OFED_EXTRA Sun Aug 12 08:45:23 2018 (r337682, copy of r336569, head/tools/build/options/WITH_OFED_EXTRA) > @@ -0,0 +1,4 @@ > +.\" $FreeBSD$ > +Set to build the non-essential components of the > +.Dq "OpenFabrics Enterprise Distribution" > +Infiniband software stack, mostly examples. > > Modified: stable/11/usr.bin/ofed/Makefile > ============================================================================== > --- stable/11/usr.bin/ofed/Makefile Sun Aug 12 08:42:06 2018 (r337681) > +++ stable/11/usr.bin/ofed/Makefile Sun Aug 12 08:45:23 2018 (r337682) > @@ -1,10 +1,13 @@ > # $FreeBSD$ > > +.include > + > SUBDIR= \ > libibverbs \ > librdmacm \ > - opensm \ > infiniband-diags > + > +SUBDIR.${MK_OFED_EXTRA}+= opensm > > SUBDIR_PARALLEL= > > > Modified: stable/11/usr.bin/ofed/infiniband-diags/Makefile > ============================================================================== > --- stable/11/usr.bin/ofed/infiniband-diags/Makefile Sun Aug 12 08:42:06 2018 (r337681) > +++ stable/11/usr.bin/ofed/infiniband-diags/Makefile Sun Aug 12 08:45:23 2018 (r337682) > @@ -1,27 +1,33 @@ > # $FreeBSD$ > > +.include > + > SUBDIR= \ > -dump_fts \ > -ibaddr \ > -ibcacheedit \ > -ibccconfig \ > -ibccquery \ > -iblinkinfo \ > -ibmirror \ > -ibnetdiscover \ > -ibping \ > -ibportstate \ > -ibqueryerrors \ > -ibroute \ > -ibstat \ > -ibsysstat \ > -ibtracert \ > -perfquery \ > -saquery \ > -sminfo \ > -smpdump \ > -smpquery \ > -vendstat > + ibstat > + > +.if ${MK_OFED_EXTRA} != "no" > +SUBDIR+= \ > + dump_fts \ > + ibaddr \ > + ibcacheedit \ > + ibccconfig \ > + ibccquery \ > + iblinkinfo \ > + ibmirror \ > + ibnetdiscover \ > + ibping \ > + ibportstate \ > + ibqueryerrors \ > + ibroute \ > + ibsysstat \ > + ibtracert \ > + perfquery \ > + saquery \ > + sminfo \ > + smpdump \ > + smpquery \ > + vendstat > +.endif > > SUBDIR_PARALLEL= > > > -- Rod Grimes rgrimes@freebsd.org