-
Notifications
You must be signed in to change notification settings - Fork 259
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
[Merged by Bors] - chore: download recent curl if necessary on x64 Linux #3097
Conversation
Kha
commented
Mar 25, 2023
Cache/IO.lean
Outdated
-- NOTE: we host only one version of curl, which we assume to be at least as recent | ||
-- as the version encoded in `CURLBIN` | ||
let _ ← runCmd "curl" #[ | ||
"https://pp.ipd.kit.edu/~ullrich/tmp/curl-x86_64-linux-static", "-o", CURLBIN.toString] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously this should be hosted somewhere else, could someone move it to the Azure cache?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we go with the time-honored tradition of abusing github releases for this? I can make a leanprover-community/static-curl repo and give you access if you want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds fine too, whatever is simpler I would say
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Invite sent!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, and added aarch64 for good measure
4e86178
to
4d3eefe
Compare
def CURLVERSION := | ||
"7.88.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we screaming again?
By the way, I'm surprised we haven't hit leanprover/elan@342a0ca yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a bad interaction with the clean
and clean!
commands, which can delete the downloaded curl
. Those should then skip curl
for deletion, or something like that
No, they only remove |
Right, bad memory 🤦🏼 |
bors r+ |
Pull request successfully merged into master. Build succeeded: |