Displaying 5 results from an estimated 5 matches for "analysis_wrap".
2010 Nov 03
0
[LLVMdev] LLVM Cmake module?
...uded in "normal" builds, or will LLVM switch to CMake as its primary
build system?). Now I'm running into the problem of cflags or includes
or something not being set properly.
CMakeLists.txt:
> cmake_minimum_required (VERSION 2.6)
> project (libjllvm)
> add_library(jllvm Analysis_wrap.c BitReader_wrap.c BitWriter_wrap.c
> Core_wrap.c EnhancedDisassembly_wrap.c ExecutionEngine_wrap.c
> LinkTimeOptimizer_wrap.c lto_wrap.c Target_wrap.c
> Transforms/IPO_wrap.c Transforms/Scalar_wrap.c)
>
> # A convenience variable:
> set(LLVM_ROOT "/usr" CACHE /usr/ &...
2010 Nov 03
2
[LLVMdev] LLVM Cmake module?
...oing to paste in my CMakeLists.txt file. Like I said,
> I'm building an LLVM install myself by untarring llvm, mkdir build in
> the root dir of the source, cd build/, cmake .., make.
>
>> cmake_minimum_required (VERSION 2.6)
>> project (libjllvm)
>> add_library(jllvm Analysis_wrap.c BitReader_wrap.c BitWriter_wrap.c
>> Core_wrap.c EnhancedDisassembly_wrap.c ExecutionEngine_wrap.c
>> LinkTimeOptimizer_wrap.c lto_wrap.c Target_wrap.c
>> Transforms/IPO_wrap.c Transforms/Scalar_wrap.c)
>>
>> # A convenience variable:
>> set(LLVM_ROOT "/us...
2010 Nov 03
6
[LLVMdev] LLVM Cmake module?
...ctly (can those files be
> included in "normal" builds, or will LLVM switch to CMake as its
> primary build system?). Now I'm running into the problem of cflags or
> includes or something not being set properly.
[snip]
>> [ 9%] Building C object CMakeFiles/jllvm.dir/Analysis_wrap.c.o
>> In file included from /usr/include/llvm-c/Core.h:36,
>> from /usr/include/llvm-c/Analysis.h:22,
>> from
>> /home/eli/Programs/decac/src/jllvm/llvm/Analysis_wrap.c:190:
>> /usr/include/llvm/System/DataTypes.h:46: error: #error &q...
2010 Nov 04
0
[LLVMdev] LLVM Cmake module?
...>> included in "normal" builds, or will LLVM switch to CMake as its
>> primary build system?). Now I'm running into the problem of cflags or
>> includes or something not being set properly.
> [snip]
>
>>> [ 9%] Building C object CMakeFiles/jllvm.dir/Analysis_wrap.c.o
>>> In file included from /usr/include/llvm-c/Core.h:36,
>>> from /usr/include/llvm-c/Analysis.h:22,
>>> from
>>> /home/eli/Programs/decac/src/jllvm/llvm/Analysis_wrap.c:190:
>>> /usr/include/llvm/System/DataTypes....
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
...EQ_LLVM_LIBRARIES all) line in my
CMakeLists.txt. I've attached CMakeLists.txt for reference.
Could anyone perhaps tell me why CMake can't finish?
Cheers,
--Eli Gottlieb
-------------- next part --------------
cmake_minimum_required (VERSION 2.6)
project (jllvm)
add_library(jllvm SHARED Analysis_wrap.c BitReader_wrap.c BitWriter_wrap.c Core_wrap.c EnhancedDisassembly_wrap.c ExecutionEngine_wrap.c LinkTimeOptimizer_wrap.c lto_wrap.c Target_wrap.c Transforms/IPO_wrap.c Transforms/Scalar_wrap.c)
install(TARGETS jllvm DESTINATION lib/)
add_definitions( -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS...