GitXplorerGitXplorer
r

aarch64-alire-index

public
13 stars
1 forks
1 issues

Commits

List of commits on branch main.
Unverified
4e0416ccabc549bf1199c005d7262a7890f21baf

Add AArch64 Linux host cross toolchain.

rreznikmm committed 5 months ago
Unverified
cf1e2f5b274d09ea6cd99f3d4c084516a82f0973

Add GCC 14.2 native for Linux AArch64

rreznikmm committed 5 months ago
Verified
3e2cde33eea0be9965860e6396891131fcece29a

fix URL in `alr index`

rreznikmm committed 2 years ago
Unverified
41e88f9e733c3a3d8348872d399582da818fcb10

Update README with GCC 13 and `alri index add <url>`

rreznikmm committed 2 years ago
Unverified
2e3ff7a4173f5d4d9319d99ca22635011d449add

Add GNAT native from GCC 13.1

rreznikmm committed 2 years ago
Unverified
65cdf2e544c114b70e78883a4cf84d09317c541c

Update OS reference to Ubuntu 22.04

rreznikmm committed 2 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