[LLVMbugs] Problems compiling poolalloc

Michelle Strout mstrout at CS.ColoState.EDU
Fri Jun 20 13:29:01 PDT 2008


John,

Thanks for the swift response.

I checked poolalloc out from the repository, and I am compiling it  
against the llvm-2.3 source distribution.  I am doing this all on a  
Mac running 10.4.  I tried a number of different things before I  
stooped to copying header files, but here was my final set of actions.

         % mkdir /tmp/llvm-2.3
         % cd /tmp/llvm-2.3
         % ./configure --prefix=/Users/mstrout/software/  \
         --with-objdir=/tmp/llvm-2.3/ \
         --with-llvmgccdir=/Users/mstrout/package/llvm-gcc4.2-2.3-x86- 
darwin8/bin
         % gmake -k | & tee gnumake.out
	% make install

	% svn co http://llvm.org/svn/llvm-project/poolalloc/trunk poolalloc
	

	% cd /Users/mstrout/software/include/llvm/ADT/
         % cp hash_map hash_map.h
         % cp hash_set hash_set.h
         % cp iterator iterator.h


         % cd ~/SVNWorkDirs/poolalloc
         % ./configure --with-llvmsrc=/Users/mstrout/package/ 
llvm-2.3/ --with-llvmobj=/tmp/llvm-2.3/ --prefix=/Users/mstrout/ 
software/

         % make

I got it to compile, but it took awhile.


Thanks,
Michelle

On Jun 20, 2008, at 4:12 PM, John Criswell wrote:

> Michelle Strout wrote:
>> Chris and others,
>>
>> To get the poolalloc module to compile, I had to copy some llvm
>> include files to different names.
>>
>>          % cd /Users/mstrout/software/include/llvm/ADT/
>>          % cp hash_map hash_map.h
>>          % cp hash_set hash_set.h
>>          % cp iterator iterator.h
>>
>> Does this mean that poolalloc is not being updated?  What is its  
>> status?
>>
> We are currently doing active work on llvm-poolalloc; mainline llvm- 
> poolalloc should compile with mainline LLVM.
>
> Is your LLVM and llvm-poolalloc trees up to date with everything in  
> the Subversion repository?
>
> -- John T.
>
>> Thanks,
>> Michelle
>>
>> =======================================
>>   Michelle Mills Strout
>>   Assistant Professor
>>
>>   Colorado State University
>>   Computer Science Department
>>   1873 Campus Delivery
>>   Fort Collins, CO 80523-1873
>>
>>   (970) 491-7026
>>   mstrout at cs.colostate.edu
>> =======================================
>>
>>
>>
>>
>> _______________________________________________
>> LLVMbugs mailing list
>> LLVMbugs at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
>>
>

=======================================
  Michelle Mills Strout
  Assistant Professor

  Colorado State University
  Computer Science Department
  1873 Campus Delivery
  Fort Collins, CO 80523-1873

  (970) 491-7026
  mstrout at cs.colostate.edu
=======================================







More information about the llvm-bugs mailing list