您好,我在鲲鹏920(arm)上部署chatglm3-6b-32k,但cmake -B build出现以下问题,帮我看看如何解决,谢谢(gcc g++ 7.5.0 cmake version 3.28.1):
(chatglm) root@15-0-0-62:~# /opt/cmake/bin/cmake --version
cmake version 3.28.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
(chatglm) root@15-0-0-62:~# cd root
-bash: cd: root: No such file or directory
(chatglm) root@15-0-0-62:~# cd /root
(chatglm) root@15-0-0-62:~# cmake -B build
CMake Error: The source directory "/root/build" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
(chatglm) root@15-0-0-62:~# cmake --build build -j --config Release
Unknown argument -j
Usage: cmake --build
[options] [-- [native-options]]
Options:
= Project binary directory to be built.
--target = Build instead of default targets.
May only be specified once.
--config = For multi-configuration tools, choose .
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--use-stderr = Ignored. Behavior is default in CMake >= 3.0.
-- = Pass remaining options to the native tool.
(chatglm) root@15-0-0-62:~# gcc --version
gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(chatglm) root@15-0-0-62:~# g++ --version
g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
您好,我在鲲鹏920(arm)上部署chatglm3-6b-32k,但cmake -B build出现以下问题,帮我看看如何解决,谢谢(gcc g++ 7.5.0 cmake version 3.28.1):
(chatglm) root@15-0-0-62:~# /opt/cmake/bin/cmake --version cmake version 3.28.1
CMake suite maintained and supported by Kitware (kitware.com/cmake). (chatglm) root@15-0-0-62:~# cd root -bash: cd: root: No such file or directory (chatglm) root@15-0-0-62:~# cd /root (chatglm) root@15-0-0-62:~# cmake -B build CMake Error: The source directory "/root/build" does not exist. Specify --help for usage, or press the help button on the CMake GUI. (chatglm) root@15-0-0-62:~# cmake --build build -j --config Release Unknown argument -j Usage: cmake --build