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

[BP] [jenkins][Apple] Some fixes for apple buildsteps #22958

Merged
merged 2 commits into from Mar 11, 2023

Conversation

fuzzard
Copy link
Contributor

@fuzzard fuzzard commented Mar 11, 2023

Description

Backport #22710

Motivation and context

How has this been tested?

What is the effect on users?

Screenshots (if appropriate):

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Clean up (non-breaking change which removes non-working, unmaintained functionality)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that will cause existing functionality to change)
  • Cosmetic change (non-breaking change that doesn't touch code)
  • None of the above (please explain below)

Checklist:

  • My code follows the Code Guidelines of this project
  • My change requires a change to the documentation, either Doxygen or wiki
  • I have updated the documentation accordingly
  • I have read the Contributing document
  • I have added tests to cover my change
  • All new and existing tests passed

fuzzard added 2 commits March 11, 2023 11:22
With the new Build system in xcode, it now has a changed behaviour with a new setting
"Based on dependency analysis". For us, essentially our dependency
targets (eg fmt, spdlog, etc) are added as Run scripts by the cmake xcode generator.
This means that any dep added as a run script will always be exectuted.

Currently with master buildsteps make-xbmc builds the build target, and then the package step
building the deb target, dependencies are built twice regardless of state. We will have to
look into the cmake generation side of things but the easiest solution for now is to just
generate the deb target as part of the make-xbmc buildstep, and then just handle upload
of artifact in the package buildstep.

Shaves off ~3 minutes of build time on jenkins.
@fuzzard fuzzard added this to the Nexus 20.1 milestone Mar 11, 2023
@fuzzard fuzzard merged commit 7df72ff into xbmc:Nexus Mar 11, 2023
1 check passed
@fuzzard fuzzard deleted the backport_fuzzard_fix_apple_buildsteps branch March 11, 2023 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant