Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on toml #1

Open
simonjwright opened this issue Jun 10, 2023 · 1 comment
Open

Question on toml #1

simonjwright opened this issue Jun 10, 2023 · 1 comment

Comments

@simonjwright
Copy link

The gprbuild toml includes

[origin."case(os)".linux."case(host-arch)".aarch64]
url = "https://github.com/reznikmm/GNAT-FSF-builds/releases/download/gprbuild-22.0.0-1/gprbuild-aarch64-linux-22.0.0-1.tar.gz"
hashes = ["sha256:19730c52a46c32f0f2f4a295418762a0e22645ef663f2a1c1f1b77ea71a4cee4"]

How did you get alr publish to do this? or was it a post-publish edit?

I put this in my alire.toml, which is carried through the publication process and, I think, has the same effect.

[available."case(os)".macos."case(host-arch)"]
"aarch64" = true
"..." = false
@reznikmm
Copy link
Owner

I didn't do alr publish. I copy/pasted this from gnat_native-12.2.1.toml, gprbuild-22.0.1.toml of the community index. I think, your method should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants