-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathgcc-builder.sh
30 lines (30 loc) · 918 Bytes
/
gcc-builder.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cd $HOME
mkdir gcc-builds
cd gcc-builds
git clone https://github.com/Dhruvgera/EvaGCC-arm64 gcc-arm64
rm -rf gcc-arm64/*
git clone https://github.com/mvaisakh/gcc-build.git
cd gcc-build
./build-gcc.sh -a arm64
./build-lld.sh -a arm64
cd ../gcc-arm64
bash $HOME/gcc-builds/gcc-build/strip-binaries.sh
git add . -f
thetime="$(date +%s)";
git commit -m "Update GCC to latest revision at ${thetime}"
git push [email protected]:Dhruvgera/EvaGCC-arm64.git HEAD:master
cd ..
git clone https://github.com/Dhruvgera/EvaGCC-arm gcc-arm
rm -rf gcc-arm/* gcc-arm64 gcc-build
git clone [email protected]:Dhruvgera/gcc-build.git
cd gcc-build
./build-gcc.sh -a arm
./build-lld.sh -a arm
cd ../gcc-arm
bash $HOME/gcc-builds/gcc-build/strip-binaries.sh
git add . -f
thetime="$(date +%s)";
git commit -m "Update GCC ARM to latest revision at ${thetime}"
git push [email protected]:Dhruvgera/EvaGCC-arm.git HEAD:master
cd $HOME
rm -rf gcc-builds