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

[Merged by Bors] - chore: download recent curl if necessary on x64 Linux #3097

Closed
wants to merge 1 commit into from

Conversation

Kha
Copy link
Collaborator

@Kha Kha commented Mar 25, 2023


Open in Gitpod

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]
Copy link
Collaborator Author

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?

Copy link
Member

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.

Copy link
Collaborator Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invite sent!

Copy link
Collaborator Author

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

@Kha Kha force-pushed the curl-static branch 2 times, most recently from 4e86178 to 4d3eefe Compare March 25, 2023 18:02
Comment on lines +47 to +48
def CURLVERSION :=
"7.88.1"
Copy link
Collaborator Author

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?

@Kha Kha marked this pull request as ready for review March 25, 2023 18:05
@Kha
Copy link
Collaborator Author

Kha commented Mar 25, 2023

By the way, I'm surprised we haven't hit leanprover/elan@342a0ca yet

Copy link
Collaborator

@arthurpaulino arthurpaulino left a 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

@Kha
Copy link
Collaborator Author

Kha commented Mar 26, 2023

No, they only remove *.gz files

@arthurpaulino
Copy link
Collaborator

Right, bad memory 🤦🏼

@gebner
Copy link
Member

gebner commented Mar 26, 2023

bors r+

@bors
Copy link

bors bot commented Mar 26, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: download recent curl if necessary on x64 Linux [Merged by Bors] - chore: download recent curl if necessary on x64 Linux Mar 26, 2023
@bors bors bot closed this Mar 26, 2023
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 this pull request may close these issues.

None yet

3 participants