26 lines
586 B
Bash
Executable file
26 lines
586 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
git clone http://git.gammaspectra.live/Sillycom/IES.git working_src
|
|
|
|
pushd working_src
|
|
|
|
if [[ "${1}" != "" ]]; then
|
|
git reset --hard "${1}"
|
|
fi
|
|
|
|
./autogen.sh
|
|
|
|
CFLAGS="-march=x86-64 -mtune=generic" CPPFLAGS="-DPLATFORM_NUM_FOCALPOINTS=6" ./configure --enable-shared --disable-static
|
|
|
|
make
|
|
|
|
if [[ -d "/home/mockbuild/dst/current-build" ]]; then
|
|
rm -R /home/mockbuild/dst/current-build
|
|
fi
|
|
|
|
mkdir /home/mockbuild/dst/current-build
|
|
|
|
cp src/.libs/libFocalpointSDK.so /home/mockbuild/dst/current-build/
|
|
cp src/.libs/libLTStdPlatform.so /home/mockbuild/dst/current-build/ |