epics-base / ci-scripts

Continuous Integration Scripts for EPICS Modules
Other
8 stars 18 forks source link

Support more Linux cross-compile archs. #67

Closed mdavidsaver closed 1 year ago

mdavidsaver commented 2 years ago

In addition to mingw, it would be nice to support other Linux cross compile targets. eg. arm and aarch64.

Ubuntu provides some toolchains:

https://packages.ubuntu.com/source/focal/gcc-10-cross

https://packages.ubuntu.com/source/impish/gcc-11-cross

Questions I see:

Mingw has eg. MINGW=32. Does each arch. get its own env. variable? Or one variable with a list of values?

One obvious idea would be to reuse the CROSS_COMPILER_TARGET_ARCHS variable and the Base target names.

mdavidsaver commented 2 years ago

Having this would help us avoid situations like https://github.com/epics-base/epics-base/pull/229.

ralphlange commented 1 year ago

Can be closed as the functionality has been added with #69