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 Apple Silicon #9

Open
jottr opened this issue Jun 30, 2024 · 6 comments
Open

Build for Apple Silicon #9

jottr opened this issue Jun 30, 2024 · 6 comments

Comments

@jottr
Copy link

jottr commented Jun 30, 2024

A build for Apple Silicon would be very nice.

@wolfshirts
Copy link

wolfshirts commented Aug 2, 2024

@jottr Hi, I wanted apple silicon too so I built it tonight. You can grab it at the link below. Once you get the file run gunzip, and the resulting file will be a .tgz, extract it and you're good. This is missing any application that has portaudio. https://app.circleci.com/pipelines/github/wolfshirts/CDP8/15/workflows/b9dc7341-d664-4d2a-98fa-251d2b95467a/jobs/15/artifacts

@shakfu
Copy link

shakfu commented Aug 5, 2024

@jottr @wolfshirts

I too have added Apple Silicon support in my fork which assumes portaudio is obtained via the homebrew package manager. In this fork, libaaio is also built using cmake.

First install portaudio via homebrew...

brew install portaudio

... then build it.

git clone https://github.com/shakfu/CDP8.git
cd CDP8
mkdir build && cd build
cmake .. && cmake --build . --config Release

Built executables should be found in a new CDP8/NewRelease folder.

Also works for raspberry pi.

@jottr
Copy link
Author

jottr commented Aug 5, 2024

This is nice.
Maybe one could create a Github action, cross compile CDP8, and then install the resulting artifact via homebrew-cask.
This would avoid that everyone has to build their own binary.

@wolfshirts
Copy link

@jottr @shakfu I would be willing to put forth some effort on this. I can pull in the changes that @shakfu made to build with port and do the build on CCI. I'll look into creating a cask.

@shakfu
Copy link

shakfu commented Aug 5, 2024

Sure. Feel free to grab any relevant changes from my fork.

@wolfshirts
Copy link

@shakfu 💯 thanks, it will save the time of getting port working :).

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

3 participants