* RFC: Proposal to halt automatic builds of Windows BaseTools executables @ 2018-03-07 17:56 Bjorge, Erik C 2018-03-08 1:21 ` Gao, Liming 2018-03-08 18:05 ` Tim Lewis 0 siblings, 2 replies; 8+ messages in thread From: Bjorge, Erik C @ 2018-03-07 17:56 UTC (permalink / raw) To: edk2-devel@lists.01.org I would like to propose that the automatic builds of Windows BaseTools executables be halted. This implies there will no longer be updates to the edk2-BaseTools-win32 repository. With this change, developers using Windows must install Python 2.7.x and configure their environment to build C tools and run python scripts from sources. This matches the development experience for non-Windows environments. Please respond with comments by 03/23/2018. Thanks, -Erik ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Proposal to halt automatic builds of Windows BaseTools executables 2018-03-07 17:56 RFC: Proposal to halt automatic builds of Windows BaseTools executables Bjorge, Erik C @ 2018-03-08 1:21 ` Gao, Liming 2018-03-08 18:05 ` Tim Lewis 1 sibling, 0 replies; 8+ messages in thread From: Gao, Liming @ 2018-03-08 1:21 UTC (permalink / raw) To: Bjorge, Erik C, edk2-devel@lists.01.org Hi, all Here is wiki https://github.com/tianocore/tianocore.github.io/wiki/Windows-systems#compile-tools on Compile BaseTools in windows. Thanks Liming > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Bjorge, Erik C > Sent: Thursday, March 8, 2018 1:57 AM > To: edk2-devel@lists.01.org > Subject: [edk2] RFC: Proposal to halt automatic builds of Windows BaseTools executables > > I would like to propose that the automatic builds of Windows BaseTools executables be halted. This implies there will no longer be > updates to the edk2-BaseTools-win32 repository. > > With this change, developers using Windows must install Python 2.7.x and configure their environment to build C tools and run > python scripts from sources. This matches the development experience for non-Windows environments. > > Please respond with comments by 03/23/2018. > > Thanks, > -Erik > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Proposal to halt automatic builds of Windows BaseTools executables 2018-03-07 17:56 RFC: Proposal to halt automatic builds of Windows BaseTools executables Bjorge, Erik C 2018-03-08 1:21 ` Gao, Liming @ 2018-03-08 18:05 ` Tim Lewis 2018-03-08 18:37 ` Andrew Fish 2018-03-08 21:18 ` Laszlo Ersek 1 sibling, 2 replies; 8+ messages in thread From: Tim Lewis @ 2018-03-08 18:05 UTC (permalink / raw) To: 'Bjorge, Erik C', edk2-devel Erik -- What is the justification? Moving from more immediately usable to less immediately usable doesn't seem, on the surface, to be a good direction. Why not go the other direction and pre-build the binaries for the other environments? Thanks, Tim -----Original Message----- From: edk2-devel <edk2-devel-bounces@lists.01.org> On Behalf Of Bjorge, Erik C Sent: Wednesday, March 7, 2018 9:57 AM To: edk2-devel@lists.01.org Subject: [edk2] RFC: Proposal to halt automatic builds of Windows BaseTools executables I would like to propose that the automatic builds of Windows BaseTools executables be halted. This implies there will no longer be updates to the edk2-BaseTools-win32 repository. With this change, developers using Windows must install Python 2.7.x and configure their environment to build C tools and run python scripts from sources. This matches the development experience for non-Windows environments. Please respond with comments by 03/23/2018. Thanks, -Erik _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Proposal to halt automatic builds of Windows BaseTools executables 2018-03-08 18:05 ` Tim Lewis @ 2018-03-08 18:37 ` Andrew Fish 2018-03-08 19:52 ` Bjorge, Erik C 2018-03-08 21:18 ` Laszlo Ersek 1 sibling, 1 reply; 8+ messages in thread From: Andrew Fish @ 2018-03-08 18:37 UTC (permalink / raw) To: Tim Lewis; +Cc: Bjorge, Erik C, edk2-devel > On Mar 8, 2018, at 10:05 AM, Tim Lewis <tim.lewis@insyde.com> wrote: > > Erik -- > > What is the justification? Moving from more immediately usable to less > immediately usable doesn't seem, on the surface, to be a good direction. > Why not go the other direction and pre-build the binaries for the other > environments? > Tim, I'm not a big fan of the prebuilt tools. In a production environment it is usually preferable to have source and to NOT check in binaries. Given the other environments have Python by default I don't see the value of pre-building the tools on Unix systems? I think the ease of use issue is really a different issue (other than having to install Python). Most projects you start from the root and type make (nmake). A top level makefile would abstract the building of the tools and the need to setup environment variables. Why can't I pull a git repo and do: $ make OvmfPkgX64 I grant it may be hard to automagically pick the compiler but you can do things like: $ make OvmfPkgX64 BUILD_FLAGS="-n 1 -t XCODE" As long as build.py acts like a compiler and the last version of a given flag wins this should be easy to do. Thanks, Andrew Fish > Thanks, > > Tim > > -----Original Message----- > From: edk2-devel <edk2-devel-bounces@lists.01.org> On Behalf Of Bjorge, Erik > C > Sent: Wednesday, March 7, 2018 9:57 AM > To: edk2-devel@lists.01.org > Subject: [edk2] RFC: Proposal to halt automatic builds of Windows BaseTools > executables > > I would like to propose that the automatic builds of Windows BaseTools > executables be halted. This implies there will no longer be updates to the > edk2-BaseTools-win32 repository. > > With this change, developers using Windows must install Python 2.7.x and > configure their environment to build C tools and run python scripts from > sources. This matches the development experience for non-Windows > environments. > > Please respond with comments by 03/23/2018. > > Thanks, > -Erik > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Proposal to halt automatic builds of Windows BaseTools executables 2018-03-08 18:37 ` Andrew Fish @ 2018-03-08 19:52 ` Bjorge, Erik C 0 siblings, 0 replies; 8+ messages in thread From: Bjorge, Erik C @ 2018-03-08 19:52 UTC (permalink / raw) To: afish@apple.com, Tim Lewis; +Cc: edk2-devel@lists.01.org Tim, I see this as more immediately usable. I now only have to pull and monitor a single repo that already has all the source for the build tools. I can also easily checkout a release branch and build the matching tools for that version of UDK. It also simplifies debugging and development of tools. I also like the fact that I can update python to include the latest security patches as needed. To help with the process on Windows edksetup.bat has the ability to build the tools using the Rebuild and ForceRebuild options. Thanks, -Erik -----Original Message----- From: afish@apple.com [mailto:afish@apple.com] Sent: Thursday, March 8, 2018 10:37 AM To: Tim Lewis <tim.lewis@insyde.com> Cc: Bjorge, Erik C <erik.c.bjorge@intel.com>; edk2-devel@lists.01.org Subject: Re: [edk2] RFC: Proposal to halt automatic builds of Windows BaseTools executables > On Mar 8, 2018, at 10:05 AM, Tim Lewis <tim.lewis@insyde.com> wrote: > > Erik -- > > What is the justification? Moving from more immediately usable to less > immediately usable doesn't seem, on the surface, to be a good direction. > Why not go the other direction and pre-build the binaries for the > other environments? > Tim, I'm not a big fan of the prebuilt tools. In a production environment it is usually preferable to have source and to NOT check in binaries. Given the other environments have Python by default I don't see the value of pre-building the tools on Unix systems? I think the ease of use issue is really a different issue (other than having to install Python). Most projects you start from the root and type make (nmake). A top level makefile would abstract the building of the tools and the need to setup environment variables. Why can't I pull a git repo and do: $ make OvmfPkgX64 I grant it may be hard to automagically pick the compiler but you can do things like: $ make OvmfPkgX64 BUILD_FLAGS="-n 1 -t XCODE" As long as build.py acts like a compiler and the last version of a given flag wins this should be easy to do. Thanks, Andrew Fish > Thanks, > > Tim > > -----Original Message----- > From: edk2-devel <edk2-devel-bounces@lists.01.org> On Behalf Of > Bjorge, Erik C > Sent: Wednesday, March 7, 2018 9:57 AM > To: edk2-devel@lists.01.org > Subject: [edk2] RFC: Proposal to halt automatic builds of Windows > BaseTools executables > > I would like to propose that the automatic builds of Windows BaseTools > executables be halted. This implies there will no longer be updates > to the > edk2-BaseTools-win32 repository. > > With this change, developers using Windows must install Python 2.7.x > and configure their environment to build C tools and run python > scripts from sources. This matches the development experience for > non-Windows environments. > > Please respond with comments by 03/23/2018. > > Thanks, > -Erik > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Proposal to halt automatic builds of Windows BaseTools executables 2018-03-08 18:05 ` Tim Lewis 2018-03-08 18:37 ` Andrew Fish @ 2018-03-08 21:18 ` Laszlo Ersek 2018-03-08 21:36 ` Tim Lewis 1 sibling, 1 reply; 8+ messages in thread From: Laszlo Ersek @ 2018-03-08 21:18 UTC (permalink / raw) To: Tim Lewis, 'Bjorge, Erik C', edk2-devel On 03/08/18 19:05, Tim Lewis wrote: > Erik -- > > What is the justification? Moving from more immediately usable to less > immediately usable doesn't seem, on the surface, to be a good direction. > Why not go the other direction and pre-build the binaries for the other > environments? I'd just like to offer one data point for the last question: most open source developers *really* dislike running any native binaries that were built by neither (a) themselves nor (b) the provider of their OS distribution. To give you an example for (b), Fedora provides the "edk2-tools" package (built from the "edk2" source package), and "edk2-tools" definitely installs native binaries: https://koji.fedoraproject.org/koji/rpminfo?rpmID=13354362 The difference is that these binaries were built in a build environment that matches the rest of Fedora [*] and is generally trusted by Fedora users. [*] For example, binaries could be instrumented for security purposes system-wide; some buffer overflows in a native (C) application could be caught automatically as a result. Thanks, Laszlo ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Proposal to halt automatic builds of Windows BaseTools executables 2018-03-08 21:18 ` Laszlo Ersek @ 2018-03-08 21:36 ` Tim Lewis 2018-03-08 22:19 ` Andrew Fish 0 siblings, 1 reply; 8+ messages in thread From: Tim Lewis @ 2018-03-08 21:36 UTC (permalink / raw) To: 'Laszlo Ersek', 'Bjorge, Erik C', edk2-devel Laszlo, Erik -- I understand this dislike from some open source developers. I respect that and am glad that EDK2 provides a way to accommodate this preference. But "most" is a strong term. I would venture to say that a good number (and probably the majority) of the people using EDK2-derived code and tools are fine with the current situation. The only reason I would have Python on most of my company's dev systems would be for EDK2. Since (a) the current system is working and (b) since the possibility for rebuild is available for those who want it, it doesn't weigh heavily enough IMO to change the current situation. Regards, Tim -----Original Message----- From: Laszlo Ersek <lersek@redhat.com> Sent: Thursday, March 8, 2018 1:19 PM To: Tim Lewis <tim.lewis@insyde.com>; 'Bjorge, Erik C' <erik.c.bjorge@intel.com>; edk2-devel@lists.01.org Subject: Re: [edk2] RFC: Proposal to halt automatic builds of Windows BaseTools executables On 03/08/18 19:05, Tim Lewis wrote: > Erik -- > > What is the justification? Moving from more immediately usable to less > immediately usable doesn't seem, on the surface, to be a good direction. > Why not go the other direction and pre-build the binaries for the > other environments? I'd just like to offer one data point for the last question: most open source developers *really* dislike running any native binaries that were built by neither (a) themselves nor (b) the provider of their OS distribution. To give you an example for (b), Fedora provides the "edk2-tools" package (built from the "edk2" source package), and "edk2-tools" definitely installs native binaries: https://koji.fedoraproject.org/koji/rpminfo?rpmID=13354362 The difference is that these binaries were built in a build environment that matches the rest of Fedora [*] and is generally trusted by Fedora users. [*] For example, binaries could be instrumented for security purposes system-wide; some buffer overflows in a native (C) application could be caught automatically as a result. Thanks, Laszlo ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Proposal to halt automatic builds of Windows BaseTools executables 2018-03-08 21:36 ` Tim Lewis @ 2018-03-08 22:19 ` Andrew Fish 0 siblings, 0 replies; 8+ messages in thread From: Andrew Fish @ 2018-03-08 22:19 UTC (permalink / raw) To: Tim Lewis; +Cc: Laszlo Ersek, Bjorge, Erik C, edk2-devel Tim, It is not just an open source thing. In our world we can't build on the production servers with arbitrary binaries in the tree. We have to file paper work to get an exemption, and given we can build the tools in our source base the answer would always be don't check in the binary. I would assume that a given EFI team at company X could always build and check-in tools binaries as part of their source control repo. But it would be good if that was easy and documented. I'd also point out worse case this is all open source so another project could always provide tools snapshots.... Thanks, Andrew Fish > On Mar 8, 2018, at 1:36 PM, Tim Lewis <tim.lewis@insyde.com> wrote: > > Laszlo, Erik -- > > I understand this dislike from some open source developers. I respect that and am glad that EDK2 provides a way to accommodate this preference. But "most" is a strong term. I would venture to say that a good number (and probably the majority) of the people using EDK2-derived code and tools are fine with the current situation. > > The only reason I would have Python on most of my company's dev systems would be for EDK2. Since (a) the current system is working and (b) since the possibility for rebuild is available for those who want it, it doesn't weigh heavily enough IMO to change the current situation. > > Regards, > > Tim > > -----Original Message----- > From: Laszlo Ersek <lersek@redhat.com> > Sent: Thursday, March 8, 2018 1:19 PM > To: Tim Lewis <tim.lewis@insyde.com>; 'Bjorge, Erik C' <erik.c.bjorge@intel.com>; edk2-devel@lists.01.org > Subject: Re: [edk2] RFC: Proposal to halt automatic builds of Windows BaseTools executables > > On 03/08/18 19:05, Tim Lewis wrote: >> Erik -- >> >> What is the justification? Moving from more immediately usable to less >> immediately usable doesn't seem, on the surface, to be a good direction. >> Why not go the other direction and pre-build the binaries for the >> other environments? > > I'd just like to offer one data point for the last question: most open source developers *really* dislike running any native binaries that were built by neither (a) themselves nor (b) the provider of their OS distribution. > > To give you an example for (b), Fedora provides the "edk2-tools" package (built from the "edk2" source package), and "edk2-tools" definitely installs native binaries: > > https://koji.fedoraproject.org/koji/rpminfo?rpmID=13354362 > > The difference is that these binaries were built in a build environment that matches the rest of Fedora [*] and is generally trusted by Fedora users. > > [*] For example, binaries could be instrumented for security purposes system-wide; some buffer overflows in a native (C) application could be caught automatically as a result. > > Thanks, > Laszlo > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-03-08 22:13 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-03-07 17:56 RFC: Proposal to halt automatic builds of Windows BaseTools executables Bjorge, Erik C 2018-03-08 1:21 ` Gao, Liming 2018-03-08 18:05 ` Tim Lewis 2018-03-08 18:37 ` Andrew Fish 2018-03-08 19:52 ` Bjorge, Erik C 2018-03-08 21:18 ` Laszlo Ersek 2018-03-08 21:36 ` Tim Lewis 2018-03-08 22:19 ` Andrew Fish
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox