Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-embedded/meta-rust-bin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: rust-embedded/meta-rust-bin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dizzy
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Feb 13, 2018

  1. Replace SYSROOT_DIRS with SYSROOT_PREPROCESS_FUNCS

    Prior to Yocto Morty, there was not support for the SYSROOT_DIRS
    variables in the staging bbclass. Instead, use the more-manual
    SYSROOT_PREPROCESS_FUNCS functionality
    
    Signed-off-by: Nick Stevens <nick@bitcurry.com>
    nastevens committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    8e44c2e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2018

  1. Add missing vardeps on *_OS and *_ARCH

    In the `rust_target` function, we dynamically construct lookups for
    BUILD_OS, TARGET_OS, BUILD_ARCH, TARGET_ARCH, etc. As a result Bitbake
    is not able to automatically dertermine our reliance on these variables
    when generating the sstate cache.
    
    This commit manually adds vardeps onto those variables.
    
    Signed-off-by: Nick Stevens <nick@bitcurry.com>
    (cherry picked from commit bbc889d)
    nastevens committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    bba6cb1 View commit details
    Browse the repository at this point in the history
  2. Exclude WORKDIR from recipe stamps, allowing caching

    During install of rust-bin and cargo-bin binaries are placed into ${S},
    which itself builds on ${WORKDIR}. Normally ${WORKDIR} is ignored for
    sstate cache but it is not being ignored properly in rust-bin and
    cargo-bin for two different reasons:
    
    In rust-bin, a dependency is being created on the value of ${S} instead
    of creating a transitive dependency on ${S} -> ${WORKDIR} and then
    ignoring ${WORKDIR}. It's not clear why exactly this is the case, but it
    was confirmed by looking at the output of the stamps for the rust-bin
    recipe. The fix is to explicitly exclude ${WORKDIR} from the creation of
    ${S} with a `vardepsexclude`
    
    In cargo-bin the issue is more straight-forward: the ${S} value was
    being explicitly assembled in Python code, so Bitbake never sees that
    ${S} is formed from ${WORKDIR}. Adding explicit `vardeps` and
    `vardepsexcludes` in the Python section fixes this.
    
    Signed-off-by: Nick Stevens <nick@bitcurry.com>
    (cherry picked from commit 30ff1e7)
    nastevens committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    2c714ec View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy