forked from NVIDIA/warp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support specifying the wheel platform
Calling `python -m build --wheel -C--build-option=-Pwindows` now creates dist/warp_lang-0.9.0-py3-none-win_amd64.whl, even if warp/bin/ contains libraries other than .dll. Likewise -C--build-option=-Plinux and -C--build-option=-Pmacos package just the .so and .dylib libraries, respectively. This enables creating three platform-specific wheels from a single artifact archive containing binary libraries for all three platforms. Executing just `python -m build --wheel` is still supported and will select a single platform, based on the libraries it detects. This is useful for creating a wheel from an artifact archive containing libraries for a single platform.
- Loading branch information
Showing
3 changed files
with
114 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,5 @@ build/lib/ | |
.venv/ | ||
exts/omni.warp/config/extension.gen.toml | ||
/external/llvm-project | ||
/build | ||
/dist |
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