From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) by mx.groups.io with SMTP id smtpd.web12.6110.1589944989217366744 for ; Tue, 19 May 2020 20:23:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bsdio.com header.s=xmission header.b=Fn1XuhHo; spf=pass (domain: bsdio.com, ip: 166.70.13.233, mailfrom: rebecca@bsdio.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=bsdio.com; s=xmission; h=Subject:Content-Transfer-Encoding:Content-Type:MIME-Version: Date:Message-ID:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wY/A6zIhsswcKByWU7bbeG/TEyyWN4VQVlcNntoAXtg=; b=Fn1XuhHo/tvZnrMNjWJrXJ5wFt f2OzXAhRvnkEHNIIFywavJU49JhuzAwwrJ24xHAj5r5MxpeQ5OnXLMdUeUpoSfC1fe6VwO4NDZQme 2SEsXdKEDES2zCV2HolV0hmaiuXJNa2IlS5rGBD28xSESw7/lTdJD/r0X+Nhzyh2ZXSA=; Received: from in02.mta.xmission.com ([166.70.13.52]) by out03.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbFK0-0005pb-A2 for devel@edk2.groups.io; Tue, 19 May 2020 21:23:08 -0600 Received: from mta4.zcs.xmission.com ([166.70.13.68]) by in02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jbFJz-0007yg-Om for devel@edk2.groups.io; Tue, 19 May 2020 21:23:08 -0600 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id 93330500505 for ; Tue, 19 May 2020 21:23:07 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta4.zcs.xmission.com Received: from mta4.zcs.xmission.com ([127.0.0.1]) by localhost (mta4.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xG5_EH5VcwHq for ; Tue, 19 May 2020 21:23:07 -0600 (MDT) Received: from [10.0.10.120] (muon.bluestop.org [65.103.231.193]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id 4A9BF500363 for ; Tue, 19 May 2020 21:23:07 -0600 (MDT) To: edk2-devel-groups-io From: "Rebecca Cran" Message-ID: <5eed935b-7a4c-dffb-0643-d7bcf8499202@bsdio.com> Date: Tue, 19 May 2020 21:23:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 X-XM-SPF: eid=1jbFJz-0007yg-Om;;;mid=<5eed935b-7a4c-dffb-0643-d7bcf8499202@bsdio.com>;;;hst=in02.mta.xmission.com;;;ip=166.70.13.68;;;frm=rebecca@bsdio.com;;;spf=pass X-SA-Exim-Connect-IP: 166.70.13.68 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa03.xmission.com X-Spam-Level: X-Spam-Status: No, score=-0.2 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE autolearn=disabled version=3.4.2 X-Spam-Virus: No X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5407] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa03 0; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: ; sa03 0; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;edk2-devel-groups-io X-Spam-Relay-Country: X-Spam-Timing: total 280 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 4.5 (1.6%), b_tie_ro: 3.1 (1.1%), parse: 1.13 (0.4%), extract_message_metadata: 12 (4.3%), get_uri_detail_list: 1.03 (0.4%), tests_pri_-1000: 3.2 (1.2%), tests_pri_-950: 1.07 (0.4%), tests_pri_-900: 0.83 (0.3%), tests_pri_-90: 70 (25.1%), check_bayes: 69 (24.6%), b_tokenize: 3.8 (1.4%), b_tok_get_all: 5 (1.8%), b_comp_prob: 1.45 (0.5%), b_tok_touch_all: 56 (19.9%), b_finish: 0.75 (0.3%), tests_pri_0: 175 (62.4%), check_dkim_signature: 0.38 (0.1%), check_dkim_adsp: 38 (13.6%), poll_dns_idle: 36 (12.9%), tests_pri_10: 2.6 (0.9%), tests_pri_500: 7 (2.6%), rewrite_mail: 0.00 (0.0%) Subject: Official way to build BaseTools - Edk2ToolsBuild.py? X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US I'm wondering if using BaseTools/Edk2ToolsBuild.py will become the official/standard way users are expected to build BaseTools? If so, there are a few problems that I'd like to see fixed, which I'll see if I can find some time to work on. For example: on Linux, running it without arguments gives "ValueError: Bad VC" - because it defaults to the VS2017 toolchain. If you break something in BaseTools and so it fails to build, it prints "Exception: Failed to build." with no further details. I'd like to improve it so it detects being run on a non-Windows platform and tries to use GCC, Clang etc. - and perhaps also to add a '--verbose' argument that can be used to give a more specific error message when it fails. -- Rebecca Cran