similar to: [LLVMdev] problem with my LLVM pass

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] problem with my LLVM pass"

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
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,
2016 Oct 10
2
Embedding llvm as a git submodule in Project
Hi Timo: You need to find LLVMConfig.cmake in the binary or install directory tree, not the source tree. Although I don't embed clang/llvm, my config might help you figure it -- clang/llvm installed under (could have used build directory) ~/usr : $ cd /Users/dhinton/projects/cover/build/ && rm -rf * && CC=~/usr/bin/clang CXX=~/usr/bin/clang++ LLVM_DIR=~/usr/lib/cmake/llvm
2016 Oct 09
3
Embedding llvm as a git submodule in Project
Hi all. I want to use 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
2016 Oct 10
2
Embedding llvm as a git submodule in Project
Sorry my example wasn't helpful. I did take a quick look at rust -- though I didn't download or try to build it -- and they seem to allow you to use an installed or prebuilt version in addition to building it in-tree. However, even when they build it in-tree, they build the whole thing -- see mk/llvm.mk. Good luck... On Mon, Oct 10, 2016 at 1:33 AM, Timo Janssen via llvm-dev <
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 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
> > *hi,Óscar:* > * * > >Why? Please describe a case. > > >I need to do some futher experiment and to see whether I have been > wrong. > Since I touch this problem several months ago, so I did some test using the 3.2svn, the reason why uninstalled build 'cmake not work lies in set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@) set(LLVM_INCLUDE_DIRS
2012 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
hume npx <humeafo at gmail.com> writes: > Hi, Óscar: > nice to hear some voice on this. about LLVM_TOOLS_BINARY_DIR, yes, it > made the installed version work only, if you'd like the uninstalled version > to work, it should be detected as you suggested. > > about LLVM_INSTALL_PREFIX the purpose is to make it really relocatable, > eg, when installed under
2018 Feb 23
3
cmake + llvm : issue when embedding llvm
Hi everybody, I'm trying to build my own project that use LLVM. I downloaded the source code and the pre-compiled package on the official web site (last version):     http://releases.llvm.org/download.html I downloaded the following :     LLVM source code     Clang for Windows (64-bit) FYI, I don't build LLVM... only want to use it ! I followed the instruction here (
2012 Jun 29
0
[LLVMdev] [cfe-dev] is configure+make dead yet?
*hi,Óscar:* * * >LLVM_INSTALL_PREFIX is supposed to contain the value of > >CMAKE_INSTALL_PREFIX when you configured LLVM. Using it for setting > >other variables is just a convenience. > > Ok, I understood your point, so I'd like to develop another patch to make > it relocatable and respect the original meanings. > > >CMAKE_CURRENT_LIST_FILE can be
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 Jun 29
0
[LLVMdev] [cfe-dev] is configure+make dead yet?
*hi,Óscar:* * * *so following patch should address both the relocation problem and uninstall tree problem, not fully tested just for discussion.* * * Index: LLVMConfig.cmake.in =================================================================== --- LLVMConfig.cmake.in (revision 159425) +++ LLVMConfig.cmake.in (working copy) @@ -32,8 +32,11 @@ set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
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?
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
2018 Feb 23
0
cmake + llvm : issue when embedding llvm
Hi Christophe, please keep this discussion on the list (re-added), so others can correct me if I'm wrong or am giving bad advice. If there is no dev package included or available for windows, then this means that you need to build LLVM yourself, I"m afraid. Cheers, Philip 2018-02-23 16:37 GMT+01:00 Christophe Demez <christophe.demez at luciad.com>: > Thanks a lot Philip,
2018 Feb 26
1
cmake + llvm : issue when embedding llvm
Thanks, I can rebuild... but then why do they provide a pre-build package ? And anyway, I should continue to have the same cmake issue, right ? On 23/02/2018 17:30, Philip Pfaffe wrote: > Hi Christophe, > > please keep this discussion on the list (re-added), so others can > correct me if I'm wrong or am giving bad advice. > > If there is no dev package included or
2012 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
hume npx <humeafo at gmail.com> writes: > *hi,Óscar:* > * > * > *so following patch should address both the relocation problem and > uninstall tree problem, not fully tested just for discussion.* > * > * > Index: LLVMConfig.cmake.in > =================================================================== > --- LLVMConfig.cmake.in (revision 159425) > +++
2020 May 15
2
Building A Project Against LLVM
I decided to start playing around with building my own programming language recently, and to use LLVM to handle the assembly-level details. I'm on Kubuntu 18.04, and I started out using LLVM 6.0 from Kubuntu's packages. I put together code for dealing with my language, then went over the Kaleidoscope tutorials (which have been extremely helpful btw!). I was able to successfully get my
2011 Sep 20
2
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
--- autoconf/configure.ac | 4 +++- cmake/modules/LLVMConfig.cmake.in | 3 ++- configure | 4 +++- tools/llvm-config/Makefile | 6 ++++++ tools/llvm-config/llvm-config.in.in | 3 ++- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index f3e94e8..cd943cc 100644 ---