Bug 36341 - Mesa can't find ubuntu llvm
Summary: Mesa can't find ubuntu llvm
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 03:01 UTC by Fabio Pedretti
Modified: 2011-04-19 00:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2011-04-18 03:01:55 UTC
I am configuring mesa with --enable-gallium-llvm under Ubuntu maverick/natty, but configure is not able to find ubuntu's llvm:

        llvm:            no

config.log shows:

configure:8724: checking for llvm-config
configure:8755: result: no

Note that there is a llvm-config-2.8 binary. Note also that since ubuntu 10.10 and its llvm 2.8 all llvm executables are suffixed with -2.8. It wasn't the case with llvm 2.7.
Comment 1 Brian Paul 2011-04-18 06:41:11 UTC
You may need to install the llvm development headers/libraries.  Something like 'llvm-dev'.
Comment 2 nobled 2011-04-18 08:23:09 UTC
(In reply to comment #1)
> You may need to install the llvm development headers/libraries.  Something like
> 'llvm-dev'.

Uh, they did... that's where the llvm-config-2.8 script lives. This is how Debian is packaging LLVM, with lots of version suffixes; they're putting LLVM 2.8 in llvm-2.8-dev, LLVM 2.7 in llvm-2.7-dev, etcetera.

And IIRC they don't want to use update-alternatives to have a symlink from /usr/bin/llvm-config to /usr/bin/llvm-config-$VERSION, because the releases aren't binary-compatible.
Comment 3 Gustaw Smolarczyk 2011-04-18 13:30:42 UTC
Have you installed "llvm" package? It provides llvm-config (without suffix) and others as symlinks to llvm-2.8 versions on my ubuntu system.
Comment 4 Fabio Pedretti 2011-04-19 00:15:49 UTC
(In reply to comment #3)
> Have you installed "llvm" package? It provides llvm-config (without suffix) and
> others as symlinks to llvm-2.8 versions on my ubuntu system.

You are right here. Strange however that llvm-dev doesn't depend on it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.