-
Notifications
You must be signed in to change notification settings - Fork 4
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
Multiple architecture support #32
Comments
@coretl for comment |
I should also say that windows will be a special cross compile. Target name probably: |
How about this as a naming scheme:
|
I approve that choice. |
leaves |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Intro
We would like to support:
The first of the above is a build-kit supplied build arg and should be used to set what the
EPICS_HOST_ARCH
looks like.The second should be used to control the
EPICS_TARGET_ARCH
.Each value for
EPICS_TARGET_ARCH
should result in a separate runtime/developer container pair in the registry.For the simpler cases, the HOST and TARGET are the same but we also want to support cross compilation to other architectures such as RTEMS (but RTEMS can itself have many target architectures). I expect that all cross compilation will be done from linux/amd64 (==x86_64) host.
Current Status
At present the names
epics-base-rtems-runtime
andepics-base-linux-runtime
are inadequate to cover all possibilities. These two have (EPICS) target architectures respectively:And hence their names are not really representative.
The Good
Because
epics-base-linux
is the host architecture and extremely common I vote for keeping this name - partly because it would be a massive breaking change. But also this is OK because:ghcr...epics-base-linux-runtime
would get you an arm64 or x86 image, based on your workstation architecture (or override with--platform
)pull ghcr.io/epics-containers/epics-base-linux-runtime:7.0.8ec1b2 --platform linux/amd64
What needs fixing
However we should change
epics-base-rtems
toepics-base-rtems-beatnik
to reflect the target arch correctly. In addition we should:The text was updated successfully, but these errors were encountered: