From f990ee910ec1f6830763513b706117540ed66ff5 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Wed, 18 Dec 2024 19:34:49 -0700 Subject: [PATCH] Fix display exports Signed-off-by: Travis F. Collins --- CI/scripts/synth_designs.sh | 3 ++- CI/scripts/targeting_designs.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CI/scripts/synth_designs.sh b/CI/scripts/synth_designs.sh index 02d493de..fc741cd6 100644 --- a/CI/scripts/synth_designs.sh +++ b/CI/scripts/synth_designs.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -x BOARD=$1 MLFLAGS="-nodisplay -nodesktop -nosplash" @@ -18,7 +19,7 @@ source /opt/Xilinx/Vivado/2022.2/settings64.sh export DISPLAY_ID=:$(shuf -i 10-1000 -n 1) Xvfb :$DISPLAY_ID & XVFB_PID=$! -export DISPLAY=:$DISPLAY_ID +export DISPLAY=$DISPLAY_ID export SWT_GTK3=0 source /opt/Xilinx/Vivado/2022.2/settings64.sh $MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "cd('test');runSynthTests('$BOARD');" diff --git a/CI/scripts/targeting_designs.sh b/CI/scripts/targeting_designs.sh index 87d069de..acd93015 100644 --- a/CI/scripts/targeting_designs.sh +++ b/CI/scripts/targeting_designs.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -x MLFLAGS="-nodisplay -nodesktop -nosplash" @@ -20,7 +21,7 @@ source /opt/Xilinx/Vivado/2022.2/settings64.sh export DISPLAY_ID=:$(shuf -i 10-1000 -n 1) Xvfb :$DISPLAY_ID & XVFB_PID=$! -export DISPLAY=:$DISPLAY_ID +export DISPLAY=$DISPLAY_ID export SWT_GTK3=0 source /opt/Xilinx/Vivado/2022.2/settings64.sh $MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "addpath(genpath('test'));addpath(genpath('deps'));runDemoTests('$DEMO');"