-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When building wheels for different variants, the code base might be different from one variant to the other, for example when the code comes from a fork with variant specific features. And with a different code base, the patches may fail to be applied. This changes proposes to support patch files stored in a variant specific path under the existing unversioned and versioned patch directories. Below is an example of a patch tree: ``` .../patches .../patches/deepspeed .../pacthes/deepspeed/0001-unversioned-global.patch .../pacthes/deepspeed/0002-unversioned-global.patch .../patches/deepspeed/brie/0001-unversioned-brie.patch .../patches/deepspeed/feta/0002-unversioned-feta.patch .../patches/deepspeed-0.5.0/0001-versioned-global.patch .../patches/deepspeed-0.5.0/brie/0003-versioned-brie.patch ``` When applying the patches for the `brie` variant, the following patches would be applied: ``` .../pacthes/deepspeed/0001-unversioned-global.patch .../patches/deepspeed/brie/0001-unversioned-brie.patch .../pacthes/deepspeed/0002-unversioned-global.patch .../patches/deepspeed-0.5.0/0001-versioned-global.patch .../patches/deepspeed-0.5.0/brie/0003-versioned-brie.patch ``` When applying the patches for the `feta` variant, the following patches would be applied: ``` .../pacthes/deepspeed/0001-unversioned-global.patch .../pacthes/deepspeed/0002-unversioned-global.patch .../patches/deepspeed/feta/0002-unversioned-feta.patch .../patches/deepspeed-0.5.0/0001-versioned-global.patch ``` Signed-off-by: Fabien Dupont <[email protected]>
- Loading branch information
1 parent
33e1276
commit ef9e36b
Showing
9 changed files
with
143 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Empty file.
Empty file.
Empty file.