Skip to content

Add dml-breaking-changes file to be used by cmake#407

Open
mandolaerik wants to merge 1 commit intointel:mainfrom
mandolaerik:pr/add-dml-breaking-changes-file-to-be-used-by-cmake
Open

Add dml-breaking-changes file to be used by cmake#407
mandolaerik wants to merge 1 commit intointel:mainfrom
mandolaerik:pr/add-dml-breaking-changes-file-to-be-used-by-cmake

Conversation

@mandolaerik
Copy link
Contributor

No description provided.

@mandolaerik
Copy link
Contributor Author

@mandolaerik mandolaerik marked this pull request as draft December 22, 2025 18:23
@mandolaerik mandolaerik force-pushed the pr/add-dml-breaking-changes-file-to-be-used-by-cmake branch from 810f1b3 to c4dd60b Compare December 22, 2025 19:44
@mandolaerik mandolaerik force-pushed the pr/add-dml-breaking-changes-file-to-be-used-by-cmake branch from c4dd60b to 843ab45 Compare January 13, 2026 09:21
@mandolaerik mandolaerik force-pushed the pr/add-dml-breaking-changes-file-to-be-used-by-cmake branch 2 times, most recently from 4d93f3c to 99b8d3f Compare February 27, 2026 23:26
@mandolaerik mandolaerik marked this pull request as ready for review March 4, 2026 22:45
@mandolaerik mandolaerik requested review from jhbaarnh and lwaern-intel and removed request for lwaern-intel March 4, 2026 22:45
vect-needs-provisional:
opt-in: [4, 5, 6, 7]
forbid-warning-statement:
opt-in: [4, 5, 6, 7]
Copy link
Contributor

Choose a reason for hiding this comment

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

Feels like we'd wanna autogen this based on the classes of breaking-change.py.

test/tests.py Outdated
set(changes_in_cmake) - set(changes_in_dmlc)))
self.pr(f"changes only in breaking_changes.py: " + str(
set(changes_in_dmlc) - set(changes_in_cmake)))
raise TestFail(f'mismatch')
Copy link
Contributor

Choose a reason for hiding this comment

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

... Especially since then that'd make this test redundant. My gut feeling is that the complexity cost of autogenning the file would be comparable to the complexity cost of this test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The reason for explicit yaml is that cmake needs the file, before dmlc has been built.

I realized that a better approach is to instead move all info to yaml, and let breaking_changes.py read the file as a module resource. Done now.

This allows the file to be consumed by cmake
@mandolaerik mandolaerik force-pushed the pr/add-dml-breaking-changes-file-to-be-used-by-cmake branch from 99b8d3f to 737a22a Compare March 5, 2026 13:29
@syssimics syssimics requested a review from lwaern-intel March 5, 2026 13:29
@mandolaerik
Copy link
Contributor Author

@mandolaerik mandolaerik added the run-tests Run the "Build and Test" GH runner label Mar 5, 2026
@syssimics
Copy link
Contributor

PR Verification: ❌ failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-tests Run the "Build and Test" GH runner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants