From owner-freebsd-x11@freebsd.org Mon Jan 21 22:38:27 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6109714854D2 for ; Mon, 21 Jan 2019 22:38:27 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CD3685D87 for ; Mon, 21 Jan 2019 22:38:26 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 0A9AD6002FE for ; Mon, 21 Jan 2019 23:38:24 +0100 (CET) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rJQZ1xDpUPhY for ; Mon, 21 Jan 2019 23:38:18 +0100 (CET) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Mon, 21 Jan 2019 23:38:18 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id CDE791399FC; Mon, 21 Jan 2019 23:38:17 +0100 (CET) Date: Mon, 21 Jan 2019 23:38:17 +0100 From: Christoph Moench-Tegeder To: freebsd-x11@freebsd.org Subject: Re: Mesa compiler specification Message-ID: <20190121223817.GB2502@elch.exwg.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 4CD3685D87 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.980,0]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[burggraben.net]; MX_GOOD(-0.01)[cached: smtp.burggraben.net]; NEURAL_HAM_SHORT(-0.74)[-0.737,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.98)[ipnet: 2a01:4f8::/29(-2.52), asn: 24940(-2.35), country: DE(-0.01)] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 22:38:27 -0000 ## Kevin Oberman (rkoberman@gmail.com): > I do have one question/request... Can the mesa ports be updated to allow > compilation with either llvm60 or llvm70? +1 for that. > The way the port is written, using a hard version number in > Makefile.common, there is no easy way to pick either 60 or 70. I had to do > an edit (one character) to switch. I am not in any way a ports or Makefile > expert, but could this be changed to use something like > COMPILER_VERSION=70 and ALT_COMPILER_VERSION=60 or something similar to > allow llvm60 to be used when it has been installed and llvm70 has not? bsd.default-versions.mk has LLVM_DEFAULT - wouldn't it be best to use that (and include mesa-related ports in regression testing when switching to llvm80)? Regards, Christoph -- Spare Space