GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add cross-compilation for Mac and Linux ARM systems by alandavidreyes · Pull Request #13 · lmdbjava/native

Conversation

@alandavidreyes

@alandavidreyes alandavidreyes commented Apr 19, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

This change passes the relevant "-arch" flags into Clang to allow cross compiling of the underlying LMDB library using Clang. This creates binaries for Apple Silicon and ARM-based Linux processors (such as EC2's Graviton) that can be used by the parent library.

This is an attempt to solve the issue raised in #10.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

csumpter reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@alandavidreyes
Add cross-compilation for Mac and Linux arm systems
51b08a5
This change passes the relevant "-arch" flags into Clang to allow cross
compiling of the underlying LMDB library using Clang. This creates
binaries for Apple Silicon and ARM-based Linux processors (such as EC2's
Graviton) that can be used by the parent library.
@alandavidreyes

alandavidreyes commented Apr 19, 2023

Copy link
Copy Markdown
Author

This PR follows a similar pattern to #9. That PR seems to have stalled at the exploration of using QEMU to emulate the different architectures involved (using the run-on-arch-action action); if that approach is still desirable, I can make those changes here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alandavidreyes alandavidreyes changed the title Add cross-compilation for Mac and Linux arm systems Add cross-compilation for Mac and Linux ARM systems Apr 19, 2023
@alandavidreyes alandavidreyes mentioned this pull request Apr 19, 2023
Add support for Linux and Mac ARM platforms lmdbjava/lmdbjava#216
Closed
@alandavidreyes
Standardize architecture naming across Linux and Mac
f74dfb8
Some Linux/BSD systems use aarch64, others use arm64 to refer to the
underlying ARM architecture. The previous version of this branch
referred to that as aarch64. Given that there is some debate as to
what that architecture is called, it seems nicer to use the naming
convention that matches that used by Mac systems.
@bp-alex

bp-alex commented Apr 24, 2023

Copy link
Copy Markdown
Member

Closing this ticket as lmdbjava/lmdbjava#217 has provided a Zig-based cross-compilation in the Java module product. This in turn means the LmdbJava Native project is no longer required and will be archived.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bp-alex bp-alex closed this Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@alandavidreyes @bp-alex
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.