-
Notifications
You must be signed in to change notification settings - Fork 30
feat: add macos arm64 build #155
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
feat: add macos arm64 build #155
Conversation
Signed-off-by: Rene Leonhardt <[email protected]>
9b2e311 to
714d4b6
Compare
|
@dariusz-f |
| cmake --build build-windows | ||
| ``` | ||
|
|
||
| - Build Instructions macOS (Apple Silicon) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following build commands can also be added :-
- macOS universal build :
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=macos_universal_toolchain.cmake -DUNIVERSAL=1 -DCMAKE_BUILD_TYPE=Release
cmake --build build
- ios arm64 build :-
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=ios_arm64_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, done.
Signed-off-by: Rene Leonhardt <[email protected]>
| cmake -S ${{github.workspace}} -B ${{github.workspace}}/build-darwin -DUNIVERSAL=FALSE -DCMAKE_OSX_ARCHITECTURES=arm64 -DARM=1 -DCMAKE_BUILD_TYPE=Release | ||
| cmake --build ${{github.workspace}}/build-darwin | ||
| cd ${{github.workspace}}/build-darwin | ||
| # Builds OpenAPV-0.2.0.3-Darwin.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove that comment with hardcoded version
| cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -DCMAKE_TOOLCHAIN_FILE=macos_universal_toolchain.cmake -DUNIVERSAL=1 -DCMAKE_BUILD_TYPE=Release | ||
| cmake --build ${{github.workspace}}/build | ||
| cd ${{github.workspace}}/build | ||
| # Builds OpenAPV-0.2.0.3-Darwin.dmg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove that comment with hardcoded version
Signed-off-by: Rene Leonhardt <[email protected]>
Features