similar to: [LLVMdev] compile sample project with cmake?

Displaying 20 results from an estimated 50000 matches similar to: "[LLVMdev] compile sample project with cmake?"

2012 Aug 10
1
[LLVMdev] how to compile my LLVM project with CMake (on Windows)?
hi, i already successfully compiled & installled LLVM 3.1 on Windows (with CMake & Visual Studio 2008). next, i am trying to understand how to create a standalone LLVM project, and compile that on Windows (also using CMake & Visual Studio 2008). to start, i picked up the "examples\BrainF" project, renamed it to "examples\BrainF2" (and i still put BrainF2 under the
2012 Oct 18
2
[LLVMdev] problem with my LLVM pass
On Tue, Oct 9, 2012 at 9:25 PM, Jun Koi <junkoi2004 at gmail.com> wrote: > On Fri, Oct 5, 2012 at 3:45 PM, Jun Koi <junkoi2004 at gmail.com> wrote: >> On Fri, Oct 5, 2012 at 3:39 PM, David Chisnall >> <David.Chisnall at cl.cam.ac.uk> wrote: >>> On 5 Oct 2012, at 08:34, Jun Koi wrote: >>> >>>> any idea on how to fix the problem?
2012 Oct 18
0
[LLVMdev] problem with my LLVM pass
Hi Jun, On 18/10/12 11:19, Jun Koi wrote: > On Tue, Oct 9, 2012 at 9:25 PM, Jun Koi <junkoi2004 at gmail.com> wrote: >> On Fri, Oct 5, 2012 at 3:45 PM, Jun Koi <junkoi2004 at gmail.com> wrote: >>> On Fri, Oct 5, 2012 at 3:39 PM, David Chisnall >>> <David.Chisnall at cl.cam.ac.uk> wrote: >>>> On 5 Oct 2012, at 08:34, Jun Koi wrote:
2013 Feb 08
1
[LLVMdev] Cmake sample standalone project
Hi! When using LLVM there is a folder: llvm/projects/sample which contains a file structure aimed at developing own project. It seems it uses autotools. Is there anywhere such structure but cmake oriented? So I can use it to build my project as standalone project? I know I can make simple cmakes like in llvm/examples/... directories, but then I have to execute cmake from llvm source everytme I
2012 Oct 05
2
[LLVMdev] problem with my LLVM pass
On Fri, Oct 5, 2012 at 3:39 PM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote: > On 5 Oct 2012, at 08:34, Jun Koi wrote: > >> any idea on how to fix the problem? > > The correct solution is to fix the LLVM build to install the .cmake files in a location that CMake knows about. could you please elaborate? > The hacky solution that I've used is just to copy
2014 Sep 17
3
[LLVMdev] fail to compile latest llvm?
On Wed, Sep 17, 2014 at 10:14 PM, Simon Atanasyan <simon at atanasyan.com> wrote: > Hi, > > Probably you get the error because you try to build LLVM in the source > code directory. Create a separate folder, cd to this folder and run > the configure script. > > $ mkdir llvm-bld > $ cd llvm-bld > $ ../<llvm src>/configure --enable-targets=mips > $ make >
2012 Oct 09
0
[LLVMdev] problem with my LLVM pass
On Fri, Oct 5, 2012 at 3:45 PM, Jun Koi <junkoi2004 at gmail.com> wrote: > On Fri, Oct 5, 2012 at 3:39 PM, David Chisnall > <David.Chisnall at cl.cam.ac.uk> wrote: >> On 5 Oct 2012, at 08:34, Jun Koi wrote: >> >>> any idea on how to fix the problem? >> >> The correct solution is to fix the LLVM build to install the .cmake files in a location that
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})
2012 Oct 18
2
[LLVMdev] problem with my LLVM pass
On Thu, Oct 18, 2012 at 7:22 PM, Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com> wrote: > On Fri, 5 Oct 2012 13:04:46 +0530 > Jun Koi <junkoi2004 at gmail.com> wrote: > >> 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,
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
2012 Oct 18
0
[LLVMdev] problem with my LLVM pass
On Fri, 5 Oct 2012 13:04:46 +0530 Jun Koi <junkoi2004 at gmail.com> wrote: > 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: > <snip> > CMake Warning at
2010 Jun 14
0
[LLVMdev] CMake sample project?
On Monday 14 June 2010, Nathan Jeffords 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
2010 Jun 15
1
[LLVMdev] CMake sample project?
Ok, I created cmake sample project that can build fibonacci.cpp (from llvm/examples/Fibonacci/fibonacci.cpp). I am linking to all libraries. I'm on windows and I could not make llvm-config to work. How does llvm-config work? I would like to port it to Python or Lua that works on every platform. I know it's Perl, but somehow I could not get it to build on windows. I built it on MSYS. But,
2010 Jun 13
0
[LLVMdev] CMake sample project?
sam lee <skynare at gmail.com> writes: > Hi, > > I built LLVM on Windows XP through cmake and MinGW make. That was a breeze! > Now, I wanted to start a project. > It seems like I need Makefile.rules and Makefile.config to start a new > project (from http://llvm.org/docs/Projects.html). Those files are unrelated to cmake. > And llvm/projects/sample uses autoconf (or
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
2010 Jun 13
2
[LLVMdev] CMake sample project?
Hi, I built LLVM on Windows XP through cmake and MinGW make. That was a breeze! Now, I wanted to start a project. It seems like I need Makefile.rules and Makefile.config to start a new project (from http://llvm.org/docs/Projects.html). And llvm/projects/sample uses autoconf (or ./configure). Is there cmake based sample project available? I could not find any from official release. Has any of you
2010 Jun 13
0
[LLVMdev] CMake sample project?
Ah, thank you so much. How did you get the list of target_link_libraries() ? Did you use llvm-config? If you did not have access to llvm-config, how would you get list of libraries to link to? Thanks. Sam On Sun, Jun 13, 2010 at 2:44 PM, Nathan Jeffords <blunted2night at gmail.com>wrote: > This isn't meant to be a sample, but I can share with you the cmake files I > use for my
2010 Jun 13
2
[LLVMdev] CMake sample project?
This isn't meant to be a sample, but I can share with you the cmake files I use for my compiler. It builds in both windows user MSVC, and linux using G++, but should work with MinGW. the structure is src/ CMakeLists.txt # root make file front/ CMakeLists.txt # library middle/ CMakeLists.txt # library back/ CMakeLists.txt # library npp/ CMakeLists.txt # executable
2015 Feb 24
2
[LLVMdev] [RFC] Raise minimum required CMake version to 3.0
> On Feb 24, 2015, at 11:13 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> >> On Feb 24, 2015, at 9:33 AM, Chris Bieneman <beanz at apple.com> wrote: >> >>> >>> On Feb 24, 2015, at 8:45 AM, Tobias Grosser <tobias at grosser.es> wrote: >>> >>> On 09.02.2015 20:12, Chris Bieneman wrote: >>>> It
2020 May 16
2
Building A Project Against LLVM
On Fri, May 15, 2020 at 6:53 PM Neil Nelson via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Rarrum, > > Kubuntu 20.04 LTS is available. You may be able to upgrade to 19.10, and > then to 20.04 without reinstalling. It can be done on Xubuntu. A direct > upgrade to 20.04 should become available. LLVM 10 then installs from the > distribution packages. I put all this on a