mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
13 lines
445 B
Bash
13 lines
445 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
REPO="${1:-https://github.com/Omega-Numworks/Omega.git}"
|
|
BRANCH="${2:-master}"
|
|
MODEL="${3:-MODEL=n0110}"
|
|
OMEGA_USERNAME="${4:- }"
|
|
OPTIONS="${5:-epsilon_flash}"
|
|
|
|
echo Building ${REPO} branch ${BRANCH} for ${MODEL} with options ${OPTIONS} !
|
|
|
|
git clone --recurse-submodules -j $(nproc) --depth 1 --branch ${BRANCH} ${REPO} omega
|
|
time make cleanall && time make -j $(nproc) -C omega ${MODEL} ${OMEGA_USERNAME} ${OPTIONS} |