Debian Patches
Status for torchcodec/0.14.0-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| setup-fix.patch | debian specific build modifications setup.py imports torch just to locate torch's CMake config directory via torch.utils.cmake_prefix_path. Importing the full torch package at setup.py parse time is unnecessary and fragile in the Debian build environment. Comment out the import and hardcode the known location of the Torch CMake files shipped by the python3-torch Debian package instead. The hardcoded path to the Torch CMake config directory introduced by patch-setup.py only works on amd64. Derive the path from the multiarch tuple reported by sysconfig instead, so the build also works on other architectures supported by the python3-torch Debian package. diff --git a/setup.py b/setup.py index 70c647c..3c656d5 100644 |
no |
All known versions for source package 'torchcodec'
- 0.14.0-1 (sid)
