Skip to content

Add architecture support to build scripts and CI#67

Merged
gluschenko merged 22 commits intomasterfrom
arm-support-for-mediapipe-whatlang-lingua
Jan 7, 2026
Merged

Add architecture support to build scripts and CI#67
gluschenko merged 22 commits intomasterfrom
arm-support-for-mediapipe-whatlang-lingua

Conversation

@gluschenko
Copy link
Owner

Updated build scripts for Lingua, MediaPipe, and Whatlang native projects to require an architecture argument (x86_64 or arm64), and to output architecture-specific library filenames. The GitHub Actions CI workflow was updated to build and collect artifacts for both x86_64 and arm64 architectures across supported platforms.

Updated build scripts for Lingua, MediaPipe, and Whatlang native projects to require an architecture argument (x86_64 or arm64), and to output architecture-specific library filenames. The GitHub Actions CI workflow was updated to build and collect artifacts for both x86_64 and arm64 architectures across supported platforms.
Adds Python 3.11 setup to GitHub Actions workflow. Removes unnecessary pipx and python uninstall commands from the macOS build script.
Updated .gitignore and project files to support architecture-specific native binaries (x86_64, arm64) for Lingua, MediaPipe, and Whatlang native projects. Adjusted .csproj files to reference new binary names and package paths, improving multi-architecture support.
Updated the ENTRYPOINT in all native language identification Dockerfiles to pass 'x86_64' as an argument to the run-build.sh script. This standardizes the build architecture across all native components.
Updated the PackagePath for lingua.x86_64.dll to 'runtimes/win-x64/native/lingua.dll' to ensure correct file naming in the package output.
Extended platform detection and packaging to include ARM64 binaries for both Linux and Windows. Updated tests and native library logic to recognize ARM64 architectures, improving cross-platform compatibility.
Updated documentation and project files to indicate and enable ARM64 support for both MediaPipe and Whatlang on Linux and Windows. Adjusted test and runtime checks to include ARM64 Linux, and refactored .csproj files for consistent conditional packaging.
Standardized architecture references from 'AMD64' and 'ARM' to 'x86_64' and 'arm64' in all relevant README files for clarity and consistency across platforms.
Updated project versions to 0.7.1 for MediaPipe and Whatlang packages. Added release notes for ARM64 support on Linux (MediaPipe) and both Linux and Windows (Whatlang).
@gluschenko gluschenko merged commit 02d2582 into master Jan 7, 2026
92 checks passed
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.

1 participant