Repository navigation
Publish a native osx-arm64 (Apple Silicon) build - #107
Open
zalmoxes-laran wants to merge 2 commits into
Open
zalmoxes-laran wants to merge 2 commits into
zalmoxes-laran wants to merge 2 commits into
Conversation
…e native Apple Silicon build encodes KTX2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a native osx-arm64 (Apple Silicon) build to the release workflow, next to the existing
osx-x64one:Obj2Tiles/Properties/PublishProfiles/osx-arm64.pubxml— theosx-x64profile withRuntimeIdentifierset toosx-arm64;publish.yml— one moredotnet publish, one more zip (Obj2Tiles-OsxArm64.zip) and the zip added to the release files.Today Apple Silicon Macs run
Obj2Tiles-Osx64under Rosetta 2. I built this profile on Linux (dotnet publish -p:PublishProfile=osx-arm64.pubxml Obj2Tiles, .NET SDK 10.0.403, same as the workflow's ubuntu runner) and ran the binary on an M-series Mac (macOS, arm64): it starts without extra signing (the linker's ad-hoc signature is enough) and--versionreports1.8.0+7d83cbd. On the same 448,734-triangle textured OBJ with default settings, the native build completed the pipeline in 11 s, the Osx64 build under Rosetta in 24 s; both wrote the same structure (tileset.json,root.b3dm, LOD-0…LOD-2).We use Obj2Tiles from EMStudio (Extended Matrix, CNR-ISPC) to turn large photogrammetric meshes into 3D Tiles; many of our users are on Apple Silicon. Thank you for the tool.