[LLVMdev] using dsa

Ryan M. Lefever lefever at crhc.uiuc.edu
Tue Mar 6 17:52:20 PST 2007


Thank you Patrick!  For anyone interested, I was able to get the 
mainline version of DSA to compile with the mainline version of LLVM. 
As Patrick pointed out, the mainline version of PoolAllocate does not 
compile with the mainline version of LLVM.  So, I made a small change to 
llvm-poolalloc/lib/Makefile in which I removed PoolAllocate from the line:

PARALLEL_DIRS=DSA PoolAllocate

After having made that change, I was able to successfully perform a make 
and make install from the llvm source directory with llvm-poolalloc in 
the projects directory.

Patrick Meredith wrote:
> I updated dsa to mainline cvs.  Poolalloc is broken, however.
> 
> On Mar 6, 2007, at 3:39 AM, Ryan M. Lefever wrote:
> 
>> What versions of llvm and llvm-poolalloc should I check out of cvs, in
>> order to use DSA?  In a previous post John Criswell suggested checking
>> llvm and llvm-poolalloc out of cvs using the -r release_19 flag.
>> However, there were several post later that said that changes  
>> should not
>> be made to the release_19 branch.
>>
>> At any rate, I've not seen any update on which versions of llvm and
>> llvm-poolalloc compile with each other.  Could someone please let me
>> know?  I tried using the -r release_19 flag (as was originally
>> suggested), but that version of LLVM fails to compile.  I get the
>> following error:
>>
>> make[1]: Entering directory
>> `/home/lefever/work/llvm-release_19/tools/llvm-config'
>> llvm[1]: Regenerating LibDeps.txt
>> llvm[1]: Finding cyclic dependencies between LLVM libraries.
>> find-cycles.pl: Circular dependency between *.a files:
>> find-cycles.pl:   libLLVMCore.a libLLVMSupport.a
>> llvm[1]: Building llvm-config script.
>> cat:
>> /home/lefever/work/llvm-release_19/tools/llvm-config/FinalLibDeps.txt:
>> No such file or directory
>> make[1]: *** [/home/lefever/work/llvm-release_19/Debug/bin/llvm- 
>> config]
>> Error 1
>> make[1]: Leaving directory
>> `/home/lefever/work/llvm-release_19/tools/llvm-config'
>> make: *** [all] Error 1
>>
>> Regards,
>> Ryan
>> _______________________________________________
>> 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

-- 
Ryan M. Lefever  [http://www.ews.uiuc.edu/~lefever]




More information about the llvm-dev mailing list