From owner-freebsd-x11@freebsd.org Sun Dec 1 20:48:08 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51B461B7CE5 for ; Sun, 1 Dec 2019 20:48:08 +0000 (UTC) (envelope-from gnikl@justmail.de) Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47R0gr1HYRz4FdR; Sun, 1 Dec 2019 20:48:07 +0000 (UTC) (envelope-from gnikl@justmail.de) Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout0.freenet.de with esmtpa (ID gnikl@justmail.de) (port 25) (Exim 4.92 #3) id 1ibW8R-0000sA-Ni; Sun, 01 Dec 2019 21:48:03 +0100 Received: from [::1] (port=48646 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID gnikl@justmail.de) (Exim 4.92 #3) id 1ibW8R-0005Gb-NC; Sun, 01 Dec 2019 21:48:03 +0100 Received: from sub6.freenet.de ([195.4.92.125]:50284) by mjail0.freenet.de with esmtpa (ID gnikl@justmail.de) (Exim 4.92 #3) id 1ibW5X-0003mr-3x; Sun, 01 Dec 2019 21:45:03 +0100 Received: from p5dc3f303.dip0.t-ipconnect.de ([93.195.243.3]:49867 helo=localhost) by sub6.freenet.de with esmtpsa (ID gnikl@justmail.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.92 #3) id 1ibW5X-0007mw-0d; Sun, 01 Dec 2019 21:45:03 +0100 Date: Sun, 1 Dec 2019 21:45:00 +0100 From: Gunther Nikl To: Jan Beich Cc: freebsd-x11@freebsd.org Subject: Re: mesa: LLVM_DEFAULT usage Message-ID: <20191201214500.00004448@justmail.de> In-Reply-To: References: <20191201175632.00000bf9@justmail.de> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originated-At: 93.195.243.3!49867 X-Rspamd-Queue-Id: 47R0gr1HYRz4FdR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.97 / 15.00]; NEURAL_HAM_MEDIUM(-0.97)[-0.974,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; REPLY(-4.00)[] 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: Sun, 01 Dec 2019 20:48:08 -0000 Jan Beich wrote: > > Gunther Nikl writes: > > > While testing the phabricator differential for mesa-dri/mesa-libs > > (D19100), I noticed that I don't understand it's dependency on > > LLVM. I assumed that the referenced LLVM version is required to > > build the ports, but the build used cc from base unless I added > > explicitly set CC and CXX as done in the PPC block. Only > > llvm-config from the referenced port is used. Is this intentional? > > I am using 11.3-RELEASE AMD64. > > See https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled Thanks for the link, I believe I looked at this page before. FWIW, I know that some mesa dri drivers use libLLVM. However, I assumed that to use a certain libLLVM version its also necessary to build with the compiler that is providing the library. Apparently mesa can be build with whatever compiler the system provides if it has required features. And from the referenced LLVM port only libLLVM (and other referenced libraries) is necessary. Is this correct? > New Intel driver called "iris" uses libLLVM, too. I would like to use this new driver, pity that I am on Haswell. Regards, Gunther Nikl