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

Is it possible to build the project in mac arm model or linux platform? #8

Open
cauliyang opened this issue Jun 13, 2023 · 4 comments

Comments

@cauliyang
Copy link

Hi! Amazing project, and I wonder if it is possible to build the project in the Mac m model or the x84_64 platform? I am not familiar with the Windows platform. Could you please provide a CmakeList.txt to build the project? Thanks for your answer in advance.

@cauliyang cauliyang changed the title Is it possible to build the project in mac m model or x84_64 platform? Is it possible to build the project in mac m model or linux platform? Jun 13, 2023
@axodox
Copy link
Owner

axodox commented Jun 13, 2023

Yes it would be possible to build for Mac, however that will require a few steps:

  • By looking at this project file a cmakelist file could be defined with the proper options
  • All files in this directory should be built
  • Then all ML stuff which has the PLATFORM_WINDOWS part would need to be replaced with a PLATFORM_MAC alternative - this is not much code though
  • This would also had to be applied at the project: https://github.com/axodox/axodox-common/tree/main
  • The DirectML provider should be replaced by the Apple one (sorry I forgot the name)
  • The ortextensions dll would need to be replaced by a mac build (I think this already exists)

I would say this could take 1-2 days to pull off, however I do not have a Mac and limited free time. However I am willing to help if somebody starts on this.

@cauliyang
Copy link
Author

Thank you for your message! I appreciate your willingness to help. I will take note of your suggestions and give it a try.

@cauliyang cauliyang changed the title Is it possible to build the project in mac m model or linux platform? Is it possible to build the project in mac arm model or linux platform? Jun 14, 2023
@netgeek888
Copy link

@cauliyang, I'm trying to use this project on Mac/Linux too. Have you had any success porting it? Would you be able to share your code and information about how to do it? Thank you.

@Asten-Valentinus
Copy link

I am a Linux user, and I think that you're project could gain a lot of popularity with better cross-platform support.
I hope to see it ported to Linux, and I am looking forward to seeing this project reach it's full potential.

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

No branches or pull requests

4 participants