Skip to content

Commit 5ec6ef8

Browse files
committed
remove version check
1 parent d35e913 commit 5ec6ef8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

paddle/fluid/operators/generator/CMakeLists.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,7 @@ function(install_py_pybind11_stubgen)
6767
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
6868

6969
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()
70+
return()
8071
endif()
8172

8273
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pip install -U

0 commit comments

Comments
 (0)