From owner-freebsd-ports@FreeBSD.ORG Thu Dec 18 13:03:08 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AB49DF7; Thu, 18 Dec 2014 13:03:08 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8AA112C7; Thu, 18 Dec 2014 13:03:07 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::74f6:f05:5a8d:a897] (unknown [IPv6:2001:7b8:3a7:0:74f6:f05:5a8d:a897]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9D394B80A; Thu, 18 Dec 2014 14:03:03 +0100 (CET) Subject: Re: RFT: Please help testing the llvm/clang 3.5.0 import Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C5A7933F-460F-431A-BE05-C752275FCCFF"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b3 From: Dimitry Andric In-Reply-To: Date: Thu, 18 Dec 2014 14:02:58 +0100 Message-Id: References: <8598B1D4-5485-426F-B6D6-22BF26AC5FE1@FreeBSD.org> To: NGie Cooper X-Mailer: Apple Mail (2.1993) Cc: FreeBSD ARM , FreeBSD-Current , FreeBSD ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 13:03:08 -0000 --Apple-Mail=_C5A7933F-460F-431A-BE05-C752275FCCFF Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 18 Dec 2014, at 02:17, NGie Cooper wrote: > > On Fri, Nov 28, 2014 at 1:03 PM, Dimitry Andric wrote: ... > As a request to speed up the build process further, > - Would it be [easily] possible in the clang35 branch to bootstrap > the compiler for a specific architecture? The bootstrap / cross > compiler for instance always builds N targets instead of building just > the desired TARGET/TARGET_ARCH combo. It's not very easy, at least not without breaking various parts of our fragile build system, but I surely want to put something like this on the TODO list for *after* the import has completed. The branch is making progress right now, and I would not want to complicate matters further by introducing yet another tricky feature. :) > - Could a "MK_CLANG_ALL_TARGETS" or something similar option be > added to src.opts.mk to fine tune this process for those of us who > don't want to build a cross-compile toolchain every iteration for our > target MACHINE/MACHINE_ARCH? I would be fine with something like this, as long as it is turned off by default, or if it is only used for the bootstrap stages. It is actually an extremely useful feature of clang that you can target multiple architectures with one compiler binary. A more interesting case would be to remodel the build system so it can use one toolchain (external, or pkg-ng'd, maybe?) for building an entire universe. With clang, that should be relatively easy to do. -Dimitry --Apple-Mail=_C5A7933F-460F-431A-BE05-C752275FCCFF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEUEARECAAYFAlSS0IYACgkQsF6jCi4glqPEdQCfVE7MItkXcaNthE+b/Y0AE1C6 btoAl0MSaWbjGLwTaC9ra/H7EMnGZQI= =iLuy -----END PGP SIGNATURE----- --Apple-Mail=_C5A7933F-460F-431A-BE05-C752275FCCFF--