Paddle 源码编译

z4bn682m  于 2021-12-07  发布在  Java
关注(0)|答案(2)|浏览(381)

系 统:openeuler arm64
编译命令:make TARGET=ARMV8 -j4
错误 :
c++: error: unrecognized command line option ‘-m64’
make[2]:***[paddle/fluid/platform/CMakeFiles/flags.dir/build.make:63: paddle/fluid/platform/CMakeFiles/flags.dir/flags.cc.o] Error 1
make[2]: Leaving directory '/root/tools/Paddle/build'
make[1]:***[CMakeFiles/Makefile2:4024: paddle/fluid/platform/CMakeFiles/flags.dir/all] Error 2
make[1]:***Waiting for unfinished jobs....
make[2]: Leaving directory '/root/tools/Paddle/build'
make[2]: Entering directory '/root/tools/Paddle/build'
[ 3%] Performing build step for 'extern_warpctc'
[ 3%] Building CXX object paddle/fluid/platform/CMakeFiles/cudnn_workspace_helper.dir/cudnn_workspace_helper.cc.o
make[3]: Entering directory '/root/tools/Paddle/build/third_party/warpctc/src/extern_warpctc-build'
c++: error: unrecognized command line option ‘-m64’
make[2]:***[paddle/fluid/platform/CMakeFiles/cudnn_workspace_helper.dir/build.make:63: paddle/fluid/platform/CMakeFiles/cudnn_workspace_helper.dir/cudnn_workspace_helper.cc.o] Error 1

请问我该如何解决或避免这种问题的发生呢

hfsqlsce

hfsqlsce1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

zdwk9cvp

zdwk9cvp2#

有运行cmake命令吗?另外源码可参考https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/compile/linux-compile.html#anchor-0

相关问题