Closed 123xyl closed 1 year ago
When compiling make on the arm platform, the following error occurs, using the clang and clang++ compilers
Hi,
you need to
git clone --recurse-submodules https://github.com/refresh-bio/kmc.git
or
git clone https://github.com/refresh-bio/kmc.git
git submodule init
git submodule update
not sure if clang will work, officially we require g++ (on mac may be installed with brew)
Hi,
can you give me output of
g++ --version
?
Hi,
hmm that is interesting.
I have g++-11 installed on M1 MAC OS and it compiles.
How did you install g++-7? In my case brew
does not allow it with gcc@7: The x86_64 architecture is required for this software
Is there a reason why you cannot use precompiled binary from the release page?
I am installing kmc on a linux arm machine and the compiled binary does not run on arm, it reports an error
Ohh, I see. And what is the error message? I really appreciate this report.
Are you sure you use the correct release? You should use this:
no i used the version of 3.2.1
sorry i have a try soon
great. please let me know. We currently have very limited access to Linux arm and we are unable to perform exhaustive testing.
Thanks :( Not good. And updating the compiler is not an option? Out of curiosity what is your CPU model and linux distribution?
I have used some other flags for compilation and linking, could you please try it this works: KMC3.2.2.linux.arm64-static.tar.gz
ok
Can you release the compiled binary package now that it is running on arm?
So, does it mean, the attached KMC3.2.2.linux.arm64-static.tar.gz works fine on your arm Linux?
yes
Great, thanks. I have replaced the release tarball. I will close this issue now, if something is wrong please let me know and reopen it.