infra: More aggressive compile.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-01-31 19:39:27 +11:00
parent fc1f36f3c0
commit d27dfd541a
2 changed files with 28 additions and 9 deletions

View File

@ -25,6 +25,8 @@ sudo apt-get install -y \
ls -l ~/.Xilinx
sudo chown -R $USER ~/.Xilinx
CORES=$(nproc --all)
echo "----------------------------------------"
echo "----------------------------------------"
echo "----------------------------------------"
@ -51,14 +53,37 @@ git fetch --tags || true
git describe --tags || true
# Build the C++ tools
make build --output-sync=target --warn-undefined-variables
make build --output-sync=target --warn-undefined-variables -j$CORES
# Setup the Python environment
make env --output-sync=target --warn-undefined-variables
echo "----------------------------------------"
echo "----------------------------------------"
echo "----------------------------------------"
source settings/$XRAY_SETTINGS.sh
(
export XILINX_LOCAL_USER_DATA=no
cd fuzzers
make --output-sync=target --warn-undefined-variables
make --output-sync=target --warn-undefined-variables -j$CORES MAX_VIVADO_PROCESS=$CORES
)
# Output how the database differs
(
make formatdb
cd database
echo "----------------------------------------"
echo " Database Status"
echo "----------------------------------------"
git status
echo "----------------------------------------"
echo
echo
echo
echo "----------------------------------------"
echo " Database Diff"
echo "----------------------------------------"
git diff
echo "----------------------------------------"
)

View File

@ -53,7 +53,7 @@ git fetch --tags || true
git describe --tags || true
# Build the C++ tools
make build --output-sync=target --warn-undefined-variables
make build --output-sync=target --warn-undefined-variables -j$CORES
# Setup the Python environment
make env --output-sync=target --warn-undefined-variables
@ -62,12 +62,6 @@ echo "----------------------------------------"
echo "----------------------------------------"
echo "----------------------------------------"
find .
echo "----------------------------------------"
echo "----------------------------------------"
echo "----------------------------------------"
source settings/$XRAY_SETTINGS.sh
(
export XILINX_LOCAL_USER_DATA=no