Commit Graph

13 Commits

Author SHA1 Message Date
Jonathan Liu
26366c8101 llvm3.3: new recipe
arm_fenv_uclibc.patch was copied from llvm3.2 recipe.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-20 12:29:56 +02:00
Jonathan Liu
4704e25200 llvm: move cross script install to separate sysroot preprocess function
The llvm-config2.x script doesn't get placed in the target sysroot
crosscripts directory otherwise.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-20 12:29:56 +02:00
Jonathan Liu
90e34fa05a llvm-common: move cross script install to sysroot preprocess function
The llvm-config script doesn't get placed in the target sysroot
crossscripts directory otherwise.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-20 12:29:56 +02:00
Jonathan Liu
76187e9a79 llvm3.2: replace LLVM_RELEASE with PV
Setting LLVM_RELEASE is redundant as the version can be retrieved from
PV instead.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-20 12:29:56 +02:00
Jonathan Liu
5be2e7a096 llvm3.2: new recipe
arm_fenv_uclibc.patch was copied from llvm2.9 recipe.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-12 16:23:22 +02:00
Jonathan Liu
8b9c1d2213 llvm: disable build rpath
This avoids QA Issue where tblgen has an rpath to lib in the shadow
build directory.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-12 16:23:22 +02:00
Jonathan Liu
a3ccaa1009 llvm2.9: allow parallel native make
* fix parallel build
  Doing a parallel build may result in the following:
  *** No rule to make target `native/bin/tblgen', needed by `include/llvm/Intrinsics.gen.tmp'
  Avoid this by building tblgen first before building the rest of llvm.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-12 16:23:22 +02:00
Martin Jansa
69400d286b llvm2.9: add LLVM_EXTRA_ARCH to enable X86 unless building for x86
* now I see why it was there before, at least on arm it fails with:
  | CMake Error at cmake/modules/LLVMConfig.cmake:127 (message):
  |   Library `X86' not found in list of llvm libraries.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-29 10:37:32 +02:00
Martin Jansa
5399efdc66 llvm2.9: remove X86 from LLVM_TARGETS_TO_BUILD
* when building for qemux86* it tries to build X86 twice and fails with:
  | CMake Error at lib/Target/CMakeLists.txt:24 (add_subdirectory):
  |   The binary directory
  |
  |     /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-oe-linux/llvm2.9/2.9-r2.0/llvm-2.9/build/lib/Target/X86
  |
  |   is already used to build a source directory.  It cannot be used to build
  |   source directory
  |
  |     /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-oe-linux/llvm2.9/2.9-r2.0/llvm-2.9/lib/Target/X86
  |
  |   Specify a unique binary directory name.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 19:40:50 +02:00
Martin Jansa
9d68ba4fc2 llvm2.9: try to fix thumb build and disable it after failure
* khem: could you check what I'm doing wrong? This is out of my league..

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 10:00:32 +02:00
Martin Jansa
87ccfd07de llvm2.9: fix build with gcc-4.7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 10:00:32 +02:00
Martin Jansa
265e58da86 llvm2.9: Import from meta-java
* llvm is generic enough to be useful outside meta-java
  e.g. we need it to enable llvmpipe galium driver in mesa

* imported without any modification (except indentation), all
  credits go to Henning Heinold and Khem Raj for maintaining
  it in meta-java

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 10:00:32 +02:00
Martin Jansa
334f77d587 llvm2.8: Import from meta-java
* llvm is generic enough to be useful outside meta-java
  e.g. we need it to enable llvmpipe galium driver in mesa

* imported without any modification (except indentation), all
  credits go to Henning Heinold and Khem Raj for maintaining
  it in meta-java

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00