Files
flenser/rebuild
adam b7e2884b68 Make rebuild cause Alepha to rebuild.
(I don't link to it, yet.)
2026-01-12 10:53:35 -05:00

23 lines
500 B
Bash
Executable File

#!/usr/bin/env bash
processor_count=`grep -c "^processor" /proc/cpuinfo`
count=$((${processor_count} - 1))
echo "Detected ${processor_count} processors, using ${count}"
make distclean
pushd ..
./autogen.sh
popd
rm -fR alepha-build
mkdir alepha-build
cd alepha-build
echo "Setting up Alepha"
cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../../Alepha
cp ../../Alepha/helpful-things/Makefile .
echo "Building Alepha"
make
cd ..
../configure --prefix=/usr --enable-ipv6 CXXFLAGS="-O0 -g"
make -kj${count}