blob: 4a5f96e11eac002643a477c6c60a87ce805a00fc [file]
#!/bin/bash
set -e
# Any subsequent(*) commands which fail will cause the shell script to exit immediately
# Complete Surelog build script
echo "Generating Antlr parser"
cd ../G4
ant compile_cpp
ant copy_pp_cpp
cd ../SVIncCompil
echo "Generating caching scheme"
cd Cache; ./build_fbs.sh;
cd ..;
echo "Generating code"
SourceCompile/generate_parser_listener.tcl
API/generate_python_listener_api.tcl
API/embed_python_api.tcl
echo "Make"
make -j 4
make CONF=Release -j 4;
make CONF=ReleaseNoTcMalloc -j 4;
echo "Run Tests"
./release.tcl ;
cd Testcases/ ;
./regression.tcl
echo "End build"