Displaying 20 results from an estimated 500 matches similar to: "How to link against all available targets - problems with NVPTX?"
2020 May 16
2
Building A Project Against LLVM
I've managed to get 10.0.0 working now.. there were a couple things I had
to adjust.
The Kaleidoscope example had me doing this before creating the object file:
llvm::InitializeAllTargetInfos();
llvm::InitializeAllTargets();
llvm::InitializeAllTargetMCs();
llvm::InitializeAllAsmParsers();
llvm::InitializeAllAsmPrinters();
It turns out I can get away with just this, since I'm not (yet)
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
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans,
I have posted a complete patch for solving the linkage issues
with LLVM_LINK_LLVM_DYLIB on Phabricator at
http://reviews.llvm.org/D16945. The bulk of the fix the simple
changes of...
Index: cmake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake (revision 259743)
+++ cmake/modules/AddLLVM.cmake (working copy)
@@
2017 Oct 23
2
Correctly linking against libLLVM (single shared library build)
Hi,
In SUSE we have recently switched from building LLVM as multiple shared
libraries (using BUILD_SHARED_LIBS) to building it as a single shared library
(using LLVM_BUILD_LLVM_DYLIB).
The multiple shared libraries build was causing issues and apparently it is
only meant for LLVM developers. Our guidelines prohibit linking against static
libraries unless there is no other option.
After this
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
On Mon, Feb 8, 2016 at 12:45 PM, Hans Wennborg <hans at chromium.org> wrote:
> Chris Bieneman is probably your best bet, and maybe also Dan Liew.
>
Hans,
My current, and hopefully final, revision of the proposed patch
is simplified and reworked to solve the problem entirely from cmake
without touching the the llvm-build python scripts. Basically, the new
fix for avoiding the
2019 Sep 18
2
EngineBuilder(std::move(Owner)).create() return null
I just copy the latest code in HowToUseJIT and run, but
the EngineBuilder(std::move(Owner)).create() keeps return null, any idea
why?
Here's my CMakeList:
cmake_minimum_required(VERSION 3.12)
project(llvm_test)
set(CMAKE_CXX_STANDARD 14)
find_package(LLVM REQUIRED CONFIG)
llvm_map_components_to_libnames(llvm_libs support core irreader orcjit native)
add_executable(llvm_test main.cpp)
2019 Sep 18
2
EngineBuilder(std::move(Owner)).create() return null
I found a private ErrorStr member, but didn't find the get function of this
member, could you tell me how I can get the error message?
On Wed, Sep 18, 2019 at 4:02 PM mayuyu.io <admin at mayuyu.io> wrote:
> Isn’t there a method in EngineBuilder to get the error message or
> something?
> I assume it’s you didn’t link in the JIT module
>
> Zhang
>
> 在
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 Dec 12
0
[LLVMdev] buildbot failure
On Dec 12, 2011, at 2:12 PM, Tony Linthicum wrote:
> Hi folks,
>
> I just committed a new backend for the Hexagon processor. After committing, I was able to successfully check out, build and test with the new changes. The x86_64 build on the buildbot is failing, however. Here's the build error:
>
> llvm[2]: Linking Debug+Asserts executable llvm-mc
>
2018 Mar 02
2
EngineBuilder().create() => NULL
Hi,
I try to create an execution engine, but I always got a nullptr value :
_executionEngine = EngineBuilder(std::move(_module)).create();
I build my project with cmake and add the following command in my cmake.
llvm_map_components_to_libnames(llvm_libs Analysis Core
ExecutionEngine InstCombine Object RuntimeDyld ScalarOpts Support native
mcjit)
BTW, I have also try to execute the
2011 Dec 12
2
[LLVMdev] buildbot failure
On 12/12/2011 4:28 PM, Jakob Stoklund Olesen wrote:
>
> On Dec 12, 2011, at 2:12 PM, Tony Linthicum wrote:
>
>> Hi folks,
>>
>> I just committed a new backend for the Hexagon processor. After
>> committing, I was able to successfully check out, build and test with
>> the new changes. The x86_64 build on the buildbot is failing,
>> however.
2017 Nov 16
2
Correctly linking against libLLVM (single shared library build)
On 11/14/2017, 01:26 AM, Chris Bieneman wrote:
> Sorry for the delayed response. I've been out of town a lot lately.
>
> The documentation you referenced is unfortunately out of date (you might notice it still references autoconf). I'll see if I can find time to update it, but the guidance should be to use the `llvm_config` CMake function instead. The proper usage of that in the
2011 Dec 12
2
[LLVMdev] buildbot failure
On Dec 12, 2011, at 2:41 PM, Eric Christopher wrote:
>
> On Dec 12, 2011, at 2:36 PM, Tony Linthicum wrote:
>
>> On 12/12/2011 4:28 PM, Jakob Stoklund Olesen wrote:
>>>
>>>
>>> On Dec 12, 2011, at 2:12 PM, Tony Linthicum wrote:
>>>
>>>> Hi folks,
>>>>
>>>> I just committed a new backend for the Hexagon
2017 Mar 23
2
Does InitializeAllTargets when only some enabled ?
Do the InitializeAllTargets*() routines call the initialisation routines of
all targets even when only some are built ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170323/08bd52a0/attachment.html>
2011 Dec 12
0
[LLVMdev] buildbot failure
On Dec 12, 2011, at 2:36 PM, Tony Linthicum wrote:
> On 12/12/2011 4:28 PM, Jakob Stoklund Olesen wrote:
>>
>>
>> On Dec 12, 2011, at 2:12 PM, Tony Linthicum wrote:
>>
>>> Hi folks,
>>>
>>> I just committed a new backend for the Hexagon processor. After committing, I was able to successfully check out, build and test with the new changes.
2011 Dec 12
2
[LLVMdev] buildbot failure
On Dec 12, 2011, at 2:51 PM, Tony Linthicum wrote:
> On 12/12/2011 4:49 PM, Eric Christopher wrote:
>>
>>
>> On Dec 12, 2011, at 2:41 PM, Eric Christopher wrote:
>>
>>>
>>> On Dec 12, 2011, at 2:36 PM, Tony Linthicum wrote:
>>>
>>>> On 12/12/2011 4:28 PM, Jakob Stoklund Olesen wrote:
>>>>>
>>>>>
2011 Dec 12
0
[LLVMdev] buildbot failure
On 12/12/2011 4:49 PM, Eric Christopher wrote:
>
> On Dec 12, 2011, at 2:41 PM, Eric Christopher wrote:
>
>>
>> On Dec 12, 2011, at 2:36 PM, Tony Linthicum wrote:
>>
>>> On 12/12/2011 4:28 PM, Jakob Stoklund Olesen wrote:
>>>>
>>>> On Dec 12, 2011, at 2:12 PM, Tony Linthicum wrote:
>>>>
>>>>> Hi folks,
2011 Dec 13
0
[LLVMdev] buildbot failure
I'm hitting this. Is there ETA for the fix?
Evan
On Dec 12, 2011, at 2:58 PM, Daniel Dunbar wrote:
>
> On Dec 12, 2011, at 2:51 PM, Tony Linthicum wrote:
>
>> On 12/12/2011 4:49 PM, Eric Christopher wrote:
>>>
>>>
>>> On Dec 12, 2011, at 2:41 PM, Eric Christopher wrote:
>>>
>>>>
>>>> On Dec 12, 2011, at 2:36
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
2018 Mar 02
0
EngineBuilder().create() => NULL
EngineBuilder should provided an error string option, try printing it out?
Zhang
> 在 2018年3月2日,上午8:23,Christophe Demez via llvm-dev <llvm-dev at lists.llvm.org> 写道:
>
> Hi,
>
> I try to create an execution engine, but I always got a nullptr value :
>
> _executionEngine = EngineBuilder(std::move(_module)).create();
>
> I build my project with cmake and add