From owner-freebsd-current@freebsd.org Sat Dec 9 07:51:31 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 BC2A8E823F0 for ; Sat, 9 Dec 2017 07:51:31 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A35C7B723 for ; Sat, 9 Dec 2017 07:51:31 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by mail-yw0-x230.google.com with SMTP id y187so5318697ywg.6 for ; Fri, 08 Dec 2017 23:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuxi-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1mODC+zptByOI+mpUt82ktSvrrJTtPzK22zKjpcEHck=; b=wbcqwRaNclBxEP/ODiccLfUx2f2t2QAW3UNkeErE4rjEjsGqs2X0ZgnDBZLmLY8P1N BqJc3tH79XZDJPsDK8qCF8adKVci51YtLOgTp3gAe8JR0r5TkVpKULinJ1LClKqxTlol zJeU6CgMN9BTs0K2DJkREMnw28iZKr3hrPCmnXn0RdlBN3Gd++YtfZPBigdBGvesjXgD OccphDXLN7Ke4lbX3k0KTu6iblUOzwef2X4ZcXWmkr/ARmupq+KDhcjpcVGCHP3SISfz rLu26mp4O54fTq4t5gaaK9S0S/Oh5fMwDfQd6A7ftuBmsyWENOOBI0qj5+P04BZnuC7D G6YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1mODC+zptByOI+mpUt82ktSvrrJTtPzK22zKjpcEHck=; b=LSiUoQP8q6OocxvxNCCccHzKu2fgontFJhp21xn4jvqEu0BGzZzl5Q36CfdfIBzXXj mtGo7W6+zLjgDIitqVbHdcrYagt7/6mJoSI8XHFc4GWXI2SHNVtspNvK0oJKrdtBLTVg FzOu1VtS9av5OItRnDLe+8VVn3OQvLrt7d/Iqq8dGdzdoHX71C29PM8JHMmPUpZzHspI NOL7gc3l5MN+ifCpPZXPUTq8gX+opJFKkQugcOuUROkBSkCn0Cc2yYkO7401iY/yJRBg oIeZ9bCSs3Oydq7DnQPGmXHc5EsPXNjSDr7KuQTLFAruvs4+D6bbCEqMuKnLxUyXvR+e 5Tkg== X-Gm-Message-State: AJaThX5bzdQu3TJbLGCDQnOboT2kUek55NCG/RbdrPQufvwJ2uahJWCK Qfhpxbts8B8cuI8rB2pEUS5IIv/XPl5BzDj5PhsMRQ== X-Google-Smtp-Source: AGs4zMZPZ18GY3bEUmziZwhhzco073xlzRPKvaoTfDMATomgyhn8f9rE7UPAPbOTucJDRfd8O/EcRR13RZl0DTxCDa0= X-Received: by 10.129.131.133 with SMTP id t127mr23397804ywf.314.1512805890459; Fri, 08 Dec 2017 23:51:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.85.17 with HTTP; Fri, 8 Dec 2017 23:50:59 -0800 (PST) In-Reply-To: <4ff42e67-c045-4255-a96a-bcd3fb8d116c@protected-networks.net> References: <4ff42e67-c045-4255-a96a-bcd3fb8d116c@protected-networks.net> From: Ed Schouten Date: Sat, 9 Dec 2017 08:50:59 +0100 Message-ID: Subject: Re: reducing build times; selecting specific clang targets To: Michael Butler Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" 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 07:51:31 -0000 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. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands