Skip to content

Build debians for ARM64#12

Open
kronos30 wants to merge 1 commit into
RST-15592_Build-debiansfrom
RST-15592_Build-debians-arm64
Open

Build debians for ARM64#12
kronos30 wants to merge 1 commit into
RST-15592_Build-debiansfrom
RST-15592_Build-debians-arm64

Conversation

@kronos30

@kronos30 kronos30 commented Jul 15, 2026

Copy link
Copy Markdown

This PR is against @garyservin 's PR Here this is to included the ARM debians into git workflow upload into JFrog.

Add ubuntu-22.04-arm and ubuntu-24.04-arm runners to the build matrix so the libpcl-all-dev Debian package is built and published for arm64 as well as amd64.

Make the -march=haswell compiler flag conditional on the target architecture in build_deb.sh, since it is an x86-64 microarchitecture and is invalid on arm64. The JFrog upload already derives the architecture from dpkg --print-architecture, so arm64 packages are tagged and named correctly.

Add ubuntu-22.04-arm and ubuntu-24.04-arm runners to the build matrix so
the libpcl-all-dev Debian package is built and published for arm64 as
well as amd64.

Make the -march=haswell compiler flag conditional on the target
architecture in build_deb.sh, since it is an x86-64 microarchitecture and
is invalid on arm64. The JFrog upload already derives the architecture
from dpkg --print-architecture, so arm64 packages are tagged and named
correctly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the Debian package build-and-publish workflow to produce and upload arm64 packages in addition to amd64, and updates the build script to avoid using an x86-specific -march flag when targeting non-x86 architectures.

Changes:

  • Add ARM Ubuntu runners to the GitHub Actions build matrix so Debian packages are built for arm64.
  • Make -march=haswell conditional on dpkg --print-architecture so arm64 builds don’t receive an invalid compiler flag.
  • Log the detected Debian architecture during the build for easier troubleshooting.

Reviewed changes

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

File Description
build_deb.sh Detects target Debian architecture and conditionally applies x86-only -march=haswell to keep arm64 builds valid.
.github/workflows/build-deb.yml Expands the build matrix to include ARM runners so arm64 .deb artifacts are built and uploaded to JFrog.

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

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.

2 participants