Fix reference to NO_CUDA and NO_DISTRIBUTED (#34831)

Summary:
- replace the old build variables NO_CUDA and NO_DISTRIBUTED in CONTRIBUTING.md with the new USE_CUDA and USE_DISTRIBUTED versions.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34831

Differential Revision: D20512659

Pulled By: colesbury

fbshipit-source-id: 2d6cb6fd35886eec0b4b1c94f568b5137407c551
This commit is contained in:
Richard J. Knight
2020-03-23 10:37:59 -07:00
committed by Facebook GitHub Bot
parent 506996c77e
commit 21ecb8d870

View File

@ -847,7 +847,7 @@ build_with_asan()
LDFLAGS="-stdlib=libstdc++" \
CFLAGS="-fsanitize=address -fno-sanitize-recover=all -shared-libasan -pthread" \
CXX_FLAGS="-pthread" \
NO_CUDA=1 USE_OPENMP=0 BUILD_CAFFE2_OPS=0 NO_DISTRIBUTED=1 DEBUG=1 \
USE_CUDA=0 USE_OPENMP=0 BUILD_CAFFE2_OPS=0 USE_DISTRIBUTED=0 DEBUG=1 \
python setup.py develop
}