mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Summary: When installing on systems such as Arch Linux where the default python version is 3 the build will fail. To fix this instead of changing the python link in the shell it is more efficient to set the default python version allowed by cmake. Closes https://github.com/caffe2/caffe2/pull/361 Differential Revision: D4932214 Pulled By: Yangqing fbshipit-source-id: 06997d2df68b8e4037d72fd49813f6f74ca7591b