mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
13 lines
433 B
Bash
13 lines
433 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
REPO="${1:-https://github.com/Omega-Numworks/Omega.git}"
|
|
BRANCH="${2:-master}"
|
|
MODEL="${3:-MODEL=n0110}"
|
|
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} ${USERNAME} ${OPTIONS} |