From b67229187e67b04f6f6517cf8c0ceb7fcd8629f4 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Sat, 24 Nov 2018 19:47:50 +0800 Subject: [PATCH] Change to PYBIND11_MODULE because the deprecation of PYBIND11_PLUGIN test=develop --- paddle/fluid/pybind/pybind.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index 795800fd51..bf86b83d4e 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -86,7 +86,7 @@ bool IsCompiledWithDIST() { #endif } -PYBIND11_PLUGIN(core) { +PYBIND11_MODULE(core) { // Not used, just make sure cpu_info.cc is linked. paddle::platform::CpuTotalPhysicalMemory(); -- GitLab