Apple Silicon (ARM) support + build fixes for modern Processing and JDK - #47
Open
trackme518 wants to merge 1 commit into
Open
trackme518 wants to merge 1 commit into
trackme518 wants to merge 1 commit into
Conversation
- build.properties: Processing 4.1+ ships versioned jars under
Contents/app/resources/core/library; use glob patterns for core and
jogl-all. Bump library version to 10 (4.1), tested against 4.5.6.
- build.xml: javadoc classpath referenced a nonexistent core.jar and
had a broken {project.bin} expansion; use the build classpath.
Replace the legacy ExampleTaglet (com.sun.javadoc API removed in
recent JDKs) with javadoc's standard -tag option, and drop the dead
processing.org javadoc link.
Companion to the Syphon/Java pull request adding the universal
(Apple Silicon + Intel) native build; the java submodule pointer
should be updated to the merged commit.
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.
Added support for macOS Apple Silicon (arm64), while remaining compatible with Intel macOS
The library currently ships x86_64-only native binaries, so it fails to load in arm64 JVMs (Processing 4 on Apple Silicon). The native build is fixed in the companion pull request Syphon/Java#9, which adds
build_universal.sh: universalx86_64+arm64binaries built with Command Line Tools only (no Xcode), with Apple's removed JavaNativeFoundation framework replaced by vendored sources, and the Syphon framework submodule updatedc404f3c(v5, 2017) →f476167(post-5.0, +99 commits onmain, incl. the 32BGRA pixel-format fix and core-profile state restore needed on Apple GPUs).This PR (Processing-side changes)
resources/build.properties– Processing 4.1+ moved its jars toContents/app/resources/core/libraryand versions the file names; classpath now uses glob patterns. Bump library version to 10 / 4.1,tested.processingVersion4.5.6.resources/build.xml– javadoc step fixed for current JDKs: the classpath referenced a nonexistentcore.jar(and had a broken{project.bin}expansion), the legacyExampleTaglet(com.sun.javadocAPI, removed in recent JDKs) is replaced by javadoc's standard-tag exampleoption, and the deadprocessing.orgjavadoc link is removed.Compatibility & verification
lipo):x86_64 arm64— works unchanged on Intel and Apple Silicon macOS.SendFrames,ReceiveFrames,SendScreenexamples work on arm64; x86_64 verified via Rosetta.