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 / benchmarks / data / headstart / patched-20261015-4c83e38 / toolchain / 01-fetch.sh

29 lines · 1300 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# Stage 1: fetch pinned submodules and apply headstart patches (mirrors upstream scripts/setup.sh).
18set -euo pipefail
19H=~/workspace/headstart-exp/headstart
20cd "$H"
21git submodule update --init --depth 1 rustc cargo
22echo "rustc HEAD $(cd rustc && git rev-parse HEAD)"
23echo "cargo HEAD $(cd cargo && git rev-parse HEAD)"
24for p in patches/rustc/*.patch; do echo "applying $p"; (cd rustc && git apply "$H/$p"); done
25for p in patches/cargo/*.patch; do echo "applying $p"; (cd cargo && git apply "$H/$p"); done
26cp config/bootstrap.toml rustc/bootstrap.toml
27(cd rustc && git diff --stat | tail -1)
28(cd cargo && git diff --stat | tail -1)
29echo FETCH_OK