Skip to content

Conversation

@reneleonhardt
Copy link
Contributor

Features

  • Add macOS ARM64 build (Apple Silicon)

Signed-off-by: Rene Leonhardt <[email protected]>
@reneleonhardt reneleonhardt force-pushed the feat/add-macos-arm64-build branch from 9b2e311 to 714d4b6 Compare September 18, 2025 15:22
@kpchoi kpchoi requested a review from dariusz-f September 19, 2025 09:15
@kpchoi
Copy link
Collaborator

kpchoi commented Sep 19, 2025

@dariusz-f
I think this PR seems to need your review, definately.

cmake --build build-windows
```

- Build Instructions macOS (Apple Silicon)
Copy link
Collaborator

@sidwat sidwat Sep 19, 2025

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 :-

  1. macOS universal build :
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=macos_universal_toolchain.cmake -DUNIVERSAL=1 -DCMAKE_BUILD_TYPE=Release
cmake --build build
  1. ios arm64 build :-
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=ios_arm64_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build build

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, done.

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
Copy link
Collaborator

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
Copy link
Collaborator

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

@dariusz-f dariusz-f merged commit 1a3b64a into AcademySoftwareFoundation:main Sep 24, 2025
7 checks passed
@reneleonhardt reneleonhardt deleted the feat/add-macos-arm64-build branch September 24, 2025 12:19
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 this pull request may close these issues.

4 participants