Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 32723 invoked from network); 22 Nov 2007 00:19:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2007 00:19:50 -0000 Received: (qmail 1013 invoked by uid 500); 22 Nov 2007 00:19:37 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 993 invoked by uid 500); 22 Nov 2007 00:19:37 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 981 invoked by uid 99); 22 Nov 2007 00:19:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 16:19:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 00:19:27 +0000 Received: from [10.70.3.143] ([10.70.3.143]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id lAM0JJK9019037 for ; Thu, 22 Nov 2007 00:19:19 GMT Message-ID: <4744CB08.9020207@roguewave.com> Date: Wed, 21 Nov 2007 17:19:20 -0700 From: Martin Sebor User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: [PING] Re: library and build sizes on Windows References: <4737E219.5010001@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE64380134EDA6@epmsa009.minsk.epam.com> <4739E091.1050707@roguewave.com> In-Reply-To: <4739E091.1050707@roguewave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org So would be it possible to change the Windows build infrastructure to spit out the date and time in the same format as on UNIX? I.e., ### date: Wed Oct 31 09:38:50 UTC 2007 Including the "### date:" part. The exact format of the timestamp itself doesn't have to be exactly the same just as long as it includes the time as well as the date, and it's all on the same line. If it's not easy, what would be? It's trivial to change the UNIX format. Martin Martin Sebor wrote: > Farid Zaripov wrote: >>> -----Original Message----- >>> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor >>> Sent: Monday, November 12, 2007 7:18 AM >>> To: stdcxx-dev@incubator.apache.org >>> Subject: library and build sizes on Windows >>> >>> I enhanced the cross-build scripts to extract the date of the build >>> and the sizes of the library and of the bildspace (before and after >>> running the clean target). This works on UNIX but not on Windows >>> where the date has a different format >> >> On unix: >> ----------------------- >> ### date: >> Wed Oct 31 09:38:50 UTC 2007 >> ----------------------- >> >> On windows: >> ----------------------- >> Wed Nov 07 22:23:49 2007: Loading solution... >> ----------------------- >> >> The difference in date format is the only UTC before year on unix :) > > Right. The problem is the line above it. The script looks for the RE > "^### date:" and takes the whole line below it as the date. We could > have it look for the Windows-specific string on Windows (and strip > what follows the timestamp) and the UNIX one on UNIX but I'd rather > we standardize on the same data format than complicate the script > logic. > >> >>> and the sizes aren't being reported. Would it be possible to change >>> the Windows infrastructure to add this info to the logs? >> >> The cleaning targets performing by the BATMAN, so to add the sizes >> to the logs the BATMAN scripts should be changed. > > Okay. We'll move this part (the script that runs the whole build) > to stdcxx very soon so we'll have direct control over its format. > > Martin