On 12/21/2012 12:51 AM, Randy McMurchy wrote:
> Bruce Dubbs wrote these words on 12/20/12 17:41 CST:
>> Randy McMurchy wrote:
>>> Hi all,
>>>
>>> Does anyone recall why there are CC= and CXX= lines prefacing the configure
>>> command in the LLVM instructions? I am not certain they are required. My 
>>> build
>>> was fine without them.
>>
>> I believe that was to reset them if already set for clang.
>
> But nobody except a serious developer would install clang before llvm. If you
> follow the book, it is not required. :-)
>

That can be a problem if you are upgrading or you have installed more 
builds. I am testing Tom Stellard LLVM branch (for OpenCL) at fd.o and I 
have regular LLVM+Clang installed. Every time I ran configure without CC 
and CXX commands build failed.

>>> Also, there appears to be additional dependencies, TCL, OCaml, and Valgrind
>>> were looked for during the configure phase. It did not find the TCL include
>>> files on my system, and I do not have OCaml installed, so I am not sure if 
>>> it
>>> wants to build bindings for those languages or what.
>>
>> For our use (MesaLib) they probably don't make any difference.  We
>> probably have incomplete dependencies though.
>
> We can add them for thoroughness.
>
>

You can mention them if you like.

>>> Package takes too long to build to simply get X installed. :-(
>>
>> Yes, it took 12.3 SBU for me.  The only reference we have for llvm is
>> MesaLib and it's only recommended, not required.  I'm sure that's only
>> because (I think) the MesaLib devs recommend it.
>
> But shouldn't we note in the book that it is not applicable unless you have
> specific hardware?
>

There are already some notes. Since package is recommended we provide a 
way to disable it.

In command explanations:

  --enable-r600-llvm-compiler: This switch enables experimental LLVM 
backend for graphics shaders. Remove it if you did not install llvm-3.1.

  --with-gallium-drivers="...": This parameter controls which Gallium 
drivers should be built. Available drivers are: i915, nouveau, r300, 
r600, radeonsi, svga and swrast. You will need to remove r300, r600 and 
radeonsi from the list if you did not install llvm-3.1.

I didn't want to write more notes/warnings, there are already too many.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to