weixin_39822993 2020-11-30 11:25
浏览 0

Allow build outside of clang source tree

Originally reported on Google Code with ID 64


Hi

I would like to package your work into Debian. However, the fact that include-what-you-use
needs the clang source tree greatly complexifies the build process.
It would be nice if you could update your work to build against clang headers and libs.
Here is a list of headers provided by the libclang-dev package in Debian and Ubuntu:
http://packages.debian.org/sid/amd64/libclang-dev/filelist

Reported by sylvestre.ledru on 2011-12-11 16:50:44

该提问来源于开源项目:include-what-you-use/include-what-you-use

  • 写回答

37条回答 默认 最新

  • weixin_39822993 2020-11-30 11:25
    关注
    
    That would be great to get this into debian!  I'll help how I can.  Unfortunately, the
    build system for clang is a bit of a black box for me.
    
    I do have a version of iwyu that is built against llvm-3.0.  Assuming your libclang-dev
    is for llvm-3.0, you should be able to use that:
       http://code.google.com/p/include-what-you-use/downloads/list
    
    I believe that if you unpacked that tarball, it would be a single compile command --
    possibly a long one -- to build iwyu against the llvm/clang headers.  But I don't know
    if that's exactly what you're looking for.  I can come up with the clang command if
    that would help; or else let me know what would.
    
    
    

    Reported by csilvers on 2011-12-12 19:34:23 - Labels added: Type-Enhancement - Labels removed: Type-Defect

    评论

报告相同问题?