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>
29 lines
1.1 KiB
TOML
29 lines
1.1 KiB
TOML
name = "gnat_native"
|
|
version = "10.3-1"
|
|
description = "The GNAT Ada compiler - Native"
|
|
maintainers = ["chouteau@adacore.com"]
|
|
maintainers-logins = ["Fabien-Chouteau"]
|
|
licenses = "GPL-3.0-or-later AND GPL-3.0-or-later WITH GCC-exception-3.1"
|
|
|
|
auto-gpr-with = false
|
|
|
|
provides = ["gnat=10.3-1"]
|
|
|
|
[configuration]
|
|
disabled = true
|
|
|
|
[environment]
|
|
PATH.prepend = "${CRATE_ROOT}/bin"
|
|
|
|
[origin."case(os)".windows."case(word-size)".bits-64]
|
|
url = "https://github.com/alire-project/GNAT-FSF-builds/releases/download/gnat-10.3.0-1/gnat-x86_64-windows64-10.3.0-1.tar.gz"
|
|
hashes = ["sha256:6d85b367c642195308440f5b8bdc10b529e2014d58c4ada06e9c8a1f86bf5342"]
|
|
|
|
[origin."case(os)".macos."case(word-size)".bits-64]
|
|
url = "https://github.com/alire-project/GNAT-FSF-builds/releases/download/gnat-10.3.0-1/gnat-x86_64-darwin-10.3.0-1.tar.gz"
|
|
hashes = ["sha256:20b3092f830adda081737e2d66322da8d4ad2bb9f5aa985bd18312d04fc61458"]
|
|
|
|
[origin."case(os)".linux."case(word-size)".bits-64]
|
|
url = "https://github.com/alire-project/GNAT-FSF-builds/releases/download/gnat-10.3.0-1/gnat-x86_64-linux-10.3.0-1.tar.gz"
|
|
hashes = ["sha256:8b7c5dcd858ba01bbb66053bcc2899a7015ef426b0f90d47b5b142b90886a6a2"]
|