From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gustavo Zacarias Date: Tue, 31 Mar 2015 07:54:30 -0300 Subject: [Buildroot] [PATCH] mesa3d: specify llvm-prefix In-Reply-To: <20150331112525.5db42fa3@free-electrons.com> References: <1427757360-20575-1-git-send-email-gustavo@zacarias.com.ar> <20150331112525.5db42fa3@free-electrons.com> Message-ID: <551A7CE6.2070701@zacarias.com.ar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 03/31/2015 06:25 AM, Thomas Petazzoni wrote: >> +# Avoid automatic search of llvm-config >> +MESA3D_CONF_OPTS += --with-llvm-prefix=$(STAGING_DIR)/usr/bin > > Shouldn't we instead test if LLVM is available, explicitly disable LLVM > support if not, and enable it if LLVM is available? We don't have a llvm package in BR, so testing is a non-option. There's no explicit option to disable llvm support, hence this is as close as it gets without patching. (--without-gallium-drivers comes close, but it takes down a whole bunch of other stuff as well). Regards.