-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add back older clang versions: 15, 16 and 17 (master) #990
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zboszor
force-pushed
the
master-add-clang15
branch
5 times, most recently
from
August 5, 2024 10:30
0dd6f7b
to
b992008
Compare
zboszor
force-pushed
the
master-add-clang15
branch
from
August 12, 2024 13:25
d4763cb
to
71c9d5f
Compare
The recipes have the major version in their names: llvm15-project-source, clang15, clang15-cross, etc. libcxx was renamed to libcxx15-initial because it would conflict with the main libcxx recipe/package, due to shipping the same library name. Added missing Upstream-Status to patches. Added EXCLUDE_FROM_WORLD = "1" to clang.inc as this package set conflicts with the versionless clang packages. Signed-off-by: Zoltán Böszörményi <[email protected]>
…dore Split llvm-spirv into its own subpackage. Added EXCLUDE_FROM_WORLD = "1" as the binary package conflicts with the versionless spirv-llvm-translator package. Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
… oe-core Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
this will simplify things with UNPACKDIR and shared sources for all llvm derived recipes Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
So far when using toolchain = clang would punt gcc from native-sysroot but its beneficial to keep both compilers since they can co-exist its not a big problem to have both in sysroot. This helps in debugging issues as well. Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
This avoids qtwebengine crashes on rpi4/rpi3 Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
…g.LITTLE mcpu Currently, clang options lose the qualifiers like +crc+crypto which are in TUNE_CCARGS_MARCH_OPTS when options like -mcpu=big.little are transformed to -mcpu=little as clang does not understand -mcpu=big.little while gcc does. Here we append TUNE_CCARGS_MARCH_OPTS after the rewrite Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
… core Currently, only the '-mcpu=octeontx2' option is removed, and any -mcpu parameters with qualifiers (such as +crc+crypto) are not removed, e.g., '-mcpu=octeontx2+crypto'. Remove these mcpu parameters with qualifiers by using '-mcpu=octeontx2${TUNE_CCARGS_MARCH_OPTS}'. Signed-off-by: Ruiqiang Hao <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
Same treatment as for clang15: * versioned recipe names: clang16, etc. * libcxx was renamed to libcxx16-initial * EXCLUDE_FROM_WORLD = "1" added to clang.inc so the recipes are not included for "bitbake world" Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
This avoids qtwebengine crashes on rpi4/rpi3 Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
…g.LITTLE mcpu Currently, clang options lose the qualifiers like +crc+crypto which are in TUNE_CCARGS_MARCH_OPTS when options like -mcpu=big.little are transformed to -mcpu=little as clang does not understand -mcpu=big.little while gcc does. Here we append TUNE_CCARGS_MARCH_OPTS after the rewrite Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
… core Currently, only the '-mcpu=octeontx2' option is removed, and any -mcpu parameters with qualifiers (such as +crc+crypto) are not removed, e.g., '-mcpu=octeontx2+crypto'. Remove these mcpu parameters with qualifiers by using '-mcpu=octeontx2${TUNE_CCARGS_MARCH_OPTS}'. Signed-off-by: Ruiqiang Hao <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
this will simplify things with UNPACKDIR and shared sources for all llvm derived recipes Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
TC_CXX_RUNTIME is now defined in OE-core Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
TC_CXX_RUNTIME is now defined in OE-core Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Zoltán Böszörményi <[email protected]>
zboszor
force-pushed
the
master-add-clang15
branch
from
August 12, 2024 13:43
71c9d5f
to
9cfded9
Compare
Same treatment as CLANG 15.x and 16.x Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
zboszor
force-pushed
the
master-add-clang15
branch
from
August 13, 2024 04:06
9cfded9
to
3321ec7
Compare
zboszor
changed the title
Add clang15 (master)
Add back older clang versions: 15, 16 and 17 (master)
Aug 14, 2024
Superseded by https://github.com/zboszor/meta-clang-revival |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #988
Contributor checklist
Signed-off-by
is presentFixes: #869