未验证 提交 0b1a8a83 编写于 作者: R risemeup1 提交者: GitHub

Add option for setup.py (#51443)

* add option for setup.py

* add option for setup.py

* add option for setup.py

* add option for setup.py

* add ennv_dict.py and dist/ to .gitignore

* add ennv_dict.py and dist/ to .gitignore

* modify .gitignore
上级 e4e3675f
......@@ -31,6 +31,7 @@ paddle/fluid/prim/api/generated_prim/*.h
*.DS_Store
*.vs
build/
dist/
build_doc/
*.user
*.tmp
......
......@@ -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
......
......@@ -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@'
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册