interplane.io
Source of interplane.io: a Rust generator that renders the page from the protocol repository's public record, deployed hourly from the Spark.
Brought by drakestapleton
interplane.io / docs / OMEGA-DOWNLOADS.md
| 1 | # Omega compiler preview |
| 2 | |
| 3 | The download contains the compiler executable from omega-mv commit |
| 4 | `3086ed3ca1061b2625a48d175cd5ac990e783655`. It runs on 64-bit Arm Linux. The |
| 5 | archive includes the upstream license and notices. The compiler's SHA-256 is |
| 6 | `34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3`. |
| 7 | |
| 8 | To reproduce the archive with Git, GNU tar and gzip, run this from an |
| 9 | [omega-mv clone](https://interplane.io/drakestapleton/omega-mv). It copies the |
| 10 | compiler that is tracked at the named commit. For compiler bootstrap |
| 11 | reproduction, see that repository's seed instructions. |
| 12 | |
| 13 | ```sh |
| 14 | set -eu |
| 15 | commit=3086ed3ca1061b2625a48d175cd5ac990e783655 |
| 16 | stage=$(mktemp -d) |
| 17 | trap 'rm -rf "$stage"' 0 |
| 18 | umask 022 |
| 19 | git show "$commit:seed/out/omc" > "$stage/omc" |
| 20 | git show "$commit:LICENSE" > "$stage/LICENSE" |
| 21 | git show "$commit:NOTICE" > "$stage/NOTICE" |
| 22 | printf 'Omega compiler for AArch64 Linux\nSource: https://interplane.io/drakestapleton/omega-mv\nSource commit: %s\nBinary in source: seed/out/omc\n' "$commit" > "$stage/README.txt" |
| 23 | chmod 644 "$stage/LICENSE" "$stage/NOTICE" "$stage/README.txt" |
| 24 | chmod 755 "$stage/omc" |
| 25 | timestamp=$(git show -s --format=%ct "$commit") |
| 26 | tar --format=ustar --owner=0 --group=0 --numeric-owner --mtime="@$timestamp" \ |
| 27 | -C "$stage" -cf "$stage/package.tar" LICENSE NOTICE README.txt omc |
| 28 | gzip -n -c "$stage/package.tar" > omega-compiler-3086ed3ca106-linux-aarch64.tar.gz |
| 29 | ``` |
| 30 | |
| 31 | Compare the resulting archive with the SHA-256 file linked from |
| 32 | [Downloads and installer](https://interplane.io/omega/#downloads). The checksum |
| 33 | file covers the archive and installer. The installer also pins the archive and |
| 34 | compiler hashes. It installs only the compiler, at `$HOME/.local/bin/omc`, and |
| 35 | refuses to replace a file, directory or symlink at that path. |
| 36 | |
| 37 | The archive and installer carry a fixed compiler revision. The site builder has |
| 38 | its own compiler pin in `native/omc.sha256`. It can be upgraded without changing |
| 39 | the compiler already published at these versioned download URLs. |
| 40 | |
| 41 | The builder pins the published checksum file and checks both payloads through |
| 42 | their registered source routes in build and verify. The download directory serves |
| 43 | only those pinned release files. Review new checksum metadata alongside any |
| 44 | new package, installer and page. The site checks also compare the |
| 45 | archive's source revision and executable with the upstream Git tree when that |
| 46 | repository is available. |