| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
This is advertised option from clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
this option is only effective when building libcxx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This ensures that it matches with CMake's understanding of this option
and when its removed then it silently removes -stdlibc=libc++ but leaves
the spurious '-' in the commandline which confuses the compiler as it
them expects input from stdin
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This matches with GCC 11 which is also defaulting to DWARF-5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This helps in ensuring that SDK elements are built correctly as well,
at present we get right builds for cross/target/native clang but not for
nativesdk since it use SDK_VENDOR string for vendor eg. -yoesdk which
currently is not added to known OE vendors, as a result nativesdk-clang
does not build since crosssdk clang can not find runtime files e.g.
libgcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
|
| |
clang -ftrapv, needs compiler-rt [1]
[1] https://github.com/openssh/openssh-portable/blob/master/INSTALL#L7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
There is no need for exporting CLANG_TIDY, since its not a standard
variable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
it has its own branch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generate all possible vendor name that a multilib build could use
by using the variable MULTILIB_VARIANTS.
ex: {TARGET_VENDOR} {TARGET_VENDOR}mllib32
Fixes build issue when compiling lib32-compiler-rt
where clang has issue detecting gcc toolchain.
when clang --print-search-dirs:
lib32-recipe-sysroot//usr/lib/i686-wrsmllib32-linux
should be
lib32-recipe-sysroot//usr/lib/i686-wrsmllib32-linux/10.2.0/
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
|
|
|
|
|
|
|
| |
* d28af7c654d8 remove -fpch-codegen and -fpch-debuginfo from Clang 12.0 release notes
* 04ba60cfe598 [ORC][C-bindings] Fix some ORC C bindings function names and signatures.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
They have started using nested functions lately.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
While we can, it does not have the sspace for path dance that yocto does
for relocable SDK which means clang components may end up being
non-relocatable when SDK is installed in longer paths. So for now pay
the price of switching back to binutils linker
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 31001be371e8 [LoopVectorize] Refine hasIrregularType predicate
* 9ae9ab1ca343 [RISCV][MC] Fix nf encoding for vector ld/st whole register
* ff2cf8fafa5a [InstCombine] avoid creating an extra instruction in zext fold and possible inf-loop
* 5b3480610383 [InstCombine] add test for zext-of-icmps; NFC
* 38dd45b00431 [X86][FastISel] Fix with.overflow eflags clobber (PR49587)
* 79a79d1d01c4 [X86] Add test for PR49587 (NFC)
* f05b64961056 [FastISel] Don't trivially kill extractvalues (PR49467)
* e89cdf8937bb [OpenMP] Restore backwards compatibility for libomptarget
* 8ca56905dd9b [PowerPC] Fix infinite loop in peephole CR optimization (PR49509)
* f43958b7c497 [OpenMP] Fixed a crash in hidden helper thread
* e94372d1b395 [SimplifyCFG] avoid sinking insts within an infinite-loop
* f4c01f33f450 [Support] Fix 'keeping' temporary files on Windows 7
* 4990141a4366 [WoA][MSVC] Use default linker setting in MSVC-compatible driver [take 2]
* e3186ba0f3b5 [aarch64][WOA64][docs] Release note for WoA-hosted LLVM 12 binary
* 00441b8f4e5b [OpenCL][Docs] Release notes
* ca14f0282fce [release][docs] List all cores Arm has added support for in LLVM 12.
* c016eda3257e [release][docs] List all cores Arm has added support for in LLVM 12.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This is needed for fixing builds with master since clang 12 has dropped
ORCv1 APIs
Add a patch to fix build with clang-12
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This is to avoid a ton of shell variables becoming dependencies
Add every case in a new line
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These changes have been proposed for meta-browser itself see
https://github.com/OSSystems/meta-browser/pull/489
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Fixes Issue #445
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
* instead of hardcoding only yoe, poky, wrs in the patch, add just placeholder
string which gets replaced with a list based on CLANG_EXTRA_OE_VENDORS variable
in llvm-project-source.inc:add_more_target_vendors
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
| |
This is needed for weston to launch since 'runqemu nograhic' no longer
specify right -vga option in OE-core after commit 9f8d049dbbe0b1760979d9f3b745124abfc54c90
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 15d1ee36720f [CMake][compiler-rt] Use copying instead of symlinking for LSE builtins on non-Unix-likes
* bff59aca162e [TargetLowering] Use HandleSDNodes to prevent nodes from being deleted by recursive calls in getNegatedExpression.
* a123beacce40 [LoopVectorize] Fix VPRecipeBuilder::createEdgeMask to correctly generate the mask
* f8b32989241c [clang-tidy] Deprecate readability-deleted-default check
* 46a1b0655666 [AArch64] Legalize horizontal fmax/fmin reductions on f16 vectors
* d24e102ba266 [OpenMP] Fixed a crash when offloading to x86_64 with target nowait
* 52510d84802b [GlobalISel] Bail on G_PHI narrowing of odd types (PR48188)
* 99350dcc3f5b [OpenMP] Fix clang-cl build error regarding TSX intrinsics
* 4ed9f17e9390 [analyzer] Add 12.0.0 release notes
* 9760b282ff03 [DAGCombiner][X86] Don't peek through ANDs on the shift amount in matchRotateSub when called from MatchFunnelPosNeg.
* 344216979213 Revert "[c++20] Mark class type NTTPs as done and start defining the feature test macro."
* f73ba0f3582b [SimplifyCFG] avoid illegal phi with both poison and undef
* 692808e5af83 [InstCombine] avoid infinite loop in demanded bits for select
* c637d4d136fd [OpenMP][NVPTX] Fixed a compilation error in deviceRTLs caused by unsupported feature in release verion of LLVM
* 98f06b16a313 [AArch64][Docs] Release notes 12.x on outline atomics
* e0e6b1e39e7e ReleaseNotes: add lld/ELF notes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add 'wrs' to OE-distro so it will now also find
the correct header files for WR Linux.
Solve `<climits> <algorithm> ... not found` when building
with clang for WR Linux.
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
|
|
|
|
|
|
|
|
|
| |
Link bcc dynamically against libbpf. This reduces the size of libbcc.so
from 68 MB to 3 MB.
Backport some patches from upstream which are needed for the actual
dynamic linking.
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LLDTargets.cmake (generated and installed by the lld build)
references lld this way:
add_executable(lld IMPORTED)
set_property(TARGET lld PROPERTY ENABLE_EXPORTS 1)
This way lld can be used by plugins to get their symbols from,
pretty much like PHP modules that resolve their symbols from the
php executable during runtime linking.
At least https://github.com/RadeonOpenCompute/ROCm-CompilerSupport
uses lld's cmake files as opposed to using only llvm and previously
failed with:
| The imported target "lld" references the file
|
| ".../tmp-sicom-glibc/work/corei7-64-sicom-linux/amd-comgr/4.0.0-r0/recipe-sysroot/usr/bin/lld"
|
| but this file does not exist. Possible reasons include:
|
| * The file was deleted, renamed, or moved to another location.
|
| * An install or uninstall procedure did not complete successfully.
|
| * The installation package was faulty and contained
Extending SYSROOT_DIRS with ${bindir} would break crosscompiling
since CMake found clang/clang++ from recipe-sysroot in this case.
Install lld into sysroot-destdir but nothing else.
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
|
|
|
|
| |
Native build is failing, error log:
~/build/tmp/work/x86_64-linux/spirv-llvm-translator-native/12.0.0-r0/git/lib/SPIRV/SPIRVLowerSPIRBlocks.cpp
| /bin/sh: 1: ccache: not found
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
|
| |
clang12 can successfully compile and boot musl so remove the workaround
to use gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The hang in clang seems to gone with clang12
remove dependecy on gcc-cross if using clang to compile musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
ppc64 port is not yet available, its proposed here
https://github.com/LuaJIT/LuaJIT/pull/54
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
generated asm files use .0: label which is not understood with internal
asm, gnu as does fine job
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This ensures that llvm-config works properly, since target clang is
building shared libs, we should match it on clang native and nativesdk
as well, this helps in cross compiling packages which depend on
llvm-config to get llvm libs list during build/link
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This helps llvm decide correctly on gcc installation structure
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* 1fdec59bffc1 [lldb] Fix fallout caused by D89156 on 11.0.1 for MacOS
* 85fcd4655947 workflows: Re-enable lldb test on Mac OS X
* 17e842f3785f workflows: Update action branch names
* e18e509bdb45 workflows: Add job to check for ABI changes in libclang.so and libclang-cpp.so
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
| |
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
| |
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
| |
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
| |
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
|
|
| |
bring-in needed patches from upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
memprof/sanitizers need libcrypt to build, therefore remove it from
building compiler-rt so we do not need libcrypt dependency, perhaps a
new recipe to build sanitizers separately should be added which should
also build memprof.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This ensures that all buildessentials are also installed into images
which are needed when building on device
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is a pre-requisite to enable OpenCL in Mesa.
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
| |
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
|
|
|
|
|
|
| |
The patch was taken from https://bugs.llvm.org/show_bug.cgi?id=48921
Unfortunately, LLVM 11 is already closed so the patch was only
accepted into LLVM 12.
Also reported at https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107
Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because bcc and bpftrace have been set in NON_MULTILIB_RECIPES, 'bcc'
rprovides 'lib32-bcc'. So when multilib is enabled, it is 'bcc' rather
than 'lib32-bcc' installed to lib32 image such as lib32-core-image-minimal.
Then the runtime dependency 64-bit package python3-core is installed
accordingly. It causes 32-bit python modules which contains .so library
do not work any more. For example, it fails to run command 'dnf':
| ImportError: /usr/lib/python3.9/site-packages/libdnf/_error.so: wrong ELF class: ELFCLASS32
Remove bcc and bpftrace from NON_MULTILIB_RECIPES to make sure they are
not installed to lib32 images and mess images up.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|