From c39ab1a5f99588b90d8a8b045f2a8dfa60938abf Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Thu, 23 Apr 2020 10:53:52 -0700 Subject: [PATCH] packaging: Add BUILD_VERSION as a script_env to pass BUILD_VERSION was not getting propagated properly through our conda packaging, which made release builds look as though they were actually develpoment builds. This remedies that by having conda pass the environment variable BUILD_VERSION through to the "python setup.py install" portion of the "conda build". This might have some side effects but I think overall this should be a fairly harmless change. Signed-off-by: Eli Uriegas --- packaging/torchvision/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/torchvision/meta.yaml b/packaging/torchvision/meta.yaml index 9864c2eb092..8be8eabdd09 100644 --- a/packaging/torchvision/meta.yaml +++ b/packaging/torchvision/meta.yaml @@ -30,6 +30,7 @@ build: - CUDA_HOME - FORCE_CUDA - NVCC_FLAGS + - BUILD_VERSION features: {{ environ.get('CONDA_CPUONLY_FEATURE') }}