We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d35e913 commit 5ec6ef8Copy full SHA for 5ec6ef8
paddle/fluid/operators/generator/CMakeLists.txt
@@ -67,16 +67,7 @@ function(install_py_pybind11_stubgen)
67
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
68
69
if(_pybind11_stubgen_status EQUAL 0)
70
- # check version
71
- execute_process(
72
- COMMAND ${PYTHON_EXECUTABLE} "-c"
73
- "import pybind11_stubgen; print(pybind11_stubgen.__version__)"
74
- OUTPUT_VARIABLE _pybind11_stubgen_version
75
- ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
76
-
77
- if(_pybind11_stubgen_version)
78
- return()
79
- endif()
+ return()
80
endif()
81
82
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pip install -U
0 commit comments