Skip to content

Conversation

@wdconinc
Copy link
Contributor

@wdconinc wdconinc commented Nov 19, 2025

Briefly, what does this PR introduce?

We currently use packages: all: require for setting overall preferences like compiler, cmake build type, etc. This is overridden by individual package requirements such as version. In order to have the overridden packages also pick up the desired requirements, we also add them as preferences with package: all: prefer which is not overridden (but not required...).

Since this affects the environment solutions, some packages have received additional version hints or explicit variant specifications that were previously satisfied implicitly.

Also:

  • fail-fast is now false so we achieve best effort on all containers,
  • clarify and enforce the ACTS/DD4hep compiler coupling.

What kind of change does this PR introduce?

  • Bug fix (issue: packages with specified versions are not using the overall requirements)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Copilot AI review requested due to automatic review settings November 19, 2025 15:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a bug where packages with specified versions were not inheriting overall requirements from packages:all:require. The solution adds a parallel packages:all:prefer section that applies preferences in a non-overridable way, ensuring that even packages with specific version requirements still pick up the desired compiler, build type, and other preferences.

Key changes:

  • Added prefer section to packages:all with gcc compiler, IPO, cmake build system, and Release build type
  • Retained existing require section with any_of patterns for flexibility
  • Changed dd4hep compiler requirement from %gcc to %clang to match ACTS requirements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wdconinc wdconinc force-pushed the packages-all-prefer-require branch from 802a3d0 to fb3c06c Compare November 24, 2025 05:16
Copilot AI review requested due to automatic review settings November 26, 2025 01:14
@wdconinc wdconinc force-pushed the packages-all-prefer-require branch from fb3c06c to c5483e9 Compare November 26, 2025 01:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 26, 2025 01:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wdconinc wdconinc force-pushed the packages-all-prefer-require branch from 19b3c0a to 48fa716 Compare November 27, 2025 16:31
Copilot AI review requested due to automatic review settings November 27, 2025 20:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 27, 2025 22:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 27, 2025 23:26
@wdconinc wdconinc force-pushed the packages-all-prefer-require branch from 447bd55 to 8d6c702 Compare December 21, 2025 15:57
Copilot AI review requested due to automatic review settings December 22, 2025 00:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings December 22, 2025 00:45
Clarify comments regarding the prefer and require sections in packages.yaml.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Updated dependencies and requirements for ACTS and dd4hep in packages.yaml.
Copilot AI review requested due to automatic review settings December 22, 2025 01:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings December 22, 2025 01:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 22, 2025 01:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings December 24, 2025 17:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wdconinc wdconinc enabled auto-merge (squash) December 24, 2025 18:24
@wdconinc wdconinc merged commit 0e169ce into master Dec 24, 2025
50 of 51 checks passed
@wdconinc wdconinc deleted the packages-all-prefer-require branch December 24, 2025 22:07
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.

3 participants