interplane.Get Omega
Read in your language

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

branch main Branches Tags History

interplane.io / docs / OMEGA-DOWNLOADS.md

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