Skip to content

feat: support aarch64 architecture for JindoSDK dependency#163

Open
SteNicholas wants to merge 1 commit intoalibaba:mainfrom
SteNicholas:PAIMON-162
Open

feat: support aarch64 architecture for JindoSDK dependency#163
SteNicholas wants to merge 1 commit intoalibaba:mainfrom
SteNicholas:PAIMON-162

Conversation

@SteNicholas
Copy link
Contributor

Purpose

Linked issue: close #162

Support aarch64 architecture for JindoSDK dependency. The sha256sum of JindoSDK packages are as follows:

$sha256sum jindosdk-6.10.2-linux.tar.gz 
23e61c9815fab1cd88c369445bdbe1eab02cc09bafed3bb5118ecaf5b2fbc518  jindosdk-6.10.2-linux.tar.gz

$sha256sum jindosdk-6.10.2-linux-el7-aarch64.tar.gz 
b4afbf6abaa9bad2e3c6bd6a02af2acd81f4dc418b313ef959e1c55f9fb13ebd  jindosdk-6.10.2-linux-el7-aarch64.tar.gz

$sha256sum jindosdk-6.10.2-macos-11_0-x86_64.tar.gz 
3c79e2be018a486423fa63dd5ffe5a9a08477f9cf51ffdae81c0320e2190b489  jindosdk-6.10.2-macos-11_0-x86_64.tar.gz

$sha256sum jindosdk-6.10.2-macos-11_0-aarch64.tar.gz 
7db9e47b7311f6ffcaa661a4d73c989640f9bbbbd2ad48e35788aa99d44759db  jindosdk-6.10.2-macos-11_0-aarch64.tar.gz

Tests

Local test on MacOS(M4).

$ ls cmake-build-debug/jindosdk_ep-install/lib/native/
libjindo-csdk.dylib

API and Format

No.

Documentation

No.

Copilot AI review requested due to automatic review settings March 2, 2026 09:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds architecture-aware selection of prebuilt JindoSDK C packages so builds can work on aarch64 (Linux and macOS).

Changes:

  • Split JindoSDK package names and SHA256 checksums by OS/architecture in versions.txt.
  • Update CMake toolchain logic to pick the correct JindoSDK URL/checksum and dynamic library filename for Linux/Darwin and x86_64/aarch64.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
third_party/versions.txt Introduces per-OS/arch JindoSDK package variables (name, checksum, URL entries).
cmake_modules/ThirdpartyToolchain.cmake Selects JindoSDK artifact/checksum and library name based on platform/CPU architecture.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

else()
set_urls(JINDOSDK_C_SOURCE_URL
"https://jindodata-binary.oss-cn-shanghai.aliyuncs.com/release/${PAIMON_JINDOSDK_C_BUILD_VERSION}/jindosdk-${PAIMON_JINDOSDK_C_BUILD_VERSION}-macos-11_0-aarch64.tar.gz"
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just to confirm: after adjusting Jindo, does the build now work on macOS?
If so, we could update the README to reflect that x86 and macOS are supported (with known limitations).
Specifically: Lumina and Lance are still not supported on macOS.

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

Successfully merging this pull request may close these issues.

[Subtask] Support aarch64 architecture for JindoSDK dependency

3 participants