Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Understanding some of the recent cmake build changes"
2017 Jul 20
3
FYI: Ninja-build user may use CMake-3.9
This is useful for developer who uses multicore builder.
https://cmake.org/cmake/help/v3.9/release/3.9.html#other-changes
- The Ninja
<https://cmake.org/cmake/help/v3.9/generator/Ninja.html#generator:Ninja>
generator
has loosened the dependencies of object compilation. Object compilation now
depends only on custom targets and custom commands associated with
libraries on
2017 Jul 20
2
FYI: Ninja-build user may use CMake-3.9
On Fri, Jul 21, 2017 at 1:16 AM Reid Kleckner <rnk at google.com> wrote:
> This is great news! Do we know who contributed the changes to cut the
> extra library dependencies?
>
> Do you think we should remove ENABLE_OBJLIB to simplify our CMake files in
> the near future? It seems to me that anyone who cares about highly parallel
> build throughput can upgrade CMake to get
2015 Oct 20
2
Cmake-gen'd parallel make breaks on native tablegen
Looks good to me!
I can commit this for you today.
Thanks!
-Chris
> On Oct 19, 2015, at 2:40 PM, Alex Wang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Looks like the LLVMSupport patch didn't get everything -- build failed in the
> same way on libLLVMTableGen. Problem/solution looked the same as for
> LLVMSupport, so just tweaked the previous patch, and
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)
2020 Aug 06
3
Newbie question on building with Visual Studio
I made a simple edit to TGlexer.h, which is part of TableGen. Then, in Visual Studio, I asked it to build Tablegen. I got the following output:
1>------ Build started: Project: LLVMTableGen, Configuration: Release x64 ------
1>Main.cpp
1>TGLexer.cpp
1>TGParser.cpp
1>LLVMTableGen.vcxproj -> D:\LLVM\Build\Release\lib\LLVMTableGen.lib
========== Build: 1 succeeded, 0 failed, 3
2010 Sep 09
2
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
While implementing the object file library I ran into some weird
linking issues. It turned out that you have to manually specify extra
library dependencies in LLVMLibDeps.cmake, along with what you already
specify in the CMakeLists.txt file for the component.
The attached patches remove this requirement, and add real CMake
package export capabilities. A CMake user wishing to use LLVM can now
use
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 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
2017 Oct 17
2
liblldCommon is broken at head
ninja all check-xray
[0/981] Building libLLVMTableGen for native TableGen...
ninja: no work to do.
[673/979] Linking CXX shared library lib/liblldCommon.so.6.0.0svn
FAILED: lib/liblldCommon.so.6.0.0svn
: && /usr/bin/clang++-3.9 -fPIC -Wpedantic -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
2015 Oct 08
4
Cmake-gen'd parallel make breaks on native tablegen
Alright, this version works for me.
Anything else that needs to be done?
-Alex
> On Oct 7, 2015, at 8:15 PM, Alex Wang <aw1621107 at gmail.com> wrote:
>
> diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
> index 452a728..cb06450 100644
> --- a/cmake/modules/TableGen.cmake
> +++ b/cmake/modules/TableGen.cmake
> @@ -70,6 +70,15 @@
2017 Oct 14
3
darwin bootstrap failure
On Sat, Oct 14, 2017 at 10:25 AM, Don Hinton <hintonda at gmail.com> wrote:
> Hi Jack:
>
> Looks like I missed this one in my recent change.
>
> Please let me know if this solves your problem:
>
> $ git diff
> diff --git a/utils/TableGen/InfoByHwMode.cpp
> b/utils/TableGen/InfoByHwMode.cpp
> index 7e1e1864356..8d3636432aa 100644
> ---
2017 Oct 14
2
darwin bootstrap failure
Is anyone else seeing this bootstrap failure on current svn trunk?
[ 6%] Linking CXX executable ../../bin/llvm-tblgen
cd /sw/src/fink.build/llvm60-6.0.0-1/build/stage1/utils/TableGen &&
/sw/bin/cmake -E cmake_link_script CMakeFiles/llvm-tblgen.dir/link.txt
--verbose=1
/sw/src/fink.build/llvm60-6.0.0-1/opt-bin/ccclang++ -fno-common -fPIC
-fvisibility-inlines-hidden -Werror=date-time
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)
@@
2010 Sep 09
0
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
On Sep 8, 2010, at 5:39 PM, Michael Spencer wrote:
> While implementing the object file library I ran into some weird
> linking issues. It turned out that you have to manually specify extra
> library dependencies in LLVMLibDeps.cmake, along with what you already
> specify in the CMakeLists.txt file for the component.
>
> The attached patches remove this requirement, and add
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)
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
2017 Oct 14
2
darwin bootstrap failure
On Sat, Oct 14, 2017 at 11:25 AM, Don Hinton <hintonda at gmail.com> wrote:
> Hi Jack:
>
> Yes, I was just looking at that. Seems like TableGen wasn't done along
> with the rest of llvm. I'll work up a complete patch shortly.
>
> Btw, I'm curious how this happened. Do you have a stale CMakeCache.txt by
> any chance? You might check the value for
2017 Oct 15
2
darwin bootstrap failure
On Sat, Oct 14, 2017 at 11:25 AM, Don Hinton via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi Jack:
>
> Yes, I was just looking at that. Seems like TableGen wasn't done along with
> the rest of llvm. I'll work up a complete patch shortly.
This also broke the build for MSVC when doing a debug build (though no
builder seems to be picking up the failure!). After
2020 Mar 26
12
Upgrading LLVM's minimum required CMake version
We had this discussion a few months ago and it petered out, and it’s recently been revived in the context of upgrading the CMake version specifically for libc++ (at which point people suggested upgrading the CMake version used by all of LLVM), so let’s try to move this forward.
Our current required minimum version is CMake 3.4.3, which was released on January 25th 2016. It’s interesting to note
2017 Oct 15
2
darwin bootstrap failure
On Sun, Oct 15, 2017 at 10:58 AM, Don Hinton <hintonda at gmail.com> wrote:
> Thanks Aaron.
>
> I don't have a Windows system, and haven't seen any buildbot failures, so I
> it's difficult to come up with a patch for something I can't reproduce
> locally or see any actual failures. Could you send me the commands you used
> that uncovered the failure?
This