File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-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+ python3 -m pip install uv
11+ uv venv
12+ uv pip install future pyelftools
13+ else
14+ echo " Linux detected. Install dependencies... "
15+ sudo apt update && sudo apt install -y gperf cmake ninja-build ccache
16+ pip3 install wheel future pyelftools
17+ fi
You can’t perform that action at this time.
0 commit comments