GitXplorerGitXplorer
r

aarch64-alire-index

public
13 stars
1 forks
1 issues

Commits

List of commits on branch main.
Unverified
37d8dbe0eacd826056ae8ab3fbc55610c8085454

Switch to alr 1.2.1, add GNAT 12.2, gprbuild 22.0

rreznikmm committed 2 years ago
Unverified
0e541c9802cc2ded1856f4d55ab294d68ee0ab27

Add a Circle CI configuration example

rreznikmm committed 3 years ago
Unverified
4cb6e274fbe9ba0036f7e5f44fcc4098c5cd3163

Update gnat_native and gprbuild hashes

rreznikmm committed 3 years ago
Unverified
b9c2c6a3a341624fbef06a9b62319f503f089f64

Add gnat_arm_elf and gnat_riscv64_elf cross compilers

rreznikmm committed 3 years ago
Unverified
e8048d3d37c546fd1b87405960288e88e852bdf1

Update README.md

rreznikmm committed 3 years ago
Unverified
fe067ebb6a8d75080182b87a33cbab8f72447b15

Add gnat_native-11.2.2 and gprbuild-21.0.2

rreznikmm committed 3 years ago

README

The README file for this repository.

aarch64-alire-index

Alire port to aarch64 (Linux)

This repository is a draft port of Alire to aarch64 Linux platform. This works in particular on Ubuntu 22.04 and Raspberry Pi 64-bits.

Install

  1. Download alr and add it to the PATH environment variable:
wget https://github.com/reznikmm/aarch64-alire-index/releases/download/v2.0.1/alr-2.0.1-bin-aarch64-linux.zip
unzip alr-2.0.1-bin-aarch64-linux.zip
export PATH=$PWD/bin:$PATH
  1. Clone and setup aarch64-alire-index:
alr index --reset-community
alr index --add git+https://github.com/reznikmm/aarch64-alire-index.git \
  --name aarch64 --before community
  1. Install Aarch64 GNAT and gprbuild:
alr toolchain --select gnat_native=14.2.1 gprbuild=22.0.1
  1. Done! Use alr as usual:
alr get --build hello

Use in continue integration (CI)

The Circle CI has an ARM machine executor in a free plan. To use it add a .circleci/config.yml YAML configuration, like this:

version: 2.1

jobs:
  say-hello:
    resource_class: arm.medium
    machine:
      image: cimg/base:current-22.04
    steps:
      - checkout
      - run:
          name: "Build with alr"
          command: |
             curl -O -L https://github.com/reznikmm/aarch64-alire-index/releases/download/v2.0.1/alr-2.0.1-bin-aarch64-linux.zip
             unzip alr-2.0.1-bin-aarch64-linux.zip
             export PATH=$PWD/bin:$PATH
             alr index --reset-community
             alr index --add https://github.com/reznikmm/aarch64-alire-index.git --name aarch64 --before community
             alr toolchain --select gnat_native=14.2.1 gprbuild=22.0.1
             alr build
workflows:
  say-hello-workflow:
    jobs:
      - say-hello

Maintainer

Max Reznik.

Contribute

Feel free to dive in! Visit the chat. Open an issue or submit PRs.

License

GPL-3 © Max Reznik