Skip to content

Commit

Permalink
synth_designs.sh: Add root repo path
Browse files Browse the repository at this point in the history
  • Loading branch information
StancaPop committed Oct 4, 2023
1 parent 89c43dc commit 7f011d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CI/scripts/synth_designs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

BOARD=$1
MLFLAGS="-nodisplay -nodesktop -nosplash"

if [ -z "$MLRELEASE" ]
then
MLRELEASE=R2022b
MLRELEASE=R2022a
fi

MLPATH=/usr/local/MATLAB
Expand All @@ -23,7 +22,7 @@ Xvfb :77 &
export DISPLAY=:77
export SWT_GTK3=0
source /opt/Xilinx/Vivado/$VIVADORELEASE/settings64.sh
$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "cd('test');runSynthTests('$BOARD');"
$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "addpath(genpath(pwd));cd('test');runSynthTests('$BOARD');"
pidof Xvfb
if [ $? -eq 0 ]; then
kill -9 `pidof Xvfb`
Expand Down

0 comments on commit 7f011d1

Please sign in to comment.