37ddcd9488
* Rename GNAT crates I changed the names of the crates to what I think is more meaningful. I merged the Linux, Windows and macOS under a gnat_native that will be easier to understand and use in my opinion. I also added a licenses field. One thing that we may want to improve is the values for the case statements, for instance `[origin."case(os)".macos."case(word-size)".bits-64]` will soon be a blocking point to support macOS on the M1. Instead of word size we probably need something like: "case(CPU)" or "case(arch)". Or even use full platform triplets: "case(host_triplet)". * Add "provides" to gnat_external Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
18 lines
698 B
TOML
18 lines
698 B
TOML
description = "GNAT is a compiler for the Ada programming language"
|
|
name = "gnat_external"
|
|
|
|
maintainers = ["alejandro@mosteo.com"]
|
|
maintainers-logins = ["mosteo"]
|
|
|
|
[[external]]
|
|
kind = "version-output"
|
|
version-regexp = "^GNAT ([\\d\\.]+).*|^GNAT Community ([\\d]{4}).*"
|
|
version-command = ["gnat", "--version"]
|
|
provides = "gnat"
|
|
|
|
# We do not want to have system external definitions because in typical systems
|
|
# like Debian/Ubuntu only one version at a time can be installed. Hence using
|
|
# different versions in different crates/configurations would imply messing the
|
|
# users' system. Let them manually configure the compiler they want when they
|
|
# do not want one of the pre-packaged Alire versions.
|