summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * clang: Do not lock clang as only cross compiler optionKhem Raj2019-12-261-1/+0
| | | | | | | | | | | | | | | | clang might be used for more than just static compiler on target and therefore lock-stepping it with needing clang cross-compiler is not right thing Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang: Fix cmake exports not finding native binaries Issue #230Michael Davis2019-12-072-0/+18
| | | | | | | | | | Signed-off-by: Michael Davis <michael.davis@essvote.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang: Fix multilib clang compile failing if lib is in the toolchain pathMichael Davis2019-12-072-0/+45
| | | | | | | | | | Signed-off-by: Michael Davis <michael.davis@essvote.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * packagegroup: be lenient about CLANGSDK settingRoss Burton2019-12-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | As CLANGSDK defaults to '1', users who have not read the README may think that setting it to '0' would disable adding Clang to the SDK. Little do they know that you need to *unset* the value for this to work (as bool('0') -> True). Change the logic to use bb.utils.contains(), so that '0' is not true. Signed-off-by: Ross Burton <ross.burton@intel.com>
| * clang: enable AMDGPU for all targetsJustin Bronder2019-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | In 003dd05e4c168f7c3cccb9cbfad3fd8f38fe8741, clang replaced the oe-core provided llvm for building mesa. However, mesa needs AMDGPU to be enabled on the native target in order to build. Following the example of oe-core's recipe, just enable AMDGPU for all targets. Signed-off-by: Justin Bronder <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * layer.conf: Define LLVMVERSION in terms of clang versionKhem Raj2019-12-071-0/+2
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang: Uodate to 9.0.1-rc1Khem Raj2019-12-0727-153/+36
| | | | | | | | | | | | | | Drop 0021-Driver-Prioritize-SYSROOT-usr-include-over-RESOURCE_.patch as its already applied upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * Create CONTRIBUTING.mdKhem Raj2019-12-071-0/+7
| |
| * Create CODE_OF_CONDUCT.mdKhem Raj2019-12-071-0/+76
| |
| * Update issue templatesKhem Raj2019-12-073-0/+68
| |
| * Revert "clangd: Always link with libatomic"Khem Raj2019-12-071-37/+0
| | | | | | | | | | | | This reverts commit 2fdb19c4f8b025d4465d78cdf1bc05d786f5e087. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clangd: Always link with libatomicKhem Raj2019-12-071-0/+37
| | | | | | | | | | | | Since it uses double atomics which are not available yet as intrinsics Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * Revert "clang: Do not lock clang as only cross compiler option"Khem Raj2019-12-071-0/+1
| | | | | | | | | | | | This reverts commit cb86d1f837f8f8c40e8b00c9c29d136ed6a16a08. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang: Do not lock clang as only cross compiler optionKhem Raj2019-12-071-1/+0
| | | | | | | | | | | | | | | | clang might be used for more than just static compiler on target and therefore lock-stepping it with needing clang cross-compiler is not right thing Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang: ensure correct python for nativesdk buildsrchard2scout2019-12-061-0/+1
| | | | | | This fixes #162 for nativesdk-clang.
| * libffi: Use gcc for armebKhem Raj2019-11-201-1/+6
| | | | | | | | | | | | libffi expects arv7+neon with clang in asm Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * m4,ruby,webkitgtk: Do not use compiler-rt explicitly on arrmeb/ppcKhem Raj2019-11-201-0/+5
| | | | | | | | | | | | | | Needed for clang since it needs __mulodi4 but these arches do not build compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * armeb: Disable compiler-rtKhem Raj2019-11-201-0/+3
| | | | | | | | | | | | compile-rt is not fully ported for ARM big-endian therefore disable it Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * qtwebengine: Link libatomic on x86/clang/gnu-runtimeKhem Raj2019-11-201-0/+1
| | | | | | | | | | | | | | | | | | gcc uses intrinsics for atomic<double> but clang does not for x86 when using libstdc++ ./media/audio/pulse/pulse_input.cc uses this atomic variable Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * llvm: Check for built-in atomic<double> during configureKhem Raj2019-11-182-0/+34
| | | | | | | | | | | | | | | | | | This helps in deciding on linking libatomic, therefore its important to check for atomic<double> because on x86, clang decides to not use built-in whereas gcc does, so clangd e.g. links ok when using gcc but fails when using clang with gcc-runtime on x86 Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * Revert "clangd: Always link with libatomic"Khem Raj2019-11-182-38/+0
| | | | | | | | | | | | This reverts commit 2fdb19c4f8b025d4465d78cdf1bc05d786f5e087. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * gerbera: Always use llvm runtime with clangKhem Raj2019-11-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | It expects libc++ with clang Fixes | CMake Error at CMakeLists.txt:316 (message): | gerbera requires C++17 Optional to be available. Check your compiler is | >=GCC 7.1 or >=libc++ 5 Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * ruby: Drop linking with compiler-rt is not needed anymoreKhem Raj2019-11-181-1/+0
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * webkitgtk: Use compiler-rt runtime when using clangKhem Raj2019-11-181-0/+1
| | | | | | | | | | | | | | Fixes | /usr/src/debug/webkitgtk/2.26.2-r0/webkitgtk-2.26.2/Source/WTF/wtf/CheckedArithmetic.h:365: error: undefined reference to '__mulodi4' Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * m4,ruby: Set COMPILER_RT instead of playing with LDFLAGSKhem Raj2019-11-181-2/+3
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clangd: Always link with libatomicKhem Raj2019-11-182-0/+38
| | | | | | | | | | | | Since it uses double atomics which are not available yet as intrinsics Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang.bbclass: Define RUNTIME variable to select compiler runtimeKhem Raj2019-11-181-6/+8
| | | | | | | | | | | | | | RUNTIME can be 'llvm' or 'gnu' defaults to 'gnu' Use this variable for selecting stdc++ and c runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * Revert "clang: Do not lock clang as only cross compiler option"Khem Raj2019-11-181-0/+1
| | | | | | | | | | | | This reverts commit cb86d1f837f8f8c40e8b00c9c29d136ed6a16a08. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * tinymembench: Disable internal assembler on mipsKhem Raj2019-11-181-0/+1
| | | | | | | | | | | | | | | | | | Fixes mips-32.S:108:15: error: invalid reassignment of non-absolute variable 'DST' | .set DST, $a0 | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang: Do not lock clang as only cross compiler optionKhem Raj2019-11-181-1/+0
| | | | | | | | | | | | | | | | clang might be used for more than just static compiler on target and therefore lock-stepping it with needing clang cross-compiler is not right thing Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * clang: make libedit optionalYong, Jonathan2019-11-181-5/+6
|/ | | | | | | | | | Allows libedit to dependency to be disabled via PACKAGECONFIG_remove. add libedit to native and nativesdk packageconfigs Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Convert configure options to meson equivalentsKhem Raj2019-11-141-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Provide llvm/llvm-nativeKhem Raj2019-11-143-4/+21
| | | | | | | | | | | | | | | | | | | When using meta-clang, it makes sense to use llvm provided by clang recipe, this ensures that we do not build llvm from oe-core but instead offer the one from clang recipe enable rtti and eh for native/nativesdk clang, this is needed for mesa to build Let clang PROVIDE llvm Build AMDGNU and other targets, this is needed for llvm-config to work properly, since we use llvm-config from clang-native, so its better to build the targets that are built for clang-native atleast create version specific symlinks for tblgen anf llvm-config Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Drop release older than zeus from compatiblityKhem Raj2019-11-131-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Merge libunwind back into libcxxKhem Raj2019-10-093-98/+15
| | | | | | | | Do not export libunwind to other recipes besides libcxx itself, we use non-gnu libunwind on linux in general and its not a drop in replacement as of yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-libav: Use internal assemblerKhem Raj2019-10-081-5/+0
| | | | | | | This helps compiling on some arches e.g. aarch64 | /tmp/vp9_superframe_split_bsf-a989f9.s:701: Error: selected processor does not support `bfc w3,#24,#8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Use libgcc for libc-bench, aufs-util, libhugetlbfs, tsocksKhem Raj2019-10-081-0/+4
| | | | | | | | | They do static linking, and when linking with glibc it expects intrinsics from libgcc since we do not use clang to build glibc this is not an issue on musl since we use clang to build most of musl ports Signed-off-by: Khem Raj <raj.khem@gmail.com>
* README.md: Define a way to disable llvm/clang runtimeKhem Raj2019-10-081-2/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix openmp build on armv7veKhem Raj2019-10-0625-37/+63
| | | | | | Refresh patches on latest release/9.x branch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Remove editing THUMB_TUNE_CCARGSKhem Raj2019-10-025-10/+0
| | | | | | THUMB_TUNE_CCARGS is gone from oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Add packageconfig for compiler-rt useKhem Raj2019-10-021-4/+4
| | | | | | | | | | This helps in disabling compiler-rt e.g. on risc-v if we need to enable exceptions then we need to use libgcc_s, since llvm-libunwind is not yet ported to risc-v For ppc, enable compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-linunwind: Enable build on ppcKhem Raj2019-10-021-1/+0
| | | | | | This works fine with 9.x release now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Introduce packageconfigs for unwind and exceptions atomics supportKhem Raj2019-10-021-29/+16
| | | | | | Fix build on armv5 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Fix bbpath for browser-layerKhem Raj2019-10-011-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* chromium: Use libgcc for unwindingKhem Raj2019-10-013-5/+2
| | | | | | using llvm libunwind ends up in aborts Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Pass OE LDFLAGS via CMAKE_SHARED_LINKER_FLAGSKhem Raj2019-10-011-6/+7
| | | | | | | | | | | setting these flags via CMake cmdline means that LDFLAGS that OE expects to insert via environment wont be respected anymore, therefore its better to pass it along during configure, so we get the desired flags into linker Fixes Issue #188 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Use llvm libunwind with perfKhem Raj2019-10-011-3/+0
| | | | | | No need to shun out llvm libunwind for perf Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-runtime: Use INHIBIT_DEFAULT_DEPS = "1"Khem Raj2019-10-014-6/+19
| | | | | | | This ensures that clang-runtime elements e.g. llvm-libunwind can be used with gcc as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: add rtti and eh as packageconfigMaxime Roussin-Bélanger2019-09-301-2/+3
| | | Keep ON for default behavior
* perf: Use nongnu libunwind alwaysKhem Raj2019-09-282-1/+3
| | | | | | llvm is not tested yet with this package Signed-off-by: Khem Raj <raj.khem@gmail.com>