Sign inSign up

gigi81/azurecross

By gigi81

•Updated over 5 years ago

Cross toolchains for building arm64/arm/armel on azure devops

Image
0

1.2K

gigi81/azurecross repository overview

⁠Description

A set of cross toolchains to build for arm64, arm or armel on azure devops.

⁠Available containers

PlatformDocker Image
linux-armgigi81/azurecross:arm-linux-gnueabihf
linux-arm64gigi81/azurecross:aarch64-linux-gnu
linux-armelgigi81/azurecross:arm-linux-gnueabiel

⁠Qemu on docker

The image comes with a special fork of qemu to allow you to run a process (for example unitest) on your build. This build of qemu does not need support for the binfmt module on the host. In other words, it should just work. https://github.com/balena-io/qemu⁠

⁠Example usage on azure devops

- job: linux_arm64
  condition: succeeded()
  pool:
    name: Hosted Ubuntu 1604

  container: gigi81/azurecross:aarch64-linux-gnu

  steps:
  - task: Bash@3
    displayName: 'Example generate projet with cmake'
    inputs:
      targetType: inline
      script: cmake . -DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE
      workingDirectory: path_to_your_source

  - task: Bash@3
    displayName: 'Example on how to run an executable on qemu-aarch64'
    inputs:
      targetType: inline
      script: qemu-aarch64 [path to your arm64 executable]

  - task: Bash@3
    displayName: 'Example on how to run an executable on qemu-arm'
    inputs:
      targetType: inline
      script: qemu-arm -cpu cortex-a8 [path to your arm executable]

⁠Info

Toolchains used are the pre-built one downloaded from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads⁠

Github repository for the docker files https://github.com/gigi81/azurecross⁠

Build hosted on circleci https://circleci.com/gh/gigi81/azurecross⁠

Tag summary

Content type

Image

Digest

Size

442.5 MB

Last updated

over 5 years ago

docker pull gigi81/azurecross:aarch64-none-linux-gnu-10.2-2020.11