Skip to content

Commit

Permalink
pass env variable through
Browse files Browse the repository at this point in the history
soumith committed Feb 3, 2019
1 parent 91a58bf commit e4650cf
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda/build_pytorch.sh
Original file line number Diff line number Diff line change
@@ -271,6 +271,7 @@ else
export CONDA_CUDATOOLKIT_CONSTRAINT="cudatoolkit >=8.0,<8.1"
else
echo "unhandled desired_cuda: $desired_cuda"
exit 1
fi

build_string_suffix="cuda${CUDA_VERSION}_cudnn${CUDNN_VERSION}_${build_string_suffix}"
1 change: 1 addition & 0 deletions conda/pytorch-1.0.1/meta.yaml
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ build:
script_env:
- CUDA_VERSION
- CUDNN_VERSION
- CONDA_CUDATOOLKIT_CONSTRAINT
- NO_CUDA
- CMAKE_ARGS
- EXTRA_CAFFE2_CMAKE_FLAGS

0 comments on commit e4650cf

Please sign in to comment.