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

Only upload one copy of linux binaries to releases #1721

Merged

Conversation

JasonGross
Copy link
Collaborator

We upload the statically-linked Alpine edge binaries, as these are
probably the most portable.

Note that the statically-linked Alpine binaries are actually smaller
than the Debian executables (~35 MB archive vs ~41 MB archive), though
the Debian ones are pie (position-independent executables, supporting
Address Space Layout Randomization).

Current names file names:
fiat-crypto-windows.zip
fiat-crypto-macos.tar.gz
fiat-crypto-linux-x86_64.tar.gz

Suggestions welcome cc @andres-erbsen

@JasonGross JasonGross force-pushed the standalone-package-only-static-release branch 6 times, most recently from 59cddef to bea8f57 Compare November 13, 2023 06:14
@JasonGross JasonGross added this to In progress in Better Standalone Binaries Nov 13, 2023
@JasonGross JasonGross marked this pull request as ready for review November 13, 2023 18:35
@JasonGross JasonGross force-pushed the standalone-package-only-static-release branch 3 times, most recently from 2cfd9d0 to 7794d61 Compare November 13, 2023 19:11
@JasonGross JasonGross enabled auto-merge (squash) November 13, 2023 19:12
tag="$(git describe --tags HEAD)"
fname="Fiat-Cryptography_${tag}_macOS_${arch}.tar.gz"
echo "$fname"
mv dist-macos/standalone.tar.gz "dist/$fname"
find dist
tar -tvf dist/fiat-crypto-macos.tar.gz
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Mac fails because I forgot to update this line, everything else passes

We upload the statically-linked Alpine edge binaries, as these are
probably the most portable.

Note that the statically-linked Alpine binaries are actually smaller
than the Debian executables (~35 MB archive vs ~41 MB archive), though
the Debian ones are pie (position-independent executables, supporting
Address Space Layout Randomization).
@JasonGross JasonGross force-pushed the standalone-package-only-static-release branch from 7794d61 to 36d10b7 Compare November 14, 2023 04:14
@JasonGross JasonGross merged commit 1e8ee80 into mit-plv:master Nov 14, 2023
29 checks passed
Better Standalone Binaries automation moved this from In progress to Done Nov 14, 2023
@JasonGross JasonGross deleted the standalone-package-only-static-release branch November 14, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant