From 9f2e389b96ef945a8ca2eca312e8c96f77e5ce45 Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Thu, 22 Aug 2024 19:28:23 -0500 Subject: [PATCH] Update run_matmul_test.sh --- build_tools/ci/run_matmul_test.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/build_tools/ci/run_matmul_test.sh b/build_tools/ci/run_matmul_test.sh index dc46740cc..01fdff83b 100755 --- a/build_tools/ci/run_matmul_test.sh +++ b/build_tools/ci/run_matmul_test.sh @@ -95,9 +95,7 @@ fi if [ -z "${3-}" ]; then PEANO=/opt/llvm-aie else - if [ -d "$PEANO" ]; then - PEANO=`realpath "$3"` - fi + PEANO=`realpath "$3"` fi if [ ! -d "${PEANO}" ]; then echo "No directory '${PEANO}' (argument 3) found." @@ -108,9 +106,7 @@ fi if [ -z "${4-}" ]; then XRT_DIR=/opt/xilinx/xrt else - if [ -d "$XRT_DIR" ]; then - XRT_DIR=`realpath "$4"` - fi + XRT_DIR=`realpath "$4"` fi if [ -d "$XRT_DIR" ]; then source $XRT_DIR/setup.sh @@ -120,9 +116,7 @@ fi if [ -z "${5-}" ]; then VITIS=/opt/Xilinx/Vitis/2024.2 else - if [ -d "$VITIS" ]; then - VITIS=`realpath "$5"` - fi + VITIS=`realpath "$5"` fi THIS_DIR="$(cd $(dirname $0) && pwd)"