From owner-freebsd-ppc@freebsd.org Wed Dec 21 05:35:16 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10DDBC8A01E for ; Wed, 21 Dec 2016 05:35:16 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-166.reflexion.net [208.70.211.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE1591B22 for ; Wed, 21 Dec 2016 05:35:15 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 1302 invoked from network); 21 Dec 2016 05:35:22 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 21 Dec 2016 05:35:22 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Wed, 21 Dec 2016 00:35:20 -0500 (EST) Received: (qmail 23434 invoked from network); 21 Dec 2016 05:35:20 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 21 Dec 2016 05:35:20 -0000 Received: from [192.168.1.103] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id B924AEC7B9D; Tue, 20 Dec 2016 21:35:07 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: poudriere use for head or stable/11 variant: patch internal-paths to use? Message-Id: Date: Tue, 20 Dec 2016 21:35:07 -0800 Cc: FreeBSD PowerPC ML To: Bryan Drewery , FreeBSD Toolchain X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 05:35:16 -0000 [This question is biased to my powerpc family experiments, doing things directly on the powerpc family.] Unlike for "ports" in poudriere and -m none -f none -M use (ufs file system) the jail alternative seems to just be patches: jail . . . Here are the options associated with the jail command. . . . -P patch Apply the specified patch to the source tree before building the jail. but nothing seems to specify the form of the patch for paths: (I use svn for /usr/src historically: these are from svnlite diff outputs.) Index: contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td (revision = 310236) +++ contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td (working copy) . . . vs. Index: /usr/src/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td = (revision 310236) +++ /usr/src/contrib/llvm/lib/Target/PowerPC/PPCInstrInfo.td (working = copy) vs. whatever. What is expected for paths? (And I suggest the command documentation give an explicit hint or pointer to something that has a hint.) If I interpret the documents correctly poudriere will not use my /usr/src/ : -P patch-file is the technique and I need something like "-m svn+https". Why I care: I normally have patches for powerpc land as I experiment with libc++ and clang or devel/powerpc64-xtoolchain-gcc for targeting powerpc64 and powerpc buildworld and buildkernel (simplified statement). I also have my own KERNCONF's (that include the standard ones). Be it head or stable/11 for now I need a variation of them for my context, including building ports (at least for system-clang based experiments). Note: It may be some time before I do anything that adds kernel modules so kernel-building does not have to be involved at this time for powerpc64 or powerpc. But this might not last. =3D=3D=3D Mark Millard markmi at dsl-only.net