summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ony use llvm-libunwind if clang is selectedRoss Burton2016-05-251-0/+3
|
* clang: don't depend on native perl or pythonRoss Burton2016-05-241-1/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest 3.9 branchKhem Raj2016-05-229-89/+136
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix the musl libc function patchKhem Raj2016-05-211-9/+36
| | | | | | | Include stat64/lstat64/fstat64 to list Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Package cmake files in devel packageKhem Raj2016-05-211-0/+1
| | | | | | | | | | | | | Fixed QA warning e.g. ERROR: QA Issue: clang: Files/directories were installed but not shipped in any package: /usr/lib/cmake /usr/lib/cmake/clang /usr/lib/cmake/llvm /usr/lib/cmake/clang/ClangTargets-release.cmake /usr/lib/cmake/clang/ClangConfig.cmake Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix build with muslKhem Raj2016-05-213-128/+63
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Pin versions on master branchKhem Raj2016-05-201-6/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/libs: Update LIC_FILES_CHKSUM md5 sumsKhem Raj2016-05-204-4/+4
| | | | | | Update copyright year to 2016 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Switch to master (3.9) branchKhem Raj2016-05-2020-416/+259
| | | | | | Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Add nodejs for armv7Khem Raj2016-05-161-0/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge pull request #19 from rojkov/masterKhem Raj2016-05-161-0/+1
|\ | | | | clang_git.bb: Add dep on clang-native to clang
| * clang_git.bb: Add dep on clang-native to clangDmitry Rozhkov2016-05-161-0/+1
|/ | | | | | | Otherwise llvm-tblgen cannot be found if clang happens to be built before clang-native. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
* compiler-rt: Add missing deps on gcc runtimeKhem Raj2016-05-111-6/+9
| | | | | | | Check for directory ${D}${libdir}/linux before operating on it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Add mpfr for mips64Khem Raj2016-05-111-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-environment: Drop toolchain-clang overrideKhem Raj2016-05-101-6/+6
| | | | | | It does not work and moreover its redundant Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-environment: Remove cmdline options unknown to clangKhem Raj2016-05-101-0/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build with OE target tripletsKhem Raj2016-05-103-2/+70
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge pull request #17 from dankm/backportsKhem Raj2016-05-102-0/+100
|\ | | | | clang: backport -I= support
| * clang: backport -I= supportDaniel McGregor2016-05-102-0/+100
|/ | | | | | | | | | This solves some clang issues. A few recipes rely on gcc's -I= syntax. This is a backport of the feature to the 3.8 branch. It's already in 3.9. See https://llvm.org/bugs/show_bug.cgi?id=26965 Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
* clang: use 64bit long double on ppc/muslKhem Raj2016-05-102-0/+28
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix build for 64bit targetsKhem Raj2016-05-102-0/+67
| | | | | | | | | | ldso was not as per OE norms when building for 64bit machines. This patch makes the baselib point to /lib and fixes the issue it also means that the apps wont work for mutlilib where baselib != /lib Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Use gcc for mips64Khem Raj2016-05-101-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Dont use toolchain-clang overrideKhem Raj2016-05-101-2/+2
| | | | | | | Its redundant to use it since we are pinning to gcc always for arm < v6 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix ldso for musl based systemsKhem Raj2016-05-102-19/+31
| | | | | | | | | Existing patches were fine however it was resetting the ld.so since we were following through the musl case and subsequent flow would overwrite the computed value of ldso Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Use gcc for mpfr/mipsKhem Raj2016-05-101-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Fix build of libaio on clang/mipsKhem Raj2016-05-101-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Tweak cflags for icu and rubyKhem Raj2016-05-101-0/+14
| | | | | | | | | | | icu on clang (arm < v5 ) needs atomics which are not there in libgcc ruby configure triggers on -pie since clang is kind enough to warn about a linker option on compile cmdline, but its treated as error Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build when blacklist files are installedKhem Raj2016-05-091-4/+8
| | | | | | | | | | We build with COMPILER_RT_STANDALONE_BUILD=1 and that makes the install locaiton to be /usr and not something clang verison specific in /usr/lib so we have to manually move the bits to proper location after regular install Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Fix a typo for perf exlusionKhem Raj2016-05-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Add missing dep on libcKhem Raj2016-05-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-libs: Fix build on x86_64 and use gcc for all cross recipesKhem Raj2016-05-083-13/+18
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* README: Update documntation to reflect the recent conf file changesKhem Raj2016-05-061-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Move pinning TOOLCHAIN to a conf file instead of recipes-excluded bbappendsRoss Burton2016-05-0659-113/+58
| | | | | Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-cross: Remove dep on libc-for-gccKhem Raj2016-05-063-3/+2
| | | | | | | | We do not need libc to build clang Add dep on clang-cross when building musl with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Switch default compiler option to remain gccKhem Raj2016-05-052-14/+7
| | | | | | | | | | | Users find it too intrusive that clang becomes the default compiler, they would like to invoke it on demand for certain packages only. Use TOOLCHAIN ?= "clang" in local.conf if you want clang to become default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* README: Document default compiler switch behaviorKhem Raj2016-05-051-4/+21
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Adjust to build master recipes as wellKhem Raj2016-05-022-5/+23
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang: Move to tip of 3.8 branchKhem Raj2016-04-301-8/+8
| | | | | | | Make the SRCREV, PV, BRANCH weak assignments so they can be overridden Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix indentation and return code from loopsKhem Raj2016-04-201-11/+13
| | | | | | Potentially fixes #16 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-runtime: Enable shared librariesKhem Raj2016-04-055-8/+9
| | | | | | | | package libcxxabi-dev and compiler-rt-staticdev into packagegroup-core-standalone-sdk-target so it gets into SDK Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-core-standalone-sdk-target: Add clang runtime libsKhem Raj2016-04-044-0/+11
| | | | | | | ALLOW_EMPTY is added so packaging can succeed the files are all static libs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Enable sanitizersKhem Raj2016-04-041-4/+15
| | | | | | | | | Fix the code to make them buildable Dont package libclang_rt.asan shared object yet it links with libstdc++, we need to make it use libc++ and then we can package it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Remove -ffreestanding from compiler flagsKhem Raj2016-04-042-4/+4
| | | | | | | | we are targetting linux so its hosted Correct dual lincese logic Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Remove workaround to order limit.h and stdlib.hKhem Raj2016-04-042-41/+6
| | | | | | | | | | | Real isue is use of -ffreestanding, we need to remove that we are targetting linux so its hosted Correct dual lincese logic Fix formatting to match recommended OE style Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Remove workaround to order limit.h and stdlib.hKhem Raj2016-04-042-67/+1
| | | | | | | | | Real isue is use of -ffreestanding, we need to remove that we are targetting linux so its hosted Correct dual lincese logic Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix target buildKhem Raj2016-04-033-9/+146
| | | | | | | Switch to using cmake disable sanitizers since it does not yet cross compile Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Fix build with glibcKhem Raj2016-04-032-0/+35
| | | | | | | avoid conflicting definitions of MB_LEN_MAX from limit.h from clang and stdlib.h from glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-cross-canadian: Use cross_canadian_bindirlinksKhem Raj2016-04-011-0/+1
| | | | | | | | | cross_canadian_bindirlinks would create appropritate symlinks in SDK so that mutliple libc toolchains can live in same SDK gcc and binutils already use it, clang cross-canadian should use it too Otherwise clang is not found correctly when SDK env is set Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Remove -mmusl and -muclibcKhem Raj2016-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | These options were introduced in OE-Core to support multi libc SDKs and added with Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sat Jul 25 14:48:21 2015 +0100 toolchain-scripts: For non-glibc, pass compiler options to ensure the correct libc selection gcc-cross-canadian-<arch> is only built once. It needs to target all the different libcs, not just the currently selected one. This change ensures that if another libc is used, the compiler correctly selects the right one. [YOCTO #8025] (From OE-Core rev: da2e92e256054b137a1646fdad1fe1a47ba3215a) Clang however acts based on crosscompiler name and does not have option to controlled multi libc scene Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-cross-canadian: Fix append for clang into SDKKhem Raj2016-04-011-2/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>