interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / scripts / release-build.sh

28 lines · 1708 bytes Raw Blame History
1#!/usr/bin/env bash
2# SPDX-License-Identifier: Apache-2.0
3# Copyright 2026 Drake Stapleton (AIEN / aien-dev)
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# The one release build recipe (the CAND-3 [build] recipe, per package). Used by .github/workflows/release.yml
18# and the thing to run by hand to reproduce a candidate digest. See docs/release/BUILD_RECIPE.md.
19# scripts/release-build.sh [extra cargo args, e.g. --offline]
20# Needs a pinned toolchain (rust-toolchain.toml), `cargo fetch --locked` done into the CARGO_HOME in use,
21# and for the native engine AIEN_OMEGA_DIR and AIEN_PHYSICS_DIR at omega.lock / omega's physics.lock.
22# Cargo unifies features across every -p in one command, so a digest depends on the group it was built in
23# (docs/release/F1-binary-digest-difference.md). The groups are therefore fixed: the packaged helpers as one
24# group first, then aien-cli alone and last, each through scripts/repro-build.sh (--locked, path remap).
25set -euo pipefail
26here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
27"$here/repro-build.sh" -p spark-cockpit-rs -p spark-inquisitor -p cortex-encoder-rs -p cortex-rs -p spark-supervisor -p spark-debugger "$@"
28"$here/repro-build.sh" -p aien-cli "$@"