mirror of
https://github.com/sched-ext/scx.git
synced 2026-12-03 15:20:51 +00:00
Lay out the README by reader, write it as plain text, cut STATE to the current state and move its history to docs/archive/STATE_ARCHIVE.md. Add docs/STRUCTURE.md, the bench and archive indexes and the KovaaK's A/B report. The dated research reports stay on the development branch, so links to them point there.
19 lines
517 B
Bash
Executable File
19 lines
517 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
set -euo pipefail
|
|
|
|
cake_script=$(readlink -f -- "${BASH_SOURCE[0]}")
|
|
cake_repo=$(cd -- "$(dirname -- "$cake_script")/../../.." && pwd)
|
|
|
|
if [[ $# != 1 || $1 != build ]]; then
|
|
echo 'Usage: cake build' >&2
|
|
exit 2
|
|
fi
|
|
|
|
cake_build_tmp="$cake_repo/target/cake_build_tmp"
|
|
mkdir -p -- "$cake_build_tmp"
|
|
export TMPDIR="$cake_build_tmp"
|
|
|
|
exec cargo build --manifest-path "$cake_repo/Cargo.toml" \
|
|
--target-dir "$cake_repo/target" --locked --release -p scx_cake
|