From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Compilation speed Date: Wed, 12 Aug 2020 14:53:55 +0200 Message-ID: References: <87bljnby36.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38587"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 12 14:55:02 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5qHV-0009ub-Tq for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Aug 2020 14:55:02 +0200 Original-Received: from localhost ([::1]:50802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5qHU-0000QX-M5 for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Aug 2020 08:55:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5qGd-0008Ew-02 for emacs-devel@gnu.org; Wed, 12 Aug 2020 08:54:07 -0400 Original-Received: from mail-oln040092074042.outbound.protection.outlook.com ([40.92.74.42]:24453 helo=EUR04-DB3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5qGZ-00073L-A6 for emacs-devel@gnu.org; Wed, 12 Aug 2020 08:54:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=emH0TNaIFD8elGMjXmBh+2q04TA4YIxXYaaruthnP7YoJut/Rgrvqqz6YCTnvwi8zWisISgLYjmlBmeXedfoqbIvAzC3zHtI/yfhHtM0VzGEXPu7TvrccOaKRDdDlY8RHbIgHWlgx0JxRioPx0Nn2W/rFaw3+AC+MIpfMFcsEieKJbIraJqqJ7tytzTMVj8ZAYM7LHXb31UCOcCBJxdKI144i8+H/og9SmDk+PjspbFFESUqcqIIqMLxbNyNJLOwM0zRy/0JDc4FTJVpkbSD2ORNiHaZIv+i5S9TnZiHbZOzHeBuy/N9o9B6JKFqwYJ3hKhaGLlpwms5gLTFpl097w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dg7k2PxddxvkY+VXGit6EGjlY/S/MwNOXragWOkfrMw=; b=XJNMjPbSZdN1mXf18ktjoYrV0XnVa0nAEVTyoxBaQvlkITjxVMEw9GrcdbRNhMdD5MWDV+iHKTstEVavkophzZ0A69Do0V0zksghTPxW2eYGmnjyxNLTICmU/MLo2ntYRo2/xz9nk1qH8Y0/tVgZOnfbF7/yboKVbLRU7c0CoXQ7Nb9V+xC1byfnnNym6Wh416LNHMsnuFwmIhcpWp7+p3qEKjML5a23Qi5cvbqNoxHHM+Zq6y26BKmZGubPAvIj8lpmfbNvKdPDcqBvaqF/w9xGj62fPU6CDCqXanSM6vobRiFlhgST3vtC8MarNTylkGo7EBcgvF7sDS1kh7M6wg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dg7k2PxddxvkY+VXGit6EGjlY/S/MwNOXragWOkfrMw=; b=UgNZJruKr+GXj13cxVXjTzWpK3JtGf2jrAQnvOYal9qMNBz5hAwnvTD3edK6UpjzrRBDGgbboKEfOq4Z372vRG8TcKEw0QylbgOD3KT/WgWK9NYf5aBUrh+R713/NinvoEsWmGfiGbKWsJJxsSmEjgUXcqSHypNWILLwE5njmMs1rojQ+17ho9ZifIy1FwV2l/Hvq91gMj6U3t1mMleJ90n6E7HZKVu6abs36fDQQKq4ClOgMNEiXiDGsGSjycqI/evN+ZNJbncKyeo0kuqZi6t48uKYYvwi03kuQiTctmOsbWnIbmvlYJ6U3yf6cA8ZIxz2CVAYUAOAVI3AjhBgWQ== Original-Received: from HE1EUR04FT003.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::50) by HE1EUR04HT055.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16; Wed, 12 Aug 2020 12:53:56 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e0d::4b) by HE1EUR04FT003.mail.protection.outlook.com (2a01:111:e400:7e0d::273) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16 via Frontend Transport; Wed, 12 Aug 2020 12:53:56 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:74540B068D9ACB685BAB0E1F40F04F13DA72A4F10BAE23082ABAE93497416282; UpperCasedChecksum:8819DDFBCB9483E6C9465B1E38F54CD035745141A86EB830C10E85AD82E9006B; SizeAsReceived:7580; Count:47 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::c07e:b060:2d54:c4d4]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::c07e:b060:2d54:c4d4%4]) with mapi id 15.20.3261.025; Wed, 12 Aug 2020 12:53:56 +0000 In-Reply-To: (Paul Eggert's message of "Tue, 11 Aug 2020 19:11:55 -0700") X-ClientProxiedBy: AM6P192CA0054.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::31) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87tux8c9ek.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P192CA0054.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16 via Frontend Transport; Wed, 12 Aug 2020 12:53:55 +0000 X-Microsoft-Original-Message-ID: <87tux8c9ek.fsf@live.com> X-TMN: [XryL9UeBIYqhejSON4Tt/wua0TywYIzM] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d6021c23-069d-401c-bacf-08d83ebec619 X-MS-TrafficTypeDiagnostic: HE1EUR04HT055: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iVF6KCddjTS9VUbuyRb5jXFFqQK5rfDFCnEf8jpjXySUXuKeGtAIR+ysO7nFy5VoIc8HkGrd4j1xVx4TOcF5n3ljDbMZEL2BZTkE4/8te5mNfKEaMfFjwaQE4V2m/4sN89WMSHBRp3XHuQyVjEy9ha5Oa1tr8x+zhG/PntyTYy0G8zF3ECgS8vepd3Xtm18U19qUviQiqzlsP1RJp6N/1Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR06MB4526.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: V+V7OwXK0ONF+WUqbR+MFJhrUbQ7a1CfFtSJsgJq9WtYo9WghOuVTeioXgxxahoskhn4V2bzyrRwZne82m6HVF0f5MWCKIJS3WFpDwvD51MbAR/ZKSirt0Gw/TtTl131DF95hF7x57xi1rgwVsSGQA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6021c23-069d-401c-bacf-08d83ebec619 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2020 12:53:56.4486 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT003.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT055 Received-SPF: pass client-ip=40.92.74.42; envelope-from=arthur.miller@live.com; helo=EUR04-DB3-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/12 08:54:01 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253682 Archived-At: Paul Eggert writes: > On 8/10/20 7:33 AM, Arthur Miller wrote: > >> Since Emacs requires C99 compiler (as I understand) couldn't configure >> script just check for avialability of C99 standard, OS and compiler and >> assume the headers, flags and certain functions are avialable? > > Unfortunately not. Lots of implementations conform mostly to C99 but have some > exceptions. So we can't have a single C99 test; we need individual tests to > cover the exceptions. Ok, I understand; does it mean that different options are chosen per compiler; or does configure bail out? I am sorry if I ask obvious/stupid question, I am not so familiar with how autotools works under the hood, despite executing that ./configure so many times :-). Can't we say: you need a c99 conformant compiler, otherwise compile will fail; and for those that use not fully conformant compiler, let them be on their own? That is how lots of software nowdays work; they will tell the requirements, and is up to end-user to meet those. > That's not to say we couldn't prune 'configure'; we could. It has several tests > that are no longer relevant on today's porting targets. The problem is finding > the developer time to prune them. There's a lot of good stuff there mixed in > with the cruft. Yes, and trick is to know which are safe to remove. >> Couldn't autotools devs, make those tests run in their >> own shell as asynchronous processes, write output to a file and then >> make a finall pass over all outputs and then decide to bail out/continue >> or take an action. > > Yes, but this would require quite a rewrite, as existing scripts typically don't > say which tests depend on which other tests' results. I'm not saying it couldn't > be done, only that it wouldn't be that easy. Yes, I understand that :-). Would require new/modern autotools implementation written for a parallel computer.