Skip to content
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

ci: Rework SDK build steps #3586

Merged
merged 1 commit into from
Apr 30, 2020
Merged

ci: Rework SDK build steps #3586

merged 1 commit into from
Apr 30, 2020

Conversation

klauskiwi
Copy link

Significantly rework how we're doing the SDK step for our CI scripts:

  • Reduce the number of packages to speed up SDK build step. The only
    reusable piece of an SDK is the toolchain and it's own dependent
    pieces (i.e., sysroot dir), so don't waste time by building packages
    that will be rebuilt when the SDK is used.

  • Instead of always building the SDK based on witherspoon_defconfig,
    take into account the platform for which the SDK is being built for,
    but try to canonize it and consider it's primary characteristics to
    make it unique, such as buildroot version, architecture, OS, Kernel
    Headers and GCC version used.
    Without this, at the time of this commit, the complete zz_defconfig
    build is using GCC 7.4.0, the sdk build is using GCC 6.5.0 from
    witherspoon_defconfig - an inconsistency in the result from a
    complete versus an sdk-based build.

Signed-off-by: Klaus Heinrich Kiwi klaus@linux.vnet.ibm.com

Significantly rework how we're doing the SDK step for our CI scripts:

 * Reduce the number of packages to speed up SDK build step. The only
   reusable piece of an SDK is the toolchain and it's own dependent
   pieces (i.e., sysroot dir), so don't waste time by building packages
   that will be rebuilt when the SDK is used.

 * Instead of always building the SDK based on witherspoon_defconfig,
   take into account the platform for which the SDK is being built for,
   but try to canonize it and consider it's primary characteristics to
   make it unique, such as buildroot version, architecture, OS, Kernel
   Headers and GCC version used.
   Without this, at the time of this commit, the complete zz_defconfig
   build is using GCC 7.4.0, the sdk build is using GCC 6.5.0 from
   witherspoon_defconfig - an inconsistency in the result from a
   complete versus an sdk-based build.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
@klauskiwi klauskiwi merged commit b7c2360 into open-power:master Apr 30, 2020
@klauskiwi klauskiwi deleted the scripts_cleanup_stage_3 branch May 4, 2020 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant