diff --git a/.gitignore b/.gitignore index f48df37881d5082753a8a08fb30e4d68e957c9f2..32860f4c28e726eb7b41221ba08d4b7bead162a3 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ paddle/fluid/prim/api/generated_prim/*.h *.DS_Store *.vs build/ +dist/ build_doc/ *.user *.tmp diff --git a/CMakeLists.txt b/CMakeLists.txt index 2cdaa25a2f871c964113e93cab14a87040010d75..0e75b9df9152379a56acd8f7c3e1d312824457bd 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,6 +64,7 @@ option(WITH_ASCEND_CL "Compile PaddlePaddle with ASCEND CL" ${WITH_ASCEND}) option(WITH_ASCEND_CXX11 "Compile PaddlePaddle with ASCEND and CXX11 ABI" OFF) option(WITH_ONNXRUNTIME "Compile PaddlePaddle with ONNXRUNTIME" OFF) option(WITH_CUSPARSELT "Compile PaddlePaddle with CUSPARSELT" OFF) +option(WITH_SETUP_INSTALL "Compile PaddlePaddle with setup.py" OFF) # Note(zhouwei): It use option above, so put here include(init) include(generic) # simplify cmake module diff --git a/python/env_dict.py.in b/python/env_dict.py.in index ade6b5610e114b22d27669a155f8e0ea1dbd9d5b..f37f16a86a60dd2da5d753ff739fc6ed574be168 100644 --- a/python/env_dict.py.in +++ b/python/env_dict.py.in @@ -73,5 +73,6 @@ env_dict={ 'JIT_RELEASE_WHL':'@JIT_RELEASE_WHL@', 'WITH_PSLIB':'@WITH_PSLIB@', 'PYBIND_INCLUDE_DIR':'@PYBIND_INCLUDE_DIR@', - 'WITH_XDNN_API':'@WITH_XDNN_API@' + 'WITH_XDNN_API':'@WITH_XDNN_API@', + 'WITH_PYTHON':'@WITH_PYTHON@' }