paddle在mac上编译不过
收藏
在编到python封装时报错了:
In file included from /Users/elaine/lab/contrib/Paddle/paddle/fluid/pybind/pybind.cc:90:
/Users/elaine/lab/contrib/Paddle/paddle/fluid/pybind/tensor_py.h:61:25: error: constexpr variable cannot have non-literal type 'const pybind11::detail::descr'
static constexpr auto name = _("float16");
我的编译器版本:
(env2) MacBook-Pro-2:CMakeFiles elaine$ clang --version
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
0
收藏
请登录后评论
辛苦提一下issue吧
https://github.com/PaddlePaddle/Paddle/issues