search for: findllvm

Displaying 10 results from an estimated 10 matches for "findllvm".

2012 Oct 05
4
[LLVMdev] problem with my LLVM pass
...nfo -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Warning at CMakeLists.txt:1 (find_package): Could not find module FindLLVM.cmake or a configuration 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 CMake Error at CMake...
2012 Oct 18
0
[LLVMdev] problem with my LLVM pass
....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: > <snip> > CMake Warning at CMakeLists.txt:1 (find_package): > Could not find module FindLLVM.cmake or a configuration file for > package LLVM. This error occurs when llvm-config is not in the path. I tried the same thing by copying the CMake snippets from the above page into a new file: $ cd test $ cat CMakeLists.txt find_package(LLVM) # Define add_llvm_* macro's. include(AddLLVM...
2010 Jun 14
0
[LLVMdev] CMake sample project?
...wrote: > I built the list by hand though trial and error. I'm not sure if and how > llvm-config works with cmake. Its seems now that I got the > right dependencies in the right order, there have been no > ongoing maintenance issues. I use llvm-config with cmake, for this I wrote a FindLLVM.cmake file [1], it provides a FIND_LLVM_LIBS macro that calls llvm-config, example of use in [2]. Unfortunately it does not work with MSVC, so I had to hardcode the libraries when building with MSVC. The LLVM_NATIVE_OBJECTS part of FIND_LLVM_LIBS is probably not needed anymore, since everythin...
2010 Jun 13
2
[LLVMdev] CMake sample project?
I built the list by hand though trial and error. I'm not sure if and how llvm-config works with cmake. Its seems now that I got the right dependencies in the right order, there have been no ongoing maintenance issues. On Sun, Jun 13, 2010 at 4:32 PM, sam lee <skynare at gmail.com> wrote: > Ah, thank you so much. > How did you get the list of target_link_libraries() ? > Did you
2016 Oct 09
3
Embedding llvm as a git submodule in Project
...llvm in my project and I want to make llvm a git submodule in my project. http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project At this in the documentation it claims to describe how to embed llvm into a project. I tried it that way but it doesn't work, because there isn't any findLLVM.cmake in the llvm/cmake/modules directory anymore (i don't know if there was one in the past). Can someone tell me how to do it now. Timo Janssen
2010 Jun 15
1
[LLVMdev] CMake sample project?
...;s Perl, but somehow I could not get it to build on windows. I built it on MSYS. But, invoking it (llvm-config --libs) says: llvm-config: unknown component name: pic16codegen. And, llvm-config --libs core only returns -lLLVMCore (it should return -lLLVMSystem and -lLLVMSupport). And thank you for FindLLVM.cmake. When I have working llvm-config script, I'll use it. Thanks. Sam On Mon, Jun 14, 2010 at 5:14 AM, Cyrille Berger <cberger at cberger.net> wrote: > On Monday 14 June 2010, Nathan Jeffords wrote: > > I built the list by hand though trial and error. I'm not sure if an...
2012 Oct 18
2
[LLVMdev] problem with my LLVM pass
...g-llvm-pass-out-of-source >> >> i follow the instruction from the link, and create in my ~/test/ >> directory the CMakeLists.txt with following content: >> > > <snip> > >> CMake Warning at CMakeLists.txt:1 (find_package): >> Could not find module FindLLVM.cmake or a configuration file for >> package LLVM. > > This error occurs when llvm-config is not in the path. I tried the same > thing by copying the CMake snippets from the above page into a new file: > no, this is not true on my case. on my machine, llvm-config is in the path,...
2016 Oct 10
2
Embedding llvm as a git submodule in Project
...>> in my project. >> >> http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project >> >> At this in the documentation it claims to describe how to embed llvm into >> a project. I tried it that way but it doesn't work, because there isn't any >> findLLVM.cmake in the llvm/cmake/modules directory anymore (i don't know if >> there was one in the past). >> >> >> Can someone tell me how to do it now. >> >> >> Timo Janssen >> >> > _______________________________________________ > LLVM Devel...
2016 Oct 10
2
Embedding llvm as a git submodule in Project
...>>> >>> http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project >>> >>> At this in the documentation it claims to describe how to embed llvm >>> into a project. I tried it that way but it doesn't work, because there >>> isn't any findLLVM.cmake in the llvm/cmake/modules directory anymore (i >>> don't know if there was one in the past). >>> >>> >>> Can someone tell me how to do it now. >>> >>> >>> Timo Janssen >>> >>> >> _______________________...
2019 Oct 31
3
llvm-config --cxxflags should report C++ language standard version
On Thu, Oct 31, 2019 at 3:46 AM Saleem Abdulrasool <compnerd at compnerd.org> wrote: > On Wed, Oct 30, 2019 at 4:17 PM Johan Engelen <jbc.engelen at gmail.com> > wrote: > >> Hi all, >> Since 2724d9e12960cc1d93eeabbfc9aa1bffffa041cc, llvm-config -cxxflags >> no longer reports the C++ language standard version (e.g. "-std=c++14") >> used to