Re: [edk2-devel] [EXTERNAL] [edk2-devel] Information about the VMs used to do EDK2 CI?

2020-03-28 Thread Andrew Fish via Groups.Io
This works on my MacBook Pro $ getconf _NPROCESSORS_ONLN 8 The macOS centric way is this: $ sysctl -n hw.logicalcpu 8 Thanks, Andrew FIsh > On Mar 23, 2020, at 5:38 AM, Laszlo Ersek wrote: > > On 03/22/20 00:03, Rebecca Cran wrote: >> Thank you. I think we probably do want to detect the

Re: [edk2-devel] [EXTERNAL] [edk2-devel] Information about the VMs used to do EDK2 CI?

2020-03-28 Thread Sean via Groups.Io
Thanks I opened a bug to get this tracked. https://bugzilla.tianocore.org/show_bug.cgi?id=2640 In that bug i link to a commit which does the above using python.  It saves about 20 seconds for each build on linux in Azure pipelines. Thanks Sean -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You

Re: [edk2-devel] [EXTERNAL] [edk2-devel] Information about the VMs used to do EDK2 CI?

2020-03-23 Thread Laszlo Ersek
On 03/22/20 00:03, Rebecca Cran wrote: > Thank you. I think we probably do want to detect the number of threads > available: I'll see if I can work on that. In a Linux environment, you can run "getconf _NPROCESSORS_ONLN". In fact that's how I build the native BaseTools on my laptop: $ .

Re: [edk2-devel] [EXTERNAL] [edk2-devel] Information about the VMs used to do EDK2 CI?

2020-03-21 Thread Rebecca Cran
Thank you. I think we probably do want to detect the number of threads available: I'll see if I can work on that. I'll plan to set up my own Azure self-hosted agent for doing more extensive testing for FreeBSD and Bhyve. -- Rebecca Cran On 3/21/20 10:41 AM, Sean via Groups.Io wrote:

Re: [edk2-devel] [EXTERNAL] [edk2-devel] Information about the VMs used to do EDK2 CI?

2020-03-21 Thread Sean via Groups.Io
Rebecca - I think for any platform testing it would make more sense to use self hosted agents.  They could even be your own VM.  QEMU and emulator might be the two where we could explore using the DevOps VMs but I worry we will spend too much time downloading and install dependencies since the