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

Provide latest stable release #1149

Closed
Munksgaard opened this issue Oct 8, 2020 · 3 comments
Closed

Provide latest stable release #1149

Munksgaard opened this issue Oct 8, 2020 · 3 comments

Comments

@Munksgaard
Copy link
Collaborator

Is there a way to automatically download the latest stable release? Currently, nightly is available at eg. https://futhark-lang.org/releases/, but there's no easy way to get the latest stable release (ie. currently 0.17.3)

The latest stable release should probably also be referenced here, instead of the latest nightly:
https://futhark.readthedocs.io/en/stable/installation.html#installing-from-a-precompiled-snapshot

@Munksgaard
Copy link
Collaborator Author

By the way, feel free to disagree that this is even something we want. I thought it would be nifty for automatically testing external libraries (eg. sorts, segmented) using the latest released version of futhark instead of just nightly, cf. your comment here: diku-dk/segmented#5 (comment)

@athas
Copy link
Member

athas commented Oct 8, 2020

This makes some sense. What is a good way to do this?

I prefer testing libraries against the nightly version, as it has proven useful for catching regressions. In the future, incompatible changes to the language should be rare.

An argument could be made that if you want to use the newest Futhark, you should just install it from Nix, Homebrew, or Linuxbrew in your CI script. Particularly the two latter are rarely more than a day or two behind each release.

@Munksgaard
Copy link
Collaborator Author

I'm not quite sure. I've done it in a naive way in #1150, but perhaps it's not necessary.

Taking inspiration from outside, it doesn't look like Rust has a "latest stable" binary release. I think they manually update their release links whenever a new release is added: https://forge.rust-lang.org/infra/other-installation-methods.html#standalone-installers

Given your comment, let's close this for now, we can always take it up again in the future if it seems useful.

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

Successfully merging a pull request may close this issue.

2 participants