Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] CMake sample project?"
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
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
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?
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 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 Nov 03
2
[LLVMdev] LLVM Cmake module?
[Please CC the mailing list]
Eli Gottlieb <eligottlieb at gmail.com> writes:
> OK, I'm just going to paste in my CMakeLists.txt file. Like I said,
> I'm building an LLVM install myself by untarring llvm, mkdir build in
> the root dir of the source, cd build/, cmake .., make.
>
>> cmake_minimum_required (VERSION 2.6)
>> project (libjllvm)
>>
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
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
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
Hi again,
I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To
do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and
did a slight rewrite of my CMakeLists.txt file for building the C code.
Problem is, cmake no longer finishes at all. I receive the
following output, and then it just runs forever (while still responding
to a CTRL-C):
> eli at
2012 Jul 23
2
[LLVMdev] building a pass with cmake
Dear all,
I want to build an LLVM pass by using CMake.
After reading the ralevant part of the documentation (
http://llvm.org/releases/3.1/docs/CMake.html#passdev),
I copied the files in the llvm/lib/Transforms/Hello to another folder in
order to give a try.
Then I renamed the folder as Hello2.
Then I have changed CMakeLists.txt as following:
cmake_minimum_required(VERSION 2.8)
# A
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
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
2017 Sep 19
0
Help with segfault in llvm_shutdown with LLVM 5.0 Release build
On 9/18/2017 8:20 PM, Diptorup Deb via llvm-dev wrote:
> Hi,
>
> We are upgrading an LLVM 4.0-based opt module to LLVM 5.0. After the
> upgrade our module works when built with an LLVM Debug build, but
> with an LLVM Release build we are encountering the following error.
>
> This happens after our passes have successfully run. I believe this
> has to do with the way our
2017 Sep 19
3
Help with segfault in llvm_shutdown with LLVM 5.0 Release build
Hi,
We are upgrading an LLVM 4.0-based opt module to LLVM 5.0. After the
upgrade our module works when built with an LLVM Debug build, but
with an LLVM Release build we are encountering the following error.
This happens after our passes have successfully run. I believe this has
to do with the way our passes are registered. Would greatly appreciate
some pointers, as to where to look.
Program
2010 Nov 03
0
[LLVMdev] LLVM Cmake module?
I compiled and installed it to the prefix /usr, but that's not the
issue. Once I actually compile and install LLVM with CMake by hand, I
get the share/llvm/cmake stuff installed correctly (can those files be
included in "normal" builds, or will LLVM switch to CMake as its primary
build system?). Now I'm running into the problem of cflags or includes
or something not being
2012 Jul 23
0
[LLVMdev] building a pass with cmake
erkan diken <erkandiken at gmail.com> writes:
[snip]
> It seems that cmake is ok. When I run make install, it gives errors (see
> below) and i think the reason is that it can not find the directory to llvm
> header files.
> I could not figure it out which variable to set and how to use it in order
> to point the required directory ?
> ( as in the make pass build which
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
2009 Mar 04
2
[LLVMdev] automatic discovery of new CMake projects
Hi all,
The suggested patch enables addition of all subdirectories of
llvm/projects to CMake build.
It somewhat simplifies the process of creating new projects that use
CMake instead of make, eliminating the need of editing
llvm/CMakeLists.txt and llvm/projects/CMakeLists.txt.
Best regards,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Mar 04
2
[LLVMdev] automatic discovery of new CMake projects
"Viktar Zviarovich" <Viktar.Zviarovich at brunel.ac.uk> writes:
> The suggested patch enables addition of all subdirectories of
> llvm/projects to CMake build.
>
> It somewhat simplifies the process of creating new projects that use
> CMake instead of make, eliminating the need of editing
> llvm/CMakeLists.txt and llvm/projects/CMakeLists.txt.
This is not
2009 Mar 04
0
[LLVMdev] automatic discovery of new CMake projects
Sorry, attached the wrong patch last time.
________________________________
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Viktar Zviarovich
Sent: 04 March 2009 14:19
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] automatic discovery of new CMake projects
Hi all,
The suggested patch enables addition of all subdirectories of
llvm/projects to