From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by mx.groups.io with SMTP id smtpd.web10.51495.1584967116468944719 for ; Mon, 23 Mar 2020 05:38:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FJ2/Dg39; spf=pass (domain: redhat.com, ip: 63.128.21.74, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584967115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kIg3wy+Xq/Q7xbiCEUMQEH5RQF97mqGQATRJWbV464w=; b=FJ2/Dg39rfvsJ0hzPobolOXk6HU4AOX4hbmh4L2gzrkH3Dr0x7afkYfUlttC6kebmVLKN9 C3sq7X7bJZojO1gyNEPW4dewJ1KD0zNTbqUQ/5LgSmZQ49W/FREzGtjrdwcPYnBnj8RbOi jzqYgyMA42irG9t5pexyBDor1rf9mgs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-436-G9XXjtcSMoeUAYyvtL3qlw-1; Mon, 23 Mar 2020 08:38:32 -0400 X-MC-Unique: G9XXjtcSMoeUAYyvtL3qlw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1A0F81005510; Mon, 23 Mar 2020 12:38:31 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-112-32.ams2.redhat.com [10.36.112.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id E842C9B928; Mon, 23 Mar 2020 12:38:29 +0000 (UTC) Subject: Re: [edk2-devel] [EXTERNAL] [edk2-devel] Information about the VMs used to do EDK2 CI? To: devel@edk2.groups.io, rebecca@bsdio.com, sean.brogan@microsoft.com, Bret Barkelew References: <4287.1584808895303845810@groups.io> From: "Laszlo Ersek" Message-ID: Date: Mon, 23 Mar 2020 13:38:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: $ . edksetup.sh $ nice make -C "$EDK_TOOLS_PATH" -j $(getconf _NPROCESSORS_ONLN) And from a cursory web search: https://stackoverflow.com/a/23569003 it is supposed to work on macOS too, and with a small tweak, on the BSDs as well. Thanks Laszlo