[LLVMdev] Embed LLVM/Clang in our project

Ashok Nalkund ashoknn at qti.qualcomm.com
Mon Jan 21 15:48:02 PST 2013

On 1/21/2013 10:25 AM, Ashok Nalkund wrote:
> On 1/21/2013 2:01 AM, Óscar Fuentes wrote:
>> Ashok Nalkund <ashoknn at qti.qualcomm.com> writes:
>>> I was using the find_package(LLVM llvm/share/llvm/cmake) and
>>> llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native) to get
>>> the libraries to link against. This works well for the libLLVM*
>>> libraries, but how do I implement similar find stuff for clang
>>> libraries?
>> AFAIK, there is no such feature for Clang.

I noticed that the following files are modified even though I'm 
compiling outside the source tree (using cmake):

> #       modified:   src/utils/llvm-build/llvmbuild/__init__.pyc
> #       modified:   src/utils/llvm-build/llvmbuild/componentinfo.pyc
> #       modified:   src/utils/llvm-build/llvmbuild/configutil.pyc
> #       modified:   src/utils/llvm-build/llvmbuild/main.pyc
> #       modified:   src/utils/llvm-build/llvmbuild/util.pyc

Does anybody know why the sources are being modified?


More information about the llvm-dev mailing list