[LLVMdev] Problem in LLVM CMake modules

Óscar Fuentes ofv at wanadoo.es
Sat Jul 7 15:52:05 PDT 2012


Eli Gottlieb <eligottlieb at gmail.com> writes:

>     I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To
> do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and
> did a slight rewrite of my CMakeLists.txt file for building the C
> code.
>
>     Problem is, cmake no longer finishes at all.  I receive the
> following output, and then it just runs forever (while still
> responding to a CTRL-C):

Yep, llvm_map_components_to_libraries gets confused by the existence of
both gtest and gtest_main and enters an infinite loop. A workaround is
to not pass "all" to llvm_map_components_to_libraries but a list of
required components.




More information about the llvm-dev mailing list