Skip to content
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

Native Execution Binaries workflow and changes for macOS Arm. #6513

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

neilcsmith-net
Copy link
Member

Add a GitHub workflow to build the dlight.nativeexecution binaries, and include fixes to allow building for Apple Silicon (with thanks to @tmulle and @oyarzun for input on #3467 )

This workflow is based on the changes to the profiler workflow, first building a source bundle suitable for a release vote, then using that to build the binaries.

Cross compilation on macOS required moving to a new build script and manually specifying the OS and CPU architecture.

This currently builds for Linux x64_86, and macOS x86_64 and arm64. Building for Windows is left for a later stage. For NB20 we should probably look to just include just those Apple Silicon libraries we can and leave the existing libs. I've tested terminal support, but not any other uses of these libraries.

Copy link
Contributor

@vieiro vieiro left a comment

Choose a reason for hiding this comment

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

Some makefiles are changed by hand, we can solve this later on, when/if CND sees the light and the new arm64 platform is added to CND.

ide/dlight.nativeexecution/tools/Makefile Show resolved Hide resolved
@neilcsmith-net
Copy link
Member Author

Thanks! Remaining profiler reference removed. Once green again, I'll merge, trigger and stage the binaries. Then I'll open a draft PR to include the Apple Silicon support.

@neilcsmith-net neilcsmith-net merged commit eb9e96d into apache:master Oct 3, 2023
38 checks passed
@neilcsmith-net neilcsmith-net deleted the nativeexec-workflow branch January 16, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI continuous integration changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants