From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.126; helo=mga18.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 740592194EB75 for ; Thu, 21 Mar 2019 03:02:03 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 03:02:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,252,1549958400"; d="scan'208";a="309088262" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga005.jf.intel.com with ESMTP; 21 Mar 2019 03:02:02 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Mar 2019 03:02:01 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Mar 2019 03:02:01 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.74]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.57]) with mapi id 14.03.0415.000; Thu, 21 Mar 2019 18:01:59 +0800 From: "Gao, Liming" To: "Cohen, Eugene" , "edk2-devel@lists.01.org" Thread-Topic: Debugging why Build Rebuilds Something Thread-Index: AdTfyl12AWpLEHd6RKm3MDB6Fhh7RwAAgmXw Date: Thu, 21 Mar 2019 10:01:59 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4089FC@SHSMSX104.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: Debugging why Build Rebuilds Something X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2019 10:02:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Could you help check the timestamp of AutoGen files in OpenSslLib output = directory?=20 After the first build, copy OpenSslLib output directory to another direct= ory After the second build, compare the output directory between two builds, = please check whether there is the difference for AutoGen.h and Makefile. If= no difference, please directly trig Makefile to see whether rebuild happen= . If rebuild happen, it may be the issue in Makefile. Then, further check M= akefile. Thanks Liming >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Cohen, Eugene >Sent: Thursday, March 21, 2019 5:50 PM >To: edk2-devel@lists.01.org >Subject: [edk2] Debugging why Build Rebuilds Something > >I'm experiencing an annoying problem where OpenSslLib is constantly being >rebuilt. I don't think I've done anything unusual or different to it but >nevertheless it gets built almost every time I rebuild the same platform. > >I don't believe any source file timestamps are changing so I think this ma= y be >the build.py tool deciding to re-generate stuff. (As a side note: does th= e >Autogen process only run when changes are detected on dependencies? I >assume this must be the case otherwise everything would get rebuilt, right= ?) > >Is there a debug flag that can be turned on to see why build might choose = to >rebuild something? The normal build report and debug flags don't see to >provide the information for "why" something is being rebuilt. > >Thanks, > >Eugene > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel