Skip to content
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

Build for aarch64-linux #67

Closed
rwilliams opened this issue Mar 18, 2022 · 7 comments · Fixed by #148
Closed

Build for aarch64-linux #67

rwilliams opened this issue Mar 18, 2022 · 7 comments · Fixed by #148

Comments

@rwilliams
Copy link

I'm keenly interested in having a working aarch64-linux build for IQ-Tree. It looks like there has been work done to getting it to work on the new M1 Macs (#42) If someone could point me in the right direction to get started I'd be happy to take a stab at this myself.

Cheers,
Ron

@trongnhanuit
Copy link
Member

Dear Ron,
I have compiled a very initial build of IQ-TREE for M1 Mac by adopting "IQ-TREE : ARM NEON Implementation" by Joshlvmh. However, that initial build still needs further improvements.
For the implementation, you can have a look at the following commits:

The key idea is to detect the ARM architecture by #if !defined(__ARM_NEON) and implement the corresponding codes for that architecture.
I think you can try similar things for aarch64. Hope it help.
Cheers,
Nhan

@rwilliams
Copy link
Author

@trongnhanuit Can you assign this to me so I don't forget I want to get to it :)

Cheers,
Ron

@jianshu93
Copy link

any updates on this? Can it be successfully compiled?

Thanks

Jianshu

@rwilliams
Copy link
Author

We're going to start working on it on our end in the next few days.

Cheers,
Ron

@davidecarlson
Copy link

Hi all, I was just curious if there is an update on the aarch64 build?
Thanks!
Dave

@martin-g
Copy link
Contributor

martin-g commented Nov 6, 2023

Hi!
I've created a Pull Request that adds support for Linux ARM64 to CMakeLists.txt - #148
I also added CI based on Github Actions for Linux x86_64 and aarch64. You could see the results at my fork - https://github.com/martin-g/iqtree2/actions/runs/6768981048
The build for x86_64 is green but I'm still fixing the missing OS dependencies for the aarch64 one!

@corneliusroemer
Copy link
Contributor

It would be great if linux-aarch64 builds could be enabled - bioconda recently added support for that. It would also be useful for arm docker images that can run without qemu on arm macs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants