aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/llvm
Commit message (Collapse)AuthorAgeFilesLines
* llvm3: Fix build when S != BKhem Raj2014-05-031-4/+4
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm: don't do out-of-tree builds manuallyRoss Burton2014-01-221-8/+3
| | | | | | | | | cmake.bbclass as of oe-core 783fb88 defaults to out-of-tree builds. Use that functionality directly to clean up the recipe. Signed-off-by: Ross Burton <ross.burton@intel.com> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Update after toplevel LICENSE file checksum changeMartin Jansa2014-01-041-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm3.2: drop this versionMartin Jansa2013-10-282-23/+0
| | | | | | * 3.3 is used by default mesa config, 2.8 is used in meta-java, keep 2.9 as last in 2* Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm: include /usr/lib/libLLVM-*.so in lib packageJonathan Liu2013-08-231-4/+8
| | | | | | | | | | /usr/lib/libLLVM-*.so was being split into the dev package but it should be in the lib package otherwise software that depends on the LLVM shared library will be unable to to locate it when the dev package isn't installed. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm2: add dependency on perl-nativeMartin Jansa2013-08-141-1/+1
| | | | | | | | | * it fails without it: | -- Could NOT find Perl (missing: PERL_EXECUTABLE) | CMake Error at tools/llvm-config/CMakeLists.txt:5 (message): | Perl required but not found! Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm3.3: append --enable-zlib to EXTRA_OECONF instead of overwritingJonathan Liu2013-07-201-1/+1
| | | | | | | | The options added to EXTRA_OECONF in llvm3.inc were being overwritten with --enable-zlib in llvm3.3_3.3.bb. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm3.3: Add zlib dependency and explicitly enable itMartin Jansa2013-07-121-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm3.3: Add zlib dependency and explicitly enable itMartin Jansa2013-07-121-0/+3
| | | | | | * it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm: split packages a bit moreMartin Jansa2013-07-123-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use split for llvm3.* like we did for llvm2.* * use PACKAGESPLITFUNCS instead of populate_packages_prepend * improve regexp in PACKAGES_DYNAMIC * append ${LLVM_RELEASE} to split package name, otherwise sstate will complain about multiple recipes trying to install pkgdata * split also -staticdev and -dbg libs, PN-dbg and PN-staticdev were huge, let old PN-dbg/PN-staticdev to RDEPEND on splitted packages * mesa packages libegl-gallium, libgbm-gallium, mesa-driver-pipe-swrast, mesa-driver-pipe-vmwgfx, mesa-driver-swrast, mesa-driver-vmwgfx are now depending only on libllvm3.2-llvm-3.2 (>= 3.2) instead of main llvm3.2 package, but for llvm-3* it's not big improvement (installed size wise), because libLLVM-3.2.so was creating 99% of that size. * there are still some huge packages: llvm2.8-dbg is huge because BUILD_SHARED_LIBS is disabled for 2.8 causing all binaries in ${bindir}/.debug to contain big static libs llvm2.9 is missing, because it has BUILD_SHARED_LIBS enabled and unlike 3.* it doesn't build static versions at all unless explicitly requested 51M llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvmselectiondag-staticdev 53M llvm-test/llvm2.8/2.8-r3/packages-split/llvm2.8-dev 54M llvm-test/llvm2.8/2.8-r3/packages-split/libllvm2.8-llvmanalysis-staticdev 55M llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvmselectiondag-staticdev 62M llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvmanalysis-staticdev 63M llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvmanalysis-staticdev 67M llvm-test/llvm2.9/2.9-r3/packages-split/llvm2.9-dbg 90M llvm-test/llvm3.2/3.2-r0/packages-split/llvm3.2-dbg 92M llvm-test/llvm3.3/3.3-r0/packages-split/llvm3.3-dbg 102M llvm-test/llvm2.8/2.8-r3/packages-split/libllvm2.8-llvmcodegen-staticdev 127M llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvmcodegen-staticdev 133M llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvmcodegen-staticdev 190M llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvm-3.2-dbg 207M llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvm-3.3-dbg 628M llvm-test/llvm2.8/2.8-r3/packages-split/llvm2.8-dbg Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm: use newer class-native overrides instead of virtclassMartin Jansa2013-07-122-6/+6
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm2: don't install llvm-config to bindirMartin Jansa2013-07-121-5/+0
| | | | | | | | | | | | * there is llvm-config in binconfig/LLVM_RELEASE * this one was creating conflict between different llvm*-dev versions installed on target: ./llvm2.9/2.9-r3/packages-split/llvm2.9-dev/usr/bin/llvm2.9/llvm-config ./llvm2.9/2.9-r3/packages-split/llvm2.9-dev/usr/bin/llvm-config ./llvm2.8/2.8-r3/packages-split/llvm2.8-dev/usr/bin/llvm2.8/llvm-config ./llvm2.8/2.8-r3/packages-split/llvm2.8-dev/usr/bin/llvm-config Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm: Consolidate .inc filesMartin Jansa2013-07-127-428/+303
| | | | | | | | | | | | * unlike other recipes where we have a rule to keep only one version, llvm is different so we'll keep .inc files * llvm.inc is shared by all, llvm[23].inc are separated because 2.* is built with cmake and 3.* with automake * fix staticdev packaging and move it to shared llvm.inc FILES_${PN}-static-dev = "${libdir}/${LLVM_DIR}/*.a" (it's staticdev not static-dev) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm3.3: new recipeJonathan Liu2013-06-202-0/+119
| | | | | | | 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>
* llvm: move cross script install to separate sysroot preprocess functionJonathan Liu2013-06-201-0/+6
| | | | | | | | 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>
* llvm-common: move cross script install to sysroot preprocess functionJonathan Liu2013-06-201-1/+4
| | | | | | | | 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>
* llvm3.2: replace LLVM_RELEASE with PVJonathan Liu2013-06-201-4/+3
| | | | | | | | 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>
* llvm3.2: new recipeJonathan Liu2013-06-122-0/+120
| | | | | | | 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>
* llvm: disable build rpathJonathan Liu2013-06-122-0/+2
| | | | | | | | 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>
* llvm2.9: allow parallel native makeJonathan Liu2013-06-122-2/+5
| | | | | | | | | | * 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>
* llvm2.9: add LLVM_EXTRA_ARCH to enable X86 unless building for x86Martin Jansa2013-04-291-1/+5
| | | | | | | | * 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>
* llvm2.9: remove X86 from LLVM_TARGETS_TO_BUILDMartin Jansa2013-04-261-1/+1
| | | | | | | | | | | | | | | | | * 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>
* llvm2.9: try to fix thumb build and disable it after failureMartin Jansa2013-04-262-0/+44
| | | | | | * khem: could you check what I'm doing wrong? This is out of my league.. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm2.9: fix build with gcc-4.7Martin Jansa2013-04-262-0/+18
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* llvm2.9: Import from meta-javaMartin Jansa2013-04-262-0/+43
| | | | | | | | | | | * 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>
* llvm2.8: Import from meta-javaMartin Jansa2013-04-198-0/+421
* 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>