[LLVMdev] Building poolalloc with current LLVM development branch?

Will Dietz willdtz at gmail.com
Fri May 29 08:43:34 PDT 2015


John Criswell would definitely be the guy to ask about this, cc'ing him.

Until then, here's what I can tell you:

AFAIK the poolalloc transformation itself is unmaintained and has been
for a while.

The CMake version of the build system is especially unmaintained,
but likely wouldn't be too difficult to get working again.

The poolalloc 'module' (poolalloc+DSA) should build with 'make' on recent LLVM,
but I've only tested DSA recently and only lightly at that :).

Hope this helps,

~Will

On Thu, May 28, 2015 at 4:10 PM, Reid Kleckner <rnk at google.com> wrote:
> I'm pretty sure poolalloc is unmaintained at this point. John Criswell would
> know more.
>
> On Thu, May 28, 2015 at 11:57 AM, Christian Convey
> <christian.convey at gmail.com> wrote:
>>
>> I'm starting to play around with poolalloc for the first time.  I tried to
>> build it as follows:
>> 1) Clone llvm's git repo, and build it with cmake + ninja.
>> 2) cd .../llvm/projects
>> 3) git clone git at github.com:llvm-mirror/poolalloc.git
>>
>> When I went to re-run ninja, (or even CMake by itself), I get errors like
>> the following (truncated for brevity).  Any suggestions for whether I'm
>> trying to use the build system incorrectly, vs. having an incompatible combo
>> of LLVM and poolalloc?
>>
>> CMake Error at cmake/modules/LLVMProcessSources.cmake:83 (message):
>>   Found unknown source file
>>   /opt/clang-llvm/llvm/projects/poolalloc/runtime/PreRT/strdup.c
>>
>>
>>   Please update
>>   /opt/clang-llvm/llvm/projects/poolalloc/runtime/PreRT/CMakeLists.txt
>>
>>
>> Call Stack (most recent call first):
>>   cmake/modules/LLVMProcessSources.cmake:54 (llvm_check_source_file_list)
>>   cmake/modules/AddLLVM.cmake:263 (llvm_process_sources)
>>   cmake/modules/AddLLVM.cmake:418 (llvm_add_library)
>>   projects/poolalloc/runtime/PreRT/CMakeLists.txt:2 (add_llvm_library)
>>
>>
>>
>> Thanks,
>> Christian
>>
>>
>>
>>
>> _______________________________________________
>> 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