Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] export of CMake project"
2011 Sep 20
0
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
Why?
-eric
On Sep 20, 2011, at 9:14 AM, Johannes Obermayr wrote:
> ---
> 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(-)
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
---
2011 Sep 20
2
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
On Tuesday 20 September 2011 11:23:05 Eric Christopher wrote:
> Why?
>
> -eric
>
Because openSUSE and many other linux distributions put all things to /usr/lib (i586) and /usr/lib64 (x86_64) or /usr/lib32.
So it is possible to install x86 and x86_64 versions at the same time ...
(See also http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-July/042068.html and
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
2014 Dec 28
5
[LLVMdev] LLD developers: is anyone using the standalone CMake build for LLD?
I suspect the answer is "no" as it dies with a hard error for me.
I don't want to fix this if it isn't being used; I would rather delete it
and avoid the complexity it brings. Thoughts?
This came up because I have changes to LLD's CMake build to support
LLVM_LIBDIR_SUFFIX more effectively, but I can't test them in a standalone
build.
-Chandler
-------------- next part
2011 Jul 30
2
[LLVMdev] [PATCH] llvm-config: Support LLVM_LIBDIR_SUFFIX on CMake build.
Hi,
here is a patch for fixing the libdir suffix issue in llvm-config on CMake builds (if using -DLLVM_LIBDIR_SUFFIX=32/64).
It works successfully on my openSUSE i586 (/usr/lib/) and x86_64 (/usr/lib64/) systems.
Please CC me on further discussion.
Thanks.
Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
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 @@
2015 Oct 07
2
Cmake-gen'd parallel make breaks on native tablegen
It should probably be inside an `if(LLVM_USE_HOST_TOOLS)` block.
That way the extra target and command won’t get added unless needed and CMake won’t spew dev warnings. Adding a target with a nonexistent dependency makes CMake dump a bunch of developer warnings.
Other than that this looks good. Does it resolve the issue for you?
-Chris
> On Oct 7, 2015, at 4:09 PM, Alex Wang <aw1621107 at
2010 Feb 10
1
[LLVMdev] llvm in a subdirectory with cmake
Hi All,
The proposed patch makes possible to use LLVM's CMake build infrastructure
(most importantly add_llvm_library and add_llvm_executable macros) from the
project that has llvm in a subdirectory.
For example:
demo/
llvm/
demo.cpp
CMakeLists.txt
where CMakeLists.txt is as follows:
# ----------------------------- Start
of CMakeLists.txt
2010 Aug 02
0
[LLVMdev] CMake broken?
I'm seeing this as well, but for the LLVMAlphaAsmParser:
CMake Error at cmake/modules/LLVMConfig.cmake:90 (message):
Library LLVMAlphaAsmPrinter not found in list of llvm libraries.
Call Stack (most recent call first):
cmake/modules/LLVMConfig.cmake:27 (explicit_map_components_to_libraries)
cmake/modules/LLVMConfig.cmake:20 (explicit_llvm_config)
cmake/modules/AddLLVM.cmake:61
2018 Mar 17
0
Building issue at configure step on ARM host (AddLLVM.cmake)
Hi,
I'm trying to build LLVM 5.0.1 with all components on ARM host. I'm not cross-compiling so everything is done natively. I use the following cmake options :
cmake -G "Unix Makefiles" ..
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_C_FLAGS="-march=armv7-a -mcpu=cortex-a9"
-DCMAKE_C_COMPILER_TARGET=arm-linux-gnueabi
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
2017 Mar 11
2
Use of host/target compiler when building compiler-rt
On Thu, Mar 9, 2017 at 3:00 PM Chris Bieneman <beanz at apple.com> wrote:
> I'll try and reproduce later today. Is this Linux? Can you give me your
> CMake command line?
>
Excuse the delay, been busy setting up a new machine - also an opportunity
to try clean cmake setups rather than my aging configurations that have a
bunch of old stuff baked in and manual variables changed,
2018 Jan 25
1
[RFC] Handling cmake policies
Currently, cmake policies are manually maintained by each project. This is
done via a set of `cmake_policy()` commands following the initial
`cmake_minimum_required()` command at the top of each CMakeLists.txt
project file.
Somewhat surprisingly, these sets are local to each project and independent
of each other -- even for in-tree builds containing multiple
sub-projects. This
is because cmake
2010 Aug 02
6
[LLVMdev] CMake broken?
Hi all,
CMake seems to have broken in the last few days - or is it just me?
tcare:llvm-release tcare$ make -j4
-- Target triple: x86_64-apple-darwin10.5.0
-- Native target architecture is X86
-- Threads enabled.
-- Building with -fPIC
-- Targeting X86
CMake Error at cmake/modules/LLVMConfig.cmake:90 (message):
Library LLVMARMAsmParser not found in list of llvm libraries.
Call Stack (most
2017 Mar 09
2
Use of host/target compiler when building compiler-rt
On Thu, Mar 9, 2017 at 11:25 AM Chris Bieneman <beanz at apple.com> wrote:
> On Mar 8, 2017, at 4:42 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
> On Wed, Mar 8, 2017 at 3:23 PM Chris Bieneman <beanz at apple.com> wrote:
>
> On Mar 8, 2017, at 3:16 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
> On Wed, Mar 8, 2017 at
2015 May 28
0
[LLVMdev] Building poolalloc with current LLVM development branch?
I'm pretty sure poolalloc is unmaintained at this point. John Criswell
would know more.
On Thu, May 28, 2015 at 11:57 AM, Christian Convey <
christian.convey at gmail.com> wrote:
> I'm starting to play around with poolalloc for the first time. I tried to
> build it as follows:
> 1) Clone llvm's git repo, and build it with cmake + ninja.
> 2) cd .../llvm/projects
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)
@@
2011 Mar 15
2
[LLVMdev] How to choose targets to build in CMake?
Hi all,
I understand from the document that I should be able to configure llvm with
only specific targets
by passing -DLLVM_TARGETS_TO_BUILD=some-backend to cmake.
However, I get the following errors whenever I don't include X86 in the
target list:
CMake Error at cmake/modules/LLVMConfig.cmake:127 (message):
Library `X86' not found in list of llvm libraries.
Call Stack (most recent
2012 Oct 05
4
[LLVMdev] problem with my LLVM pass
hi,
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:
$cat test/CMakeLists.txt
find_package(LLVM)
# Define add_llvm_* macro's.
include(AddLLVM)
add_definitions(${LLVM_DEFINITIONS})