drop oldmake.sh script

v3.3.0 does not even run on the current stable version of debian

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-03-15 08:50:35 +02:00
parent ef97a7f48e
commit 8708c052ae
2 changed files with 1 additions and 31 deletions

4
.gitignore vendored
View file

@ -15,7 +15,6 @@
# build directories # build directories
apidocs/ apidocs/
minsize/ minsize/
oldmake/
debug/ debug/
crossdeb/ crossdeb/
@ -33,6 +32,5 @@ package/debian/katie-*/
# Fedora build files and directories # Fedora build files and directories
*-linux-gnu/ *-linux-gnu/
# tarballs from tarball.sh and oldmake.sh # tarballs from tarball.sh
*.tar.xz *.tar.xz
scripts/cmake-*.tar.gz

View file

@ -1,28 +0,0 @@
#!/bin/sh
set -e
cwd="$(readlink -f $(dirname $0))"
cmakeext="tar.gz"
cmake="cmake-3.3.0-Linux-x86_64"
cmakesite="https://cmake.org/files/v3.3"
cd "$cwd"
if which curl; then
curl -C - -L "$cmakesite/$cmake.$cmakeext" -o "$cmake.$cmakeext"
else
wget -c "$cmakesite/$cmake.$cmakeext"
fi
rm -rf "$cwd/../oldmake"
mkdir -p "$cwd/../oldmake"
cd "$cwd/../oldmake"
tar -xaf "$cwd/$cmake.$cmakeext"
"$cmake/bin/cmake" ../ -DKATIE_TESTS=ON -DKATIE_BENCHMARKS=ON -DKATIE_UTILS=ON $@
rm -rf *
tar -xaf "$cwd/$cmake.$cmakeext"
"$cmake/bin/cmake" ../ -GNinja -DKATIE_TESTS=ON -DKATIE_BENCHMARKS=ON -DKATIE_UTILS=ON $@
ninja -n
rm -rf *