FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Make hwloc_targ PATCH_COMMAND idempotent by wenju-he · Pull Request #1603 · oneapi-src/unified-memory-framework · GitHub

Make hwloc_targ PATCH_COMMAND idempotent - #1603

Merged
lukaszstolarczuk merged 1 commit into
oneapi-src:mainfrom
wenju-he:PATCH_COMMAND-skip-if-already-applied
Aug 27, 2026
Merged

Make hwloc_targ PATCH_COMMAND idempotent#1603
lukaszstolarczuk merged 1 commit into
oneapi-src:mainfrom
wenju-he:PATCH_COMMAND-skip-if-already-applied

Conversation

Copy link
Copy Markdown
Contributor

UPDATE_DISCONNECTED still re-touches the update step's stamp on every
build, which invalidates the downstream patch step's stamp even though
the source wasn't reset. Since git apply isn't idempotent, this made
every incremental build after the first fail with "patch does not
apply". Skip re-applying when the patch is already present.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Checklist

  • [x ] Code compiles without errors locally
  • [x ] All tests pass locally
  • CI workflows execute properly

wenju-he marked this pull request as ready for review August 26, 2026 01:41
wenju-he requested a review from a team as a code owner August 26, 2026 01:41

Copy link
Copy Markdown
Contributor

thanks @wenju-he LGTM

PatKamin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, please fix formatting

bratpiorka force-pushed the PATCH_COMMAND-skip-if-already-applied branch from b7e52af to 4c1a7ba Compare August 26, 2026 07:53

Copy link
Copy Markdown
Contributor

@PatKamin done

Copy link
Copy Markdown
Contributor

please rebase on the latest main, for the CI to pass :)

UPDATE_DISCONNECTED still re-touches the update step's stamp on every
build, which invalidates the downstream patch step's stamp even though
the source wasn't reset. Since git apply isn't idempotent, this made
every incremental build after the first fail with "patch does not
apply". Skip re-applying when the patch is already present.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
wenju-he force-pushed the PATCH_COMMAND-skip-if-already-applied branch from 4c1a7ba to f23144b Compare August 27, 2026 09:57

Copy link
Copy Markdown
Contributor Author

please rebase on the latest main, for the CI to pass :)

done

lukaszstolarczuk merged commit 7befc08 into oneapi-src:main Aug 27, 2026
219 of 221 checks passed
wenju-he deleted the PATCH_COMMAND-skip-if-already-applied branch August 27, 2026 13:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

4 participants


Back | FazBrowse Home | New Git URL