apt-get install git cmake
git clone https://github.com/qubic/qubic-cli.git
cd qubic-cli/
mkdir build
cd build
cmake ../
make
failed to compile with the following message,The "immintrin.h" file is unique to the x86 architecture, the aarch64 architecture does not have such a file, and attempts to compile it this way have failed
root@node13:/var/log/qubic-cli/build# make
Scanning dependencies of target fourq-qubic
[ 7%] Building CXX object CMakeFiles/fourq-qubic.dir/fourq-qubic.cpp.o
In file included from /var/log/qubic-cli/fourq-qubic.cpp:2:0:
/var/log/qubic-cli/K12AndKeyUtil.h:2:23: fatal error: immintrin.h: no such file or directory
compilation terminated.
CMakeFiles/fourq-qubic.dir/build.make:62: recipe for target 'CMakeFiles/fourq-qubic.dir/fourq-qubic.cpp.o' failed
make[2]: *** [CMakeFiles/fourq-qubic.dir/fourq-qubic.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/fourq-qubic.dir/all' failed
make[1]: *** [CMakeFiles/fourq-qubic.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
I tried to compile 'qubic-cli'
failed to compile with the following message,The "immintrin.h" file is unique to the x86 architecture, the aarch64 architecture does not have such a file, and attempts to compile it this way have failed