2022-08-04 17:31:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Building $(git log -1)"
|
|
|
|
echo "---"
|
|
|
|
|
|
|
|
set -Eeuxo pipefail
|
|
|
|
|
|
|
|
./tools/make_requests
|
|
|
|
./tools/make_makefiles
|
2023-02-08 16:32:19 +00:00
|
|
|
autoreconf -f
|
2022-08-04 17:31:21 +00:00
|
|
|
|
|
|
|
cd build64
|
2022-09-08 17:03:22 +00:00
|
|
|
../configure -q -C --enable-win64 --enable-werror --with-mingw
|
2022-08-04 17:31:21 +00:00
|
|
|
make -s -j$(nproc)
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd build32
|
2022-09-08 17:03:22 +00:00
|
|
|
../configure -q -C --enable-werror --with-mingw
|
2022-08-04 17:31:21 +00:00
|
|
|
make -s -j$(nproc)
|
|
|
|
cd ..
|
|
|
|
|
2022-09-09 10:36:00 +00:00
|
|
|
if ! test -s .git/rebase-merge/git-rebase-todo
|
2022-09-08 17:03:22 +00:00
|
|
|
then
|
|
|
|
make -s -j$(nproc) -C build32 install-lib install-test DESTDIR=$BASEDIR
|
|
|
|
make -s -j$(nproc) -C build64 install-lib install-test DESTDIR=$BASEDIR
|
|
|
|
fi
|
2022-09-09 10:36:00 +00:00
|
|
|
|
|
|
|
git reset --hard
|