CDP8 icon indicating copy to clipboard operation
CDP8 copied to clipboard

Build for Apple Silicon

Open jottr opened this issue 1 year ago • 6 comments

A build for Apple Silicon would be very nice.

jottr avatar Jun 30 '24 11:06 jottr

@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

wolfshirts avatar Aug 02 '24 04:08 wolfshirts

@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.

shakfu avatar Aug 05 '24 09:08 shakfu

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.

jottr avatar Aug 05 '24 16:08 jottr

@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.

wolfshirts avatar Aug 05 '24 16:08 wolfshirts

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

shakfu avatar Aug 05 '24 17:08 shakfu

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

wolfshirts avatar Aug 05 '24 18:08 wolfshirts