search for: dllvm_dir

Displaying 6 results from an estimated 6 matches for "dllvm_dir".

Did you mean: llvm_dir
2012 Oct 18
2
[LLVMdev] problem with my LLVM pass
...CMAKE_MODULE_PATH to find FindLLVM.cmake or set LLVM_DIR to the > directory containing a CMake configuration file for LLVM. The file > will have one of the following names: > > LLVMConfig.cmake > llvm-config.cmake > > So I tried what cmake says: > > $ cmake -DLLVM_DIR=/usr/share/llvm/cmake . > > This worked with both 2.8.3 and 2.8.9 > perhaps that works for older LLVM, but not for 3.1. there is no such a thing as /usr/share/llvm/cmake and the suggestion from cmake above is not true, either: on 3.1, i cannot find LLVMConfig.cmake and llvm-config.cmake...
2012 Oct 18
0
[LLVMdev] problem with my LLVM pass
> -----Original Message----- > From: Jun Koi [mailto:junkoi2004 at gmail.com] > Sent: Thursday, October 18, 2012 8:23 PM > > > > $ cmake -DLLVM_DIR=/usr/share/llvm/cmake . > > > > This worked with both 2.8.3 and 2.8.9 > > perhaps that works for older LLVM, but not for 3.1. Actually I am using the tip of the trunk and not a release. But I think it does not matter ... an eyeballing of the 3.1 directory shows that the cmake sc...
2012 Oct 18
0
[LLVMdev] problem with my LLVM pass
...iguration file for package LLVM. Adjust CMAKE_MODULE_PATH to find FindLLVM.cmake or set LLVM_DIR to the directory containing a CMake configuration file for LLVM. The file will have one of the following names: LLVMConfig.cmake llvm-config.cmake So I tried what cmake says: $ cmake -DLLVM_DIR=/usr/share/llvm/cmake . This worked with both 2.8.3 and 2.8.9 Hope that helps! Sameer.
2012 Oct 05
4
[LLVMdev] problem with my LLVM pass
hi, i am wondering if this link is still updated? http://www.llvm.org/docs/CMake.html#developing-llvm-pass-out-of-source i follow the instruction from the link, and create in my ~/test/ directory the CMakeLists.txt with following content: $cat test/CMakeLists.txt find_package(LLVM) # Define add_llvm_* macro's. include(AddLLVM) add_definitions(${LLVM_DEFINITIONS})
2014 Sep 09
2
[LLVMdev] Can't build against LLVM-3.5 with CMake: CMakeExports.cmake broken?
Hi all, I can't seem to get the simplest CMakeLists.txt file working from http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project. Do any of the LLVM projects use `find_package(LLVM REQUIRED CONFIG)`? Should I just be using `llvm-config` directly? http://llvm.org/bugs/show_bug.cgi?id=20884 David
2014 Sep 09
3
[LLVMdev] Can't build against LLVM-3.5 with CMake: CMakeExports.cmake broken?
...LLVM_BUILD_ROOT="$(pwd)" # Build simple tutorial project $ cd ../ $ mkdir srg-llvm-pass-tutorial $ git clone https://github.com/delcypher/srg-llvm-pass-tutorial.git src $ mkdir build $ cd build/ # I'm assuming your shell will example ${LLVM_BUILD_ROOT} before invoking cmake $ cmake -DLLVM_DIR:PATH=${LLVM_BUILD_ROOT}/share/llvm/cmake/ -G Ninja ../src $ ninja Hope that helps Dan.