Enable python3 builds

Summary: Closes https://github.com/caffe2/caffe2/pull/1240

Differential Revision: D5879947

Pulled By: Yangqing

fbshipit-source-id: c452362b2ab54397723b5be3f1258c57213f6fc4
This commit is contained in:
Yangqing Jia
2017-09-20 21:55:12 -07:00
committed by Facebook Github Bot
parent 5d6a41b8aa
commit ae10a0a3e8

View File

@ -208,7 +208,7 @@ endif()
# ---[ Python + Numpy
if(BUILD_PYTHON)
set(Python_ADDITIONAL_VERSIONS 2.8 2.7 2.6)
set(Python_ADDITIONAL_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0 2.8 2.7 2.6)
find_package(PythonInterp 2.7)
find_package(PythonLibs 2.7)
find_package(NumPy REQUIRED)