summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* clang: Add -DLLVM_ENABLE_ASSERTIONS=OFF and -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFFKhem Raj2017-08-031-22/+27
| | | | | | This should speed up clang when compiling other stuff Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_50Khem Raj2017-08-031-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_50Khem Raj2017-08-011-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Get ghostscript ICE fixesKhem Raj2017-07-311-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Use final version string in install pathsKhem Raj2017-07-311-7/+7
| | | | | | | We append SRCPV to PV which is not what we want for install dir name, it should be final compiler-rt release version e.g. 5.0.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-libunwind: DeleteKhem Raj2017-07-317-83/+18
| | | | | | build llvm libunwind along with libcxx Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Merge libcxxabi needs into libcxxKhem Raj2017-07-315-125/+13
| | | | | | | | | This is preferred way of building libc++ and it also means we do not need musl specific tweaks since top level build from llvm already know musl and make right choices Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm: Update to latest release_5.0Khem Raj2017-07-301-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Use ninja generator on top of cmakeKhem Raj2017-07-308-17/+79
| | | | | | ninja is in OE-Core now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on release_50Khem Raj2017-07-301-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Enable libffi supportKhem Raj2017-07-291-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Delete arm EHABI workaoundKhem Raj2017-07-292-149/+0
| | | | | | unwind.h in clang 5.0 seems to have needed struct definitions Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Default to PIE when GCCPIE is setKhem Raj2017-07-293-2/+98
| | | | | | | | This matches with OE-Core expectations and we do not need to inject PIE flags manually via SECURITY_CFLAGS which does not always work Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latestKhem Raj2017-07-281-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld,libunwind: Update to 5.0 rc1Khem Raj2017-07-261-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Remove klibc and klibc-static-utilsKhem Raj2017-07-261-4/+0
| | | | | | works with clang after patching klibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Add klibc to listKhem Raj2017-07-251-6/+10
| | | | | | Reorder alphabetically. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openmp: Add recipeKhem Raj2017-07-252-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lld: update to latest on 5.0 branchKhem Raj2017-07-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Dont error on Wimplicit-fallthrough in mdadmKhem Raj2017-07-231-0/+3
| | | | | | | | This option is added in OE-Core to workaround build issues with gcc7 we disable triggerring on treating this as error when clang finds it and says its not a known option Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Add pixmanKhem Raj2017-07-231-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm/lld: Updade to latest on release_50 branchKhem Raj2017-07-231-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build on x86_64Khem Raj2017-07-223-9/+37
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Add -pie -fPIE to SECURITY_PIE_CFLAGS explicitlyKhem Raj2017-07-211-0/+3
| | | | | | | | gcc in core now is configured with these options but clang does not have a configuration level knob so we still need to pass it old way Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lldb: Fix build QA errorsKhem Raj2017-07-201-0/+1
| | | | | | WARNING: lldb-5.0.0+gitAUTOINC+e8f2eb9a3b_404119f2df_d8edb413bc-r0 do_package_qa: QA Issue: lldb: found library in wrong location: /usr/bin/liblldb-intel-mpxtable.so [libdir] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lldb: Fix package QA errorsKhem Raj2017-07-201-0/+2
| | | | | | | WARNING: lldb-5.0.0+gitAUTOINC+e8f2eb9a3b_404119f2df_d8edb413bc-r0 do_package_qa: QA Issue: lldb-dbg: found library in wrong location: /usr/bin/.debug/liblldb-intel-mpxtable.so lldb: found library in wrong location: /usr/bin/liblldb-intel-mpxtable.so [libdir] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Do not include xlocale.hKhem Raj2017-07-202-0/+31
| | | | | | | | Thsi file is removed from glibc >= 2.26 Fixes #36 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build on aarch64Khem Raj2017-07-202-0/+39
| | | | | | | | Pass armv8.1-a for march when using crc instruction Fix #38 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lldb: Switch to 5.0 branchKhem Raj2017-07-202-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Switch to release_50 branchKhem Raj2017-07-202-10/+10
| | | | | | | upcoming 5.0 release has been branched out track that branch until the release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Add missing FILERicardo Ribalda Delgado2017-07-181-0/+1
| | | | | | | | | | | | | | | | Fixes: ERROR: clang-5.0.0+gitAUTOINC+f65227fd46_2ce35b601d-r0 do_package: QA Issue: clang: Files/directories were installed but not shipped in any package: /usr/share/opt-viewer /usr/share/opt-viewer/optrecord.py /usr/share/opt-viewer/opt-viewer.py /usr/share/opt-viewer/opt-stats.py /usr/share/opt-viewer/optpmap.py /usr/share/opt-viewer/opt-diff.py /usr/share/opt-viewer/style.css Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* clang: Fix name of .so fileRicardo Ribalda Delgado2017-07-181-0/+1
| | | | | | | | | | | | | | When we are building an unreleased version the so name is: libLLVM-MAJOR.MINORsvn.so instead of just libLLVM-MAJOR.MINOR.so E.g.: libLLVM-5.0svn.so Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* clang: Allow user to add extra build target on class_targetRicardo Ribalda Delgado2017-07-181-1/+4
| | | | | | | | Originally TARGETS_TO_BUILD was limited to the target architecture, which is not enough to build code for heterogenous systems such as (in my case) AMDGPU. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* llvm-config: Fix implementation of --libs flagRicardo Ribalda Delgado2017-07-181-0/+4
| | | | | | | | | | | | | | | | | | llvm-config is called by mesa with the following parameters: llvm-config --libs liba libb libc libd ..... This result in an invalid call of llvm config: llvm-config --libs llvm-config liba llvm-config libb llvm-config libc .... Fix this use. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* lld_git: Only apply -stdlib flag to clang toolchainRicardo Ribalda Delgado2017-07-181-1/+1
| | | | | | | | | | GCC does not understand the stdlib flag. Resulting in this error during configuration: | x86_64-poky-linux-g++: error: unrecognized command line option | '-stdlib=libc++' Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* clang.inc: Update SRCREVs to latest trunkKhem Raj2017-07-081-8/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang: Update all components to latest on 5.0/trunkKhem Raj2017-06-281-8/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest masterKhem Raj2017-06-091-6/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Add -Qunused-arguments to clang argumentsKhem Raj2017-06-091-1/+1
| | | | | | | | GCC ignores unused arguements by default, but Clang needs this extra parameter to stop printing warnings about LDFLAGS passed during compiling stage and CFLAGS passed during linking stage. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest masterKhem Raj2017-06-076-53/+29
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to tip of masterKhem Raj2017-05-251-7/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Move to upcoming 5.0.0 ( trunk ) releaseKhem Raj2017-05-2229-304/+492
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* systemd: Define nm,ar,ranlib from llvm when using clangKhem Raj2017-05-181-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Handle return the clang arch for arm correctlyKhem Raj2017-05-181-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix get_clang_arch() to address OE target arch combosKhem Raj2017-05-181-15/+10
| | | | | | Use regular expressions for mapping to a llvm arch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Change LLVM_TARGETS_TO_BUILD to build everything by defaultKhem Raj2017-05-181-8/+9
| | | | | | | | | | | | | | | | | | | | As described in issue #33, LLVM_TARGETS_TO_BUILD should include build host as well as target arches and that fails since we build clang-native once for all due to its inherent cross compilable nature if one needs to limit the targets please set it in local.conf or via a bbappend in own layer e.g. LLVM_TARGETS_TO_BUILD = "ARM" if you only need 32bit arm or LLVM_TARGETS_TO_BUILD = "ARM;Aarch64" in case of both arm 32bit and 64bit fixes #33 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Upgrade to 4.0.1 releaseKhem Raj2017-05-161-5/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: update for cmake changes in oe-coreRoss Burton2017-05-051-6/+1
| | | | | | | | | | | cmake.bbclass in oe-core master (soon to be Pyro) doesn't set CMAKE_CROSSCOMPILING unconditionally, but only when it's actually cross-compiling. This means the clang-native build doesn't think it's cross-compiling, so the recipe can be simplified. Signed-off-by: Ross Burton <ross.burton@intel.com>
* compiler-rt: Disable xray for nowKhem Raj2017-04-151-0/+1
| | | | | | | | | | | | | | | | Fails on some arches e.g. rpi3 /mnt/a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/compiler-rt/4.0.0+gitAUTOINC+1fdc27db84-r0/git/lib/xray/xray_inmemory_log.cc:88:33: error: unknown type name 'L' std::lock_guard<std::mutex> L(LogMutex); ^ /mnt/a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/compiler-rt/4.0.0+gitAUTOINC+1fdc27db84-r0/git/lib/xray/xray_inmemory_log.cc:182:26: error: no member named 'mutex' in namespace 'std' std::lock_guard<std::mutex> L(LogMutex); ~~~~~^ /mnt/a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/compiler-rt/4.0.0+gitAUTOINC+1fdc27db84-r0/git/lib/xray/xray_inmemory_log.cc:182:33: error: unknown type name 'L' std::lock_guard<std::mutex> L(LogMutex); ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm: update to latest on 4.0 releaseKhem Raj2017-04-141-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>