Skip to content

Commit 81994e8

Browse files
committed
Change the include files because the version changes of pybind11
test=develop
1 parent 8038cd1 commit 81994e8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

paddle/fluid/pybind/tensor_py.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ limitations under the License. */
2121
#include "paddle/fluid/memory/memcpy.h"
2222
#include "paddle/fluid/platform/device_context.h"
2323
#include "paddle/fluid/platform/float16.h"
24-
#include "pybind11/common.h"
2524
#include "pybind11/numpy.h"
2625
#include "pybind11/pybind11.h"
2726

paddle/scripts/paddle_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function cmake_gen() {
149149
elif [ "$1" == "cp37-cp37m" ]; then
150150
export LD_LIBRARY_PATH=/opt/_internal/cpython-3.7.0/lib/:${LD_LIBRARY_PATH}
151151
export PATH=/opt/_internal/cpython-3.7.0/bin/:${PATH}
152-
export PYTHON_FLAGS="-DPYTHON_EXECUTABLE:FILEPATH=/opt/_internal/cpython-3.7.0/bin/python3
152+
export PYTHON_FLAGS="-DPYTHON_EXECUTABLE:FILEPATH=/opt/_internal/cpython-3.7.0/bin/python3.7
153153
-DPYTHON_INCLUDE_DIR:PATH=/opt/_internal/cpython-3.7.0/include/python3.7m
154154
-DPYTHON_LIBRARIES:FILEPATH=/opt/_internal/cpython-3.7.0/lib/libpython3.so"
155155
fi

0 commit comments

Comments
 (0)