Commit Graph

6 Commits

Author SHA1 Message Date
Qi Xiao
499b139741 tools/buildall.elv: Still generate sha256sum files for binaries.
They are used from CI workflows to ensure that the binaries are reproducible.
In theory they could be changed to compare the sha256sum files for the archive
files too, but it's too much of a hassle to create reproducible archive files.
2024-06-11 16:32:18 +01:00
Qi Xiao
6c62d738a2 tools/buildall.elv: Remove binary file by default. 2024-06-11 16:19:33 +01:00
Qi Xiao
7f24110d79 tools/buildall.elv: Add linux-riscv64. 2024-06-11 16:13:19 +01:00
Qi Xiao
deec3c06b2 tools/buildall.elv: Fix bin name in archive to "elvish" or "elvish.exe".
Fixing the filename makes it slightly simpler to install Elvish from the
official binary archives.
2024-02-26 15:46:54 +00:00
Qi Xiao
7b7462f02c tools/buildall.elv: Remove code for passing -buildmode=pie.
The code for passing -buildmode=pie in buildall.sh didn't actually work -
"go env GOOS GOARCH" outputs two lines, while the grep pattern expects one line.

The buildall.elv script implements this correctly, and as a result this exposes
the fact that passing -buildmode=pie requires some extra work for
reproducibility - among other things, it causes the binaries to be dynamically
linked.

Just disable it for now to get reproducibility. We're not losing anything as
that was the (unintended) old behavior of buildall.sh anyway.
2024-02-22 17:34:19 +00:00
Qi Xiao
03006c95f1 tools: Convert buildall.sh to buildall.elv. 2024-02-22 13:40:05 +00:00