分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

cnrt例程cmake不成功 小白兔2020-12-02 17:07:00 回复 6 查看 思元270 经验交流 BANG语言
cnrt例程cmake不成功
分享到:

/usr/bin/gcc

~/cnrt/build ~/cnrt/

-- Build cambricon release test cases.

-- The C compiler identification is GNU 7.5.0

-- The CXX compiler identification is GNU 7.5.0

-- Check for working C compiler: /usr/bin/cc

-- Check for working C compiler: /usr/bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- NEUWARE_HOME=/usr/local/neuware/

-- cncc have been found.

-- Configuring done

-- Generating done

-- Build files have been written to: /home/b212/cnrt/build

[ 14%] Building CNCC CMakeFiles/bang_test.dir/tests/bang_test_generated_bang.mlu.o

Scanning dependencies of target module_test

[ 28%] Building C CMakeFiles/module_test.dir/tests/serial.c.o

[ 42%] Building C CMakeFiles/module_test.dir/tests/offline.c.o

[ 57%] Building C CMakeFiles/module_test.dir/tests/parallel.c.o

[ 71%] Building C CMakeFiles/module_test.dir/tests/all_test.c.o

CMake Error at bang_test_generated_bang.mlu.o.cmake:167 (message):

  Error generating file

  /home/b212/cnrt/build/CMakeFiles/bang_test.dir/tests/./bang_test_generated_bang.mlu.o



CMakeFiles/bang_test.dir/build.make:63: recipe for target 'CMakeFiles/bang_test.dir/tests/bang_test_generated_bang.mlu.o' failed

make[2]: *** [CMakeFiles/bang_test.dir/tests/bang_test_generated_bang.mlu.o] Error 1

CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/bang_test.dir/all' failed

make[1]: *** [CMakeFiles/bang_test.dir/all] Error 2

make[1]: *** 正在等待未完成的任务....

[ 85%] ing C executable module_test

[ 85%] Built target module_test

Makefile:83: recipe for target 'all' failed

make: *** [all] Error 2


热门帖子

精华帖子

版权所有 © 2021 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭