add scripts
This commit is contained in:
parent
8e5898aa57
commit
428458e50a
36 changed files with 934 additions and 0 deletions
25
.bin/sh/openjkdf2-compile.sh
Executable file
25
.bin/sh/openjkdf2-compile.sh
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Switch to git directory and clone source
|
||||
{
|
||||
mv /home/peter/.bin/openjkdf2/OpenJKDF2 /home/peter/.bin/openjkdf2/.old;
|
||||
cd /home/peter/.bin/openjkdf2;
|
||||
git clone https://github.com/shinyquagsire23/OpenJKDF2.git;
|
||||
cd OpenJKDF2;
|
||||
}
|
||||
|
||||
# Build binary
|
||||
|
||||
{
|
||||
git submodule update --init
|
||||
export CC=clang;
|
||||
export CXX=clang++;
|
||||
chmod +x build_linux64.sh;
|
||||
./build_linux64.sh;
|
||||
}
|
||||
|
||||
# Install executable @ ~/.bin
|
||||
|
||||
{
|
||||
chmod 755 /home/peter/.bin/openjkdf2/OpenJKDF2/build_linux64/openjkdf2;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue