-
Notifications
You must be signed in to change notification settings - Fork 213
meta-chromium: whinlatter support #918
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
Closed
zboszor
wants to merge
9
commits into
OSSystems:master
from
zboszor:meta-chromium-whinlatter-support
Closed
meta-chromium: whinlatter support #918
zboszor
wants to merge
9
commits into
OSSystems:master
from
zboszor:meta-chromium-whinlatter-support
Conversation
This file contains hidden or 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
22adeb6 to
47fdbbf
Compare
The WORKDIR -> UNPACKDIR transition started with styhead and
whinlatter now requires it:
| S should be set relative to UNPACKDIR, e.g. replace
| WORKDIR with UNPACKDIR in "S = ${WORKDIR}/chromium-${PV}"
Add a new setting that abstracts away the difference between
WORKDIR and UNPACKDIR.
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]>
47fdbbf to
80bd440
Compare
RUNTIME and TC_CXX_RUNTIME are both set explicitly to "llvm" in chromium.inc. Therefore the :runtime-llvm override is not needed because it's always on. Signed-off-by: Zoltán Böszörményi <[email protected]>
RUNTIME and TC_CXX_RUNTIME are both set explicitly to "llvm" in chromium.inc. Therefore the :runtime-llvm override is not needed because it's always on. Signed-off-by: Zoltán Böszörményi <[email protected]>
80bd440 to
b47ea0a
Compare
In whinlatter, TOOLCHAIN_NATIVE is used instead of TOOLCHAIN:class-native. Signed-off-by: Zoltán Böszörményi <[email protected]>
Signed-off-by: Zoltán Böszörményi <[email protected]>
427f857 to
6e4916c
Compare
Rewrite layer.conf to distinguish between modern Yocto versions (whinlatter or newer) and older versions. Added a new WHINLATTER_OR_NEWER (0/1) setting so other settings and recipes can simplify conditions based on the Yocto version. Only include clang-layer in LAYERDEPENDS when building on older-than-whinlatter Yocto versions. Signed-off-by: Zoltán Böszörményi <[email protected]>
6e4916c to
891ab6b
Compare
Do not apply these when built under whinlatter: * 0008-Use-the-correct-path-to-libclang_rt.builtins.a.patch * 0009-Adjust-the-Rust-build-to-our-needs.patch * 0017-rust-Use-adler-instead-of-adler2.patch Add a new patch only for whinlatter called 0020-Do-not-use-fuse-ld-option.patch to prevent linker errors. With these, rust code still fails to link with errors like: | error: the option `Z` is only accepted on the nightly compiler | | help: consider switching to a nightly toolchain: `rustup default nightly` | | note: selecting a toolchain with `+toolchain` arguments require a rustup proxy; see <https://rust-lang.github.io/rustup/concepts/index.html> | | note: for more information about Rust's stability policy, see <https://doc.rust-lang.org/book/appendix-07-nightly-rust.html#unstable-features> | | error: 1 nightly option were parsed Signed-off-by: Zoltán Böszörményi <[email protected]>
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.
No description provided.