[LLVMdev] Building LLVM 2.5 on CENTOS 5.3

Sarah Thompson sarah at findatlantis.com
Tue Apr 28 17:40:51 PDT 2009


(My script does both of those -- the debug build worked (I think), but  
the release build fails)

[s]

On Apr 28, 2009, at 5:19 PM, Bill Wendling wrote:

> We build debug by default. You will have to add ENABLE_OPTIMIZED=1 on
> the "make" command line or --enable-optimized during configuration.
>
> -bw
>
> On Tue, Apr 28, 2009 at 5:12 PM, Sarah Thompson <sarah at findatlantis.com 
> > wrote:
>> Hmm... looks like my LLVM build script only built debug versions of
>> the tools, not release versions. I'm investigating, I didn't change
>> anything that should have caused that.
>>
>> [s]
>>
>> On Apr 28, 2009, at 4:56 PM, Bill Wendling wrote:
>>
>>> On Tue, Apr 28, 2009 at 4:43 PM, Sarah Thompson <sarah at findatlantis.com
>>>> wrote:
>>>> OK, that got much further, but I'm now seeing another problem which
>>>> may (or may not) be related. Building my own code (my model  
>>>> checker),
>>>> it builds libraries fine, then within tools (I'm using a fairly
>>>> standard LLVM build environment here), I am seeing the error
>>>>
>>>>        *** llvm-config doesn't exist - rebuilding it
>>>>
>>>> followed by a
>>>>
>>>>        make: Entering an unknown directory
>>>>
>>>> which is complaining about .../tools//bin/llvm-config
>>>>
>>>> This didn't happen when I was building with gcc 4.1.x, though of
>>>> course, my code didn't actually work when compiled with that
>>>> compiler.
>>>>
>>> That's odd. It's the "/bin/" in there that make is complaining  
>>> about.
>>> I'm not sure why a different compiler would cause it to change
>>> behavior. Does adding "VERBOSE=1" to the "make" command shed any  
>>> light
>>> on what's going wrong here?
>>>
>>> -bw
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list