From owner-freebsd-current@freebsd.org Sat Dec 9 15:47:47 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26084E8F190 for ; Sat, 9 Dec 2017 15:47:47 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from sonic304-25.consmr.mail.bf2.yahoo.com (sonic304-25.consmr.mail.bf2.yahoo.com [74.6.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E26EF6A007 for ; Sat, 9 Dec 2017 15:47:46 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1512834464; bh=GHQ/TlvA5sen2RDwAIsqzslcr0IqXLiXQH5mJR93HaM=; h=To:From:Subject:Date:From:Subject; b=l2RZ0PBfmapn60Y4K796WBF+E3kEqu53ioBzYYthTH+ExaJnPTnkk1iCfpZCIA+QA3kMOhne/jcDKUbGrhD2pWzkbrEvGkYUgUITQ2+rAlx+gK5dhavyGLw3vkGcptf3EfeXddr446jLryUJ0l4evCdVDKvDAk0u8Fqot3PTTqp+c9QmK6I/cGVuQ9DOFpWmsizvwVbht/dcaYhEiBVGLVnrFx0PHiTx9fLscrLr8ppT1PT9Bu4HCpTzHXF+5EKtowKdpBBGWxfNf/7Kq4H9Gdr1mrNWppLIzOqyjUGFuNjNobo2B40vkMi2cUZg9LkzRmHcn/I/rGF5DMS9Z+jO8w== X-YMail-OSG: 5jkAQosVM1kMuRiWxzzQMY0dxT0QXOF5t4C60lbgAJND2gPMK6EDx4GuEGN7doP pOP3uRhS3FrjPZxceUQbaEuVb6GDJmihV_CIDUNWtJObSTuYqp3xFcZAdj4wDTKZ5uAQWPQXRkyM QO9c9OMqzYG2ck7ogD5Tv2lGyzWnV9ZXR239b8hg7L3NewKEdsfO1.epcM9ug1uKZpHFYB9puUW9 3dx_MjVfMeoG7Y9ffbY9rMgE_YN1gAa5S3jfCymoxBLta_EIei2h8PtOocA8dZ9xzf7lTMBooRR6 LvszhbD7BNZIrEJNgDc3za2Aw9_0a_ttIX5LyerW2Bv2Sr6tSyNBVJh6cWK98PpICNFxft8yvJj1 6bNQnwvQ844NHzmoqvwjwV18mwSRaAmYyRBE228CMZO5uszvd1ry3IApEgzg6VdgAQDa6vNDhZCp MtHoXeUJ4YuIRcAvcTBGACSyfEzyypzOjLgx5TAguL3DRyQ5vegi.gscyUdKHKllizjTPELDt Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Sat, 9 Dec 2017 15:47:44 +0000 Received: from smtp106.rhel.mail.bf1.yahoo.com (EHLO [192.168.0.5]) ([98.139.231.40]) by smtp405.mail.bf1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID -1098369153; Sat, 09 Dec 2017 15:27:29 +0000 (UTC) To: Michael Butler , FreeBSD Current From: Pedro Giffuni Subject: Re: reducing build times; selecting specific clang targets Organization: FreeBSD Project Message-ID: <92c1640c-a332-c4c7-6adf-57935fc2ea12@FreeBSD.org> Date: Sat, 9 Dec 2017 10:27:32 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2017 15:47:47 -0000 Just my $0.02: > On 12/09/17 02:50, Ed Schouten wrote: > > Hi Michael, > > > > 2017-12-09 4:57 GMT+01:00 Michael Butler : > >> As clang builds for multiple targets unconditionally, it takes *days* to > >> build on one of my devices (700MHz Pentium-3). > >> > >> Is there a way to restrict the build targets to i386 only? If not, can we > >> implement one? > > > > Regardless of the discussion of how and whether this may be > > implemented, do take into consideration that the target specific bits > > in Clang only account for a minority of the build time. It is not as > > if Clang is literally built multiple times, once for every > > architecture. The build will likely still take several days, even if > > this got fixed. > > > > Have you considered doing builds on some other system and copying the > > results over? According to Wikipedia, they stopped producing Pentium > > III CPUs 14 years ago. Using these systems to do actual builds sounds > > like a waste of electricity. > > > > Far less than the electricity consumed by an entire planet's worth of > BSD systems building for targets they'll never use. > > The target system is in a remote data-center to which I have limited > access and is the only remaining one of its type in my network. The old > installer used to be able to select a set of source archives from which > to update but I don't see that functionality in any of the current > tools. What did I miss? freebsd-update(8) pkg upgrade that would mean running a release, but it makes life so much easier. Cheers, Pedro.