Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] LLVM Cmake module?"
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 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
2010 Nov 03
6
[LLVMdev] LLVM Cmake module?
Eli Gottlieb <eligottlieb at gmail.com> writes:
> 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
2010 Nov 04
0
[LLVMdev] LLVM Cmake module?
After I actually get everything compiling, install the library, and load
it from my Java program, I get the following:
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /usr/lib/libjllvm.so: /usr/lib/libjllvm.so: undefined symbol:
> _ZTVN10__cxxabiv120__si_class_type_infoE
If I have to guess, this means that the CMake stuff given is linking to
the C++ libraries
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
2010 Jan 31
3
[LLVMdev] llvm-gcc 4.0 question
Thanks for responding, Duncan, and clarifying that y'all need more info
to help.
I'm trying to compile binaries on os x 10.5.8 intel hardware that are
compatible on ppc os x 10.4.
When I include various flags to llvm-gcc, including: -m32 -arch ppc
-isysroot /Developer/SDKs/MacOS10.4u.sdk -mmacosx-version-min=10.4
I am seeing errors when compiling using llvm-gcc 4.2.
If I leave out
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
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
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
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 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?
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
2012 Dec 29
2
[LLVMdev] Building on LLVM on OSX: invalid install?
Dear all,
I am trying to move a project from Linux to OSX, with bad results at my
first attempt. First, I am using LLVM 3.2, the latest version, compiled
from sources (configured with just the install prefix, vanilla for other
options).
By the way, I found it annoying to reinstall LLVM, I expected a complete
and working LLVM environment with Apple's move to CLANG, but maybe I
didn't
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
2005 Feb 10
2
[LLVMdev] Add ability for external projects use for build installed version LLVM [PATCH]
> Vladimir,
>
> I took a *very quick* look at your patch. I won't be able to look at it in
> more detail until this weekend, but perhaps you can address a couple of
> concerns:
>
> 1. I don't understand the need for LLVMToolDirSlash. This seems like a
> gratuitous change to me.
If LLVM_OBJ_ROOT (with LLVM_SRC_ROOT) and LLVM_ROOT both not set
without
2012 Nov 24
2
[LLVMdev] LLVMConfig not found
Hello.
I am trying to install jllvm (http://code.google.com/p/jllvm/) on my
gentoo linux system.
I already have llvm-3.1 installed by the packager manager.
The jllvm build mechanism uses the file LLVMConfig.cmake. There is no
such file installed on my system. Therefore I cannot install jllvm.
Checking the sources of llvm-3.1 and llvm-3.0 one find the files
2018 Nov 27
3
Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
I think most people are using ninja to do the build. You can still use the
Visual Studio generator for the IDE experience while doing build from
ninja. I know there are a couple of people who build from inside of Visual
Studio, but it's a pretty small number, and I don't think they are
targeting WebAssembly.
On Tue, Nov 27, 2018 at 12:46 PM Osman Zakir via llvm-dev <
llvm-dev at
2005 Feb 11
0
[LLVMdev] Add ability for external projects use for buildinstalled version LLVM [PATCH]
>> Before this change is committed, you need to test that all our scenarios,
>> in each combination:
>>
>> 1. Both with and without OBJ_DIR == SRC_DIR
>> 2. Single and Parallel builds
>> 3. Building LLVM versus building a project (and now building from
>> installed)
> ok, will do...
>
> I found some bugs in my patch and then I will send updated
2018 Nov 28
2
Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
@Jonathan Goodwin: Do I have to use a flag to tell it where the LLVM include files are? And would it be easier to do that in the CMake GUI? Please tell me how you had it find the include files if that may help me.
________________________________
From: Jonathan Goodwin <jondgoodwin at gmail.com>
Sent: Wednesday, November 28, 2018 6:24 AM
To: zturner at google.com
Cc: Osman Zakir; llvm-dev
2009 Nov 02
0
[LLVMdev] llvm-mc build fails
John Myers <atomicdog.jwm at gmail.com> writes:
> I'm looking for some pointers on how to troubleshoot this problem. I'm
> trying to write a backend for the AVR.
> There is an undefined reference at line 48 which is the line FrameInfo() is
> on. I've tried to use the MSP430 and other targets as references so I'm not
> sure
> what changes I did would cause a