-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation on ARM server #1804
Comments
No official support for ARM processors and we don't have a system to test on. The code it's complaining about is relatively new, if you use the 2.0 release source it shouldn't have that specific dependency. You can try that but it may hit other ARM incompatibilities. If you do make it compile feel free to open a pull request with the changes. |
@skoren @Brent-Saylor-Canopy Hi,I also encountered the same problem on the arm machine. It is a pity that I do not have relevant development experience. Will I consider a plan to support arm in the future? |
https://pine64.com/product/rockpro64-4gb-single-board-computer/ I actually use a 1 GiB Rock64 with an emmc module to test FreeBSD ports on aarch64. Not a speed demon, but it gets the job done. Canu doesn't take long to build, so should be no problem here. Of course you'll be limited to very small test cases, but that's usually good enough to ensure operation on bigger data. |
The patches below are sufficient to build 2.1 on aarch64 and powerpc64, FreeBSD 13.0, clang 11. 2.2 is a more complicated matter. I found that parasail builds separately on amd64, aarch64, and powerpc64 without a hiccup. The parasail configure script detects the CPU architecture and attempts to optimize the build accordingly. If canu could link to a separate parasail installation, the cpuid.c errors mentioned in #2016 would be resolved. However, it looks like a subset of the parasail sources for x86 were integrated into the canu build system instead.
|
As an alternative, I eliminated the need for SIMDE by hacking cpuid.c as shown below. I've incorporated these into the FreeBSD port and a pkgsrc package, which builds on Apple Silicon. In theory, the pkgsrc package should work on any POSIX OS running on x86, ARM64, or Power64, but I've only tested it on NetBSD x86, Alma x86, macOS x86, and macOS ARM. The only testing I've done was to run the e-coli data in the quickstart in my Mac M1. Users can install pkgsrc on a Mac very easily using auto-pkgsrc-setup: Then
Pkgsrc also hacks in OpenMP support, which is crippled in Xcode compilers.
|
Redundant with #2271, Canu should build on arm64 systems now. |
Hi,
I am trying to install Canu on an ARM system running amazon linux, but I can't get the canu binaries to compile.
I have downloaded the most recent version of Canu from the git repository and tried to use the make file to build the binaries.
I get the following error:
From what I can tell this file is involved in compiling programs for intel systems. Is it possible to install this program on ARM systems?
The text was updated successfully, but these errors were encountered: