Questions tagged [llvm-config]
6 questions
                    
                    2
                    
            votes
                
                1 answer
            
        /usr/lib/x86_64-linux-gnu/libLLVM-4.0.so.1: version `LLVM_4.0' not found
I am trying to run a tool that uses Clang and LLVM. The tool name is cppgrep that is available with the docker. Please find it from the github repository - https://github.com/peter-can-talk/cppnow-2017. I have tried using Ubuntu 16.04 and 17.10, I…
        
        The Voyager
        
- 617
 - 8
 - 21
 
                    1
                    
            vote
                
                0 answers
            
        Meet llvm-config problem compiling by clang when following llvm tutorial
I am now learning llvm for coursework in school. I followed the llvm official tutorial and met a problem when finishing character 3 (link: https://releases.llvm.org/15.0.0/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.html).
Below is my…
        
        NoError
        
- 11
 - 2
 
                    1
                    
            vote
                
                1 answer
            
        How build the LLVM dragonegg on macos10.14?
I read the book "Getting Started with LLVM Core Libraries", follow the book, I want to build a dragonegg-3.3 on my mac, so I download the dragonegg-3.3 source code form 'http://llvm.org/releases/3.3/dragonegg-3.3.src.tar.gz', and then I build the…
        
        Princekin
        
- 696
 - 9
 - 18
 
                    1
                    
            vote
                
                0 answers
            
        How to use CXX flags provided by llvm-config effectively?
I have a project that is built on top of LLVM. Now I am trying to come up with a CMakeLists file that would work on at least Mac OS, Ubuntu and CentOS platforms. For that I am using /opt/llvm-3.9/bin/llvm-config --libnames x86 ... to link my project…
        
        Stanislav Pankevich
        
- 11,044
 - 8
 - 69
 - 129
 
                    0
                    
            votes
                
                0 answers
            
        Why does llvm-config disables exceptions for me?
I was compiling a code using LLVM and it failed compiling:
In file included from main.cpp:8:
In file included from /usr/lib/llvm-12/include/llvm/IR/LLVMContext.h:19:
In file included from…
        
        ar2015
        
- 5,558
 - 8
 - 53
 - 110
 
                    0
                    
            votes
                
                2 answers
            
        Call llvm-config --prefix and use it in a BUILD rule
I have a following rule in WORKSPACE:
new_local_repository(
    name = "llvm",
    path = "/opt/local/libexec/llvm-4.0",
    build_file= "llvm.BUILD")
I would like to now use hardcoded path for llvm. llvm-config --prefix can give me the directory…
        
        gruszczy
        
- 40,948
 - 31
 - 128
 - 181