File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Ubuntu setup
4- # Change in archive-build.sh gawk to awk
5- # sudo apt update && sudo apt install -y gperf cmake ninja-build ccache
6- # pip3 install wheel future pyelftools
7-
8- # MacOS (ARM) setup
9- # Change in archive-build.sh awk to gawk
10- brew install gsed
11- brew install gawk
12- brew install gperf
13- # brew install ninja
14- brew install ccache
15- python -m pip install uv
16- uv venv
17- uv pip install future pyelftools
3+ if [[ " $OSTYPE " == " darwin" * ]]; then
4+ echo " macOS OS detected. Install dependencies..."
5+ brew install gsed || true
6+ brew install gawk || true
7+ brew install gperf || true
8+ brew install ninja || true
9+ brew install ccache || true
10+ brew install 7zip || true
11+ python3 -m pip install uv
12+ uv venv
13+ uv pip install future pyelftools
14+ else
15+ echo " Linux detected. Install dependencies..."
16+ sudo apt update && sudo apt install -y gperf cmake ninja-build ccache p7zip-full
17+ pip3 install wheel future pyelftools
18+ fi
You can’t perform that action at this time.
0 commit comments