aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2022-02-06 19:49:27 +1100
committerGitHub <[email protected]>2022-02-06 19:49:27 +1100
commit42609ad9fca9fa0bd7256d94c64f7dd996f9907a (patch)
treea588e79e7c462b441646278f0b98e28bdadb3d09
parent3967525190daa3114bc281807f6e9161aa661613 (diff)
downloadIronOS-42609ad9fca9fa0bd7256d94c64f7dd996f9907a.tar.gz
IronOS-42609ad9fca9fa0bd7256d94c64f7dd996f9907a.zip
Delete setup.sh
-rw-r--r--setup.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/setup.sh b/setup.sh
deleted file mode 100644
index 00c460da..00000000
--- a/setup.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-set -e
-# Setup shell file to setup the environment on an ubuntu machine
-sudo apt-get update && sudo apt-get install -y make bzip2 git python3 python3-pip wget dfu-util
-python3 -m pip install bdflib black flake8
-sudo mkdir -p /build
-cd /build
-
-# Download source files to cache folder
-# Remember if these are updated, you need to update the md5 file respectively
-# Github checks out under $GITHUB_WORKSPACE
-MDPATH=${GITHUB_WORKSPACE:-/build/source/}
-sudo mkdir -p /build/cache
-cd /build/cache/
-if md5sum -c "$MDPATH"/ci/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2.md5; then
- echo "Good MD5 ARM"
-else
- echo "ARM MD5 Mismatch, downloading fresh"
- rm -rf /build/cache/gcc-arm*.bz2 || true
- sudo wget -q "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2" -O gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
-fi
-
-if md5sum -c "$MDPATH"/ci/nuclei_riscv_newlibc_prebuilt_linux64_2020.08.tar.bz2.md5; then
- echo "Good MD5 RISCV"
-else
- echo "RISCV MD5 Mismatch, downloading fresh"
- rm -rf /build/cache/nuclei*.bz2 || true
- sudo wget -q "https://github.com/Ralim/nuclei-compiler/releases/download/2020.08/nuclei_riscv_newlibc_prebuilt_linux64_2020.08.tar.bz2" -O nuclei_riscv_newlibc_prebuilt_linux64_2020.08.tar.bz2
-fi
-
-echo "Extracting compilers"
-sudo tar -xj -f gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 -C /build/
-sudo tar -xj -f nuclei_riscv_newlibc_prebuilt_linux64_2020.08.tar.bz2 -C /build/
-
-echo "Link into PATH"
-
-sudo ln -s /build/gcc-arm-none-eabi-10-2020-q4-major/bin/* /usr/local/bin
-sudo ln -s /build/gcc/bin/* /usr/local/bin