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 / 02-build.sh

32 lines · 1226 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 2: build the patched stage-1 rustc and patched cargo, capped at 12 jobs, niced.
18# Mirrors upstream scripts/setup.sh build lines; only -j and nice are added.
19set -euo pipefail
20H=~/workspace/headstart-exp/headstart
21J=${J:-12}
22cd "$H/rustc"
23t0=$(date +%s)
24nice -n 10 ./x build --stage 1 compiler library -j "$J"
25t1=$(date +%s)
26echo "RUSTC_BUILD_S $((t1 - t0))"
27cd "$H/cargo"
28nice -n 10 cargo +1.98.0 build --release -j "$J"
29t2=$(date +%s)
30echo "CARGO_BUILD_S $((t2 - t1))"
31ls -la "$H/rustc/build/host/stage1/bin/rustc" "$H/cargo/target/release/cargo"
32echo BUILD_OK