[annotations]
"aipcc.component" = "Development Platform"
"aipcc.accelerator-enablement.libtorch" = "true"
"aipcc.accelerator-enablement.cuda" = "true"

[changelog]
"0.10.0" = ["2026-03-13: initial build for torchcodec", "2026-05-15: Opt out of gcc-toolset-14 (AIPCC-10154)", "2026-05-28: Add DGX Spark (sm_121) CUDA arch support"]

[env]
I_CONFIRM_THIS_IS_NOT_A_LICENSE_VIOLATION = "1"
TORCHCODEC_DISABLE_COMPILE_WARNING_AS_ERROR = "ON"

[download_source]
url = "https://gitlab.com/redhat/rhel-ai/core/mirrors/github/pytorch/torchcodec/-/archive/v${version}/torchcodec-v${version}.tar.gz"
destination_filename = "torchcodec-${version}.tar.gz"

[resolver_dist]
include_sdists = false
include_wheels = true
ignore_platform = true

[project_override]
update_build_requires = ["pybind11", "torch"]

[variants.cuda-ubi9.env]
ENABLE_CUDA = "ON"
