Skip to content

Add SweetAda to Alire #2

@Irvise

Description

@Irvise

Hi Gabriele,

I have already talked to you about this, but I want to make it a bit more official. I would like to see SweetAda added to Alire. Now, what does that mean?

Alire and the new version 1.1.0

Alire is the "new" "shinny" "great" official package manager for Ada from AdaCore. I am not a great fan of package managers, but they to help with project management and quick testing/sandboxing.

With the new version, which is still not out, it is in RC phase, Alire will have binary releases of toolchains (FSF as announced). That is great. And I think SweetAda can capitalise on this. Since SweetAda deploys Ada in anything that can be supported by GCC and you yourself, having it in Alire, with binary toolchains would be a terrific thing.

Explain me more, how and who will do this?

Long story short, I think it would be great to have the entire SweetAda project and toolchains available in Alire. This would make working with SweetAda a seamless experience. No need of several downloads, of complex setups. In theory, a user would be able to simply say: "My project requires support for the Raspberry Pi 3, I will add SweetAda to my project:,

Sooo... how can this be done?

I have been thinking about this, and this is my proposal:

  • If there are any common files to the different architectures, have a root package named "sweetada". All other packages will depend on it.
  • Create a different package for each architecture. For example: "sweetada_riscv", the will depend on "sweetada".
  • For board specific files, another package could be added, such as "sweetada_raspberry".

For the binary releases of the toolchains, I am not knowledgeable enough to comment.

That is a lot of work, who will do this?

I hope I will have some free time in the coming weeks and I would like to try my hand at it. I am currently learning Alire myself.

Closing thoughts

What I just wrote is, obviously, dependent on your comments and your indications.

@Fabien-Chouteau what is your opinion about my proposal? I am specially interested in your opinion about the toolchains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions