Cross-builds from other host-archs

Open
#100 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
ci-cd

Research direction

Start with prepare_linux_cross() in cue.py and inspect how it selects and edits configure/os/CONFIG_SITE_ files. Check the referenced epics-base/epics-base#675 attempt for Linux cross-builds from macOS, then identify whether additional changes are needed for other host architectures. Done means cross-compiling works from host architectures beyond linux-x86_64.

Written by the indexing model from the issue text.

Description

Currently the prepare_linux_cross() function in cue.py can only edit configure/os/CONFIG_SITE_ files where the host architecture is linux-x86_64. It should use the host-arch it's running on to allow cross-compiling from other host-arch's.

Not sure whether any other changes will also be needed to cross-compile from other host-arch's.
See epics-base/epics-base#675 for Jerzy's attempt to build for Linux on a Mac.

Dominant language
Python
Stars
8
Forks
21
Avg merge
13h 50m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from epics-base/ci-scripts

All issues in epics-base/ci-scripts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.