From 90f37d214a5691ff340faafef4662a92572aaafd Mon Sep 17 00:00:00 2001 From: Ajeet Singh Date: Mon, 9 May 2022 12:20:35 +0000 Subject: [PATCH] [ZENDNN INFRA] Move ONNXRT setup script out of ZenDNN folder. -Move zendnn_ONNXRT_setup.sh out of ZenDNN folder Signed-off-by: Ajeet Singh Change-Id: Ib8b1c05da200150610c09555a0dfa06a61c1e764 Reviewed-on: http://gerrit-git.amd.com/c/amd/ec/ZenDNN/+/675160 Tested-by: Llvm Cpu Reviewed-by: Ratan Prasad Reviewed-by: GaneshPrasad Nagaraja --- scripts/zendnn_ONNXRT_setup.sh | 42 ---------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 scripts/zendnn_ONNXRT_setup.sh diff --git a/scripts/zendnn_ONNXRT_setup.sh b/scripts/zendnn_ONNXRT_setup.sh deleted file mode 100644 index 3ff51c3..0000000 --- a/scripts/zendnn_ONNXRT_setup.sh +++ /dev/null @@ -1,42 +0,0 @@ -#******************************************************************************* -# Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved. -#******************************************************************************* - -#!/bin/bash - -chmod u+x ./scripts/zendnn_ONNXRT_env_setup.sh -echo "source scripts/zendnn_ONNXRT_env_setup.sh" -source scripts/zendnn_ONNXRT_env_setup.sh - -#check again if ZENDNN_AOCC_COMP_PATH is defined, otherwise return -if [ -z "$ZENDNN_AOCC_COMP_PATH" ]; -then - echo "Error: Environment variable ZENDNN_AOCC_COMP_PATH needs to be set" - return -fi - -#check again if ZENDNN_BLIS_PATH is defined, otherwise return -if [ -z "$ZENDNN_BLIS_PATH" ]; -then - echo "Error: Environment variable ZENDNN_BLIS_PATH needs to be set" - return -fi - -#check again if ZENDNN_LIBM_PATH is defined, otherwise return -if [ "$ZENDNN_ENABLE_LIBM" = "1" ]; -then - if [ -z "$ZENDNN_LIBM_PATH" ]; - then - echo "Error: Environment variable ZENDNN_LIBM_PATH needs to be set" - return - fi -fi - -#echo "make clean" -#make clean - -echo "make -j AOCC=1" -make -j AOCC=1 - -echo "make test AOCC=1" -make test AOCC=1 \ No newline at end of file