summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* libcxx: Add libunwind to PACKAGECONFIGMichael Davis2018-07-101-16/+16
| | | | | | | Allow libunwind to be turned off and on using PACKAGECONFIG Default to ON Signed-off-by: Michael Davis <michael.davis@essvote.com>
* llvm/clang/compiler-rt/libcxx: Update to latest release_60 branchKhem Raj2018-07-061-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix sigsegv of llvm-config on the targetRicardo Ribalda Delgado2018-05-301-0/+3
| | | | | | | llvm-config is, by default, broken by the SSTATE_SCAN_CMD. This patch removes llvm-config from SSTATE_SCAN_FILES. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* clang: Add package config for shared-libsMichael Davis2018-05-291-3/+4
| | | | | | Allow shared or static libs to be selected by package config. Default to shared. Signed-off-by: Michael Davis <michael.davis@essvote.com>
* clang: Fix driver segfault with very long commandlineKhem Raj2018-05-202-0/+57
| | | | | | This is triggerred with webkit linking commands Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_60Khem Raj2018-05-171-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: include staticdev into SDKKhem Raj2018-05-151-0/+2
| | | | | | This helps statically linking C++ programs when building with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Let dev package rdep on staticdev packageKhem Raj2018-05-151-0/+3
| | | | | | | | | Let dev package be empty, this should solve the dependency issues when generating SDKs Fixes #51 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use python2 for scan-viewKhem Raj2018-05-152-0/+28
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Disable sanitizers on mips32Khem Raj2018-05-131-0/+1
| | | | | | | | They fail to compile error: 'assertion_failed__73' declared as an array with a negative size Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld: Update to latest on release_6.0 branchKhem Raj2018-05-121-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Drop a workaround to build for aarch64Khem Raj2018-05-122-39/+1
| | | | | | | | | | | | | | | | | This workaround seems to no longer be needed for clang6.0 onwards as a bonus, the regressions for compiling for other arches is also gone since we drop this patch. Fixes issue #57 Fixes issue #52 Use internal assembler This fixes the issue reported here https://reviews.llvm.org/D35696 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.inc: Match the formatting to rest of assignmentsKhem Raj2018-04-271-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.inc: Bump patch version for 6.x releaseKhem Raj2018-04-271-1/+3
| | | | | | Helps with issue reported in #56 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Do not link with -lssp when using -fstack-protectorKhem Raj2018-04-218-26/+25
| | | | | | This is provided by libc both (musl and glibc) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Drop setting NINJA_STATUSKhem Raj2018-04-196-14/+14
| | | | | | This is no longer needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld,lldb: Update to latest on release_60Khem Raj2018-04-191-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: enable support for BPF targetDaniel Díaz2018-04-111-1/+1
| | | | Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
* llvm/clang/lld: Update to latest on release_60Khem Raj2018-03-091-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/libunwind: Fix install targetRobin Lee2018-03-031-1/+1
| | | | Signed-off-by: Robin Lee <cheeselee@fedoraproject>
* libcxx: Add settings to build with libcxx as default C++ standard libraryRobin Lee2018-03-032-0/+2
| | | | Signed-off-by: Robin Lee <cheeselee@fedoraproject>
* clang,llvm,runtime: Update to 6.0-rc3Khem Raj2018-02-231-6/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,openmp: Bump to latest on release_60 trainKhem Raj2018-02-081-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openmp: Fix source dirKhem Raj2018-02-081-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lld: Add missing dependency on libxml2Khem Raj2018-02-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to 6.0 rc2Khem Raj2018-02-071-6/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to upcoming 6.0 release branchesKhem Raj2018-01-2723-406/+135
| | | | | | | clang 6.0 is upcoming release, its already in RC phases Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on release_50Khem Raj2017-12-121-5/+5
| | | | | | Fixes issue #47 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/libunwind: Update to latest on 5.0 branchKhem Raj2017-11-121-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld: Update to latest on release_50Khem Raj2017-10-053-147/+4
| | | | | | Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: add missing ; for llvm targetsMartin Kelly2017-10-041-1/+1
| | | | | | | | Without this, we get a syntax error when we don't override LLVM_TARGETS_TO_BUILD_TARGET because LLVM_TARGETS_TO_BUILD_TARGET gets set as something like "X86X86" instead of "X86;X86". Signed-off-by: Martin Kelly <mkelly@xevo.com>
* clang: Switch c++ default to gnu++14 standardKhem Raj2017-09-242-0/+29
| | | | | | | | | | | | | | | Using cmdline options -std doesnt always work e.g. boost where it uses c++ driver (clang++) to invoke compilation but then passes '-x c' to choose the language for compilation Which ends in errors like below error: invalid argument '-std=c++14' not allowed with 'C' Therefore change the defaults in driver itself to use gnu++14 which is default with g++ from gcc7+ too. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Backport aarch64 fix for bug 34674Khem Raj2017-09-213-4/+143
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* capnproto: Use internal assemblerKhem Raj2017-09-191-0/+4
| | | | | | | GNU as complains about code generation Error: integer register expected in the extended/shifted operand register at operand 3 -- `add x20,xzr,#2' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm: Fix wrong code generation when floor() libm function is calledKhem Raj2017-09-192-0/+153
| | | | | | | see https://reviews.llvm.org/D38050 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes/clang: Use COMMON_LICENSE_DIR instead of COREBASEKhem Raj2017-09-185-7/+5
| | | | | | | Fixes do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm: Update to latest on release_50Khem Raj2017-09-181-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Disable libunwind on all mipsKhem Raj2017-09-181-6/+11
| | | | | | llvm libunwind is still not ported to mips Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Divide compile step into smaller stepsKhem Raj2017-09-141-1/+3
| | | | | | | | There seems to be some race between libcxx and libcxx-abi resulting in FAILED: lib/libc++.so.1.0 x86_64-bec-linux-musl-ld: cannot find -lc++abi Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm: Update to 5.0.0-rc5Khem Raj2017-09-011-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,libcxx,lldb: Update to latest on release_50 (rc4)Khem Raj2017-08-301-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Fix build on ARM due to libcxxabi not finding libunwind sourcesKhem Raj2017-08-273-2/+72
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm.compiler-rt,lld,lldb: Update to latest release_50 rc3Khem Raj2017-08-253-34/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nativesdk-clang-glue: Disable debug packagingOtavio Salvador2017-08-251-0/+1
| | | | | | | | | | | | | | | | This package does not provide binary files and is just to glue the paths for proper use by Clang so disabling debug avoids the packaging error we were seeing: ,---- | ERROR: nativesdk-clang-glue-4.0.0-r0 do_package: File | './usr/lib/debug' cannot be packaged into 'nativesdk-clang-glue-dbg' | because its parent directory structure does not exist. One of its | parent directories is a symlink whose target directory is not included | in the package. `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* nativesdk-clang-glue: Fix indenting of codeOtavio Salvador2017-08-251-4/+4
| | | | | | We were mixing tabs and spaces. Now we moved to use spaces only. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* clang: fix nativesdk buildMing Liu2017-08-231-1/+2
| | | | | | | | | | | | | | | | | | | | | I could not manage to build nativesdk-clang, I encountered errors as follows: (trimmed for purpose) | ../gcc/x86_64-pokysdk-linux/6.3.0/ld:: | cannot find crt1.o: No such file or directory | cannot find crtbegin.o: No such file or directory | cannot find -lgcc | cannot find -lgcc_s After some investigation, I found it's caused by the llvm native tools could not compile with crosssdk toolchains. (special linking flags are needed) So we introduce a cmake-native class with a task to generate a native toolchain file, it will be used to build llvm native tools by passed with CROSS_TOOLCHAIN_FLAGS_NATIVE. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm/lld/lldb/libcxx: Update to latest on release_50Khem Raj2017-08-231-5/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix dynamic linker on x86/muslKhem Raj2017-08-162-0/+42
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest release_50Khem Raj2017-08-161-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Revert back to gnu++98 as defaultKhem Raj2017-08-132-29/+0
| | | | | | | | many packages need fixing for true c++11 and newer standard, may be eventually they will reach there for now lets keep the defaults as it is Signed-off-by: Khem Raj <raj.khem@gmail.com>