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

Split MacOS binaries into amd64 and x64 versions to allow each to be shipped separately (feature request) #125

Open
eirikbakke opened this issue Jan 13, 2025 · 0 comments

Comments

@eirikbakke
Copy link

The DuckDB JAR file is currently 73.3MB, which is a bit large for embedding into downloadable applications. Most of this comes from the four platform-dependent binaries inside:

  • libduckdb_java.so_linux_amd64 (54.6MB)
  • libduckdb_java.so_linux_arm64 (50.9MB)
  • libduckdb_java.so_osx_universal (98.6MB)
  • libduckdb_java.so_windows_amd64 (28.3MB)

It's easy enough to delete all of these but the one relevant to the architecture actually targeted in the bundle. But for the MacOS case, the arm64 and x64 binaries are combined into a single large "universal" executable. It would be helpful if the architectures were kept in separate files, so that only the relevant one could be included.

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

No branches or pull requests

1 participant