cue: move cross compilation spec to new CI_CROSS_TARGETS variable

This commit is contained in:
Minijackson
2022-05-10 10:04:20 -07:00
parent 93062ba941
commit 514737a106
3 changed files with 273 additions and 114 deletions

View File

@@ -310,6 +310,18 @@ RTEMS 5 builds need to be switched to a newer ubuntu version
**dist: focal** with Travis-CI or
**image: ubuntu:focal** with GitLab CI/CD).
## LINUX_CROSS
Setting the `LINUX_CROSS_<name>` environment variable enables cross-compiling
to Linux for the provided target. The value of the environment variable should
be the compiler prefix to be used.
For example, to cross-compile for linux-arm with hard floating points
- ensure you have the `g++-arm-linux-gnueabihf` package installed, if your CI
is on Ubuntu or Debian
- set the environment variable `LINUX_CROSS_arm=arm-linux-gnueabihf`
## Debugging
Setting `VV=1` in your service configuration (e.g., `.travis.yml`) for a