| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
They are in core layer now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some tasks may reference ${B} for llvm-source which in general would not exist.
It has dependencies on HOST_SYS and TARGET_SYS which are not appropriate for a
shared recipe like llvm-source. This causes problems for the archiver and
multiconfigs in particlar.
Set B to something else to avoid these task hash issues.
Fixes issues #885
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Move the dependency anchor to do_preconfigure instead of do_patch
since do_patch may get deleted when using devtool etc. so it helps
with working on developing clang using devtool
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
MULTILIBS maybe defined by distros/projects and in some cases not, this
would result in rebuilding clang-native for no reason.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Changes are described here [1]
[1] https://discourse.llvm.org/t/llvm-16-0-0-release/69326
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
as the recipe populates the shared source tree as part of
do_patch, but create-spdx does only wait for do_unpack.
Add an explicit dependency to wait to avoid race conditions
Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
|
|
|
|
|
|
|
| |
if machines are switched, do_deploy_source_date_epoch
would re-run as the stamps are tune specific
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This ensures that signature of do_patch does not change between multilib
and non-multilib builds of clang-native, this essentially hardcodes the
multilib variants to lib32 lib64 libx32 which is 99.9% usecase, if you
fall into 0.1% then go ahead and modify MULTILIB_VARIANTS in a bbappend
file and it will be fine.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Build on OpenEmbedded Host, compiler-rt-native do_configure failed with
following error:
compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang -target x86_64-linux
-isystem/path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/include
-O2 -pipe
/path/to/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/share/cmake-3.21/Modules/CMakeCCompilerABI.c`
| /build/tmp-glibc/hosttools/ld: cannot find crtbeginS.o: No such file or directory
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
Since OpenEmbedded Host's gcc install path is different with clang's
default search form, patch for OpenEmbedded Host's gcc library install
path.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
|
|
|
|
| |
Using regular multilib variants prevents sharing state between machines
with dissimilar multilibs, or non-multilib machines. Since there's no
harm in having extra multilib triples, use the full set for all builds.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
* 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 an overhaul of clang/llvm project related recipes
* switch to using a flat mono repo for all clang/llvm projects
* Add llvm-project-source recipe which will prepare source tree in
work-shared for all recipes much like kernel and gcc
* build lld as part of clang recipes, its much easier and saves build
time and hopefully nativesdk version will be built now for free
* switch to official git repos at git://github.com/llvm-project
* Adjust all recipes to use shared sources
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|