mirror of https://github.com/openXC7/prjxray.git
infra: More aggressive compile.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
fc1f36f3c0
commit
d27dfd541a
|
|
@ -25,6 +25,8 @@ sudo apt-get install -y \
|
||||||
ls -l ~/.Xilinx
|
ls -l ~/.Xilinx
|
||||||
sudo chown -R $USER ~/.Xilinx
|
sudo chown -R $USER ~/.Xilinx
|
||||||
|
|
||||||
|
CORES=$(nproc --all)
|
||||||
|
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
|
|
@ -51,14 +53,37 @@ git fetch --tags || true
|
||||||
git describe --tags || true
|
git describe --tags || true
|
||||||
|
|
||||||
# Build the C++ tools
|
# 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
|
# Setup the Python environment
|
||||||
make env --output-sync=target --warn-undefined-variables
|
make env --output-sync=target --warn-undefined-variables
|
||||||
|
|
||||||
|
echo "----------------------------------------"
|
||||||
|
echo "----------------------------------------"
|
||||||
|
echo "----------------------------------------"
|
||||||
|
|
||||||
source settings/$XRAY_SETTINGS.sh
|
source settings/$XRAY_SETTINGS.sh
|
||||||
(
|
(
|
||||||
export XILINX_LOCAL_USER_DATA=no
|
export XILINX_LOCAL_USER_DATA=no
|
||||||
cd fuzzers
|
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 "----------------------------------------"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ git fetch --tags || true
|
||||||
git describe --tags || true
|
git describe --tags || true
|
||||||
|
|
||||||
# Build the C++ tools
|
# 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
|
# Setup the Python environment
|
||||||
make env --output-sync=target --warn-undefined-variables
|
make env --output-sync=target --warn-undefined-variables
|
||||||
|
|
@ -62,12 +62,6 @@ echo "----------------------------------------"
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
|
|
||||||
find .
|
|
||||||
|
|
||||||
echo "----------------------------------------"
|
|
||||||
echo "----------------------------------------"
|
|
||||||
echo "----------------------------------------"
|
|
||||||
|
|
||||||
source settings/$XRAY_SETTINGS.sh
|
source settings/$XRAY_SETTINGS.sh
|
||||||
(
|
(
|
||||||
export XILINX_LOCAL_USER_DATA=no
|
export XILINX_LOCAL_USER_DATA=no
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue