things from laptop

This commit is contained in:
Felix Brendel
2019-12-16 20:18:59 +01:00
parent 7a2da08455
commit 14392a7212
4 changed files with 137 additions and 46 deletions
+13 -5
View File
@@ -6,7 +6,6 @@ echo ""
echo "----------------------"
echo " compiling libslime "
echo "----------------------"
echo ""
time clang++ --std=c++17 \
src/libslime.cpp -c -o libslime.o \
@@ -16,7 +15,6 @@ echo ""
echo "----------------------"
echo " compiling fullslime "
echo "----------------------"
echo ""
# time g++ -fpermissive src/main.cpp -g -o ./bin/slime --std=c++17 || exit 1
time clang++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS \
@@ -26,10 +24,20 @@ time clang++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS \
# src/main.cpp -g -o ./bin/slime --std=c++17 \
# -I3rd/ || exit 1
echo ""
pushd ./bin > /dev/null
# time valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all ./slime --run-tests
time ./slime --run-tests
echo ""
echo "----------------------"
echo " generating docs "
echo "----------------------"
time valgrind -q ./slime dd || exit 1
echo ""
echo "----------------------"
echo " running tests "
echo "----------------------"
time valgrind -q --track-origins=yes --leak-check=full --show-leak-kinds=all ./slime --run-tests
popd > /dev/null
popd > /dev/null