From c9a14777edca3861fa58fcdb917ca5edeae5788e Mon Sep 17 00:00:00 2001 From: Piotr Zierhoffer Date: Thu, 31 Oct 2019 13:44:12 +0100 Subject: [PATCH] scripts: renode: Use Renode from conda package --- scripts/build-renode.sh | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/scripts/build-renode.sh b/scripts/build-renode.sh index 3dddb2234..d8d138457 100755 --- a/scripts/build-renode.sh +++ b/scripts/build-renode.sh @@ -26,24 +26,7 @@ fi if ! $RENODE_FOUND; then # Download prebuilt renode Release if none is currently installed - - RENODE_PACKAGE=renode-latest.linux-portable.tar.gz - RENODE_URL=https://antmicro.com/projects/renode/builds/$RENODE_PACKAGE - RENODE_LOCATION="$BUILD_DIR/renode" - mkdir -p $RENODE_LOCATION - - RENODE_BIN=`find $RENODE_LOCATION -executable -type f -name renode` - if [ ! -x "$RENODE_BIN" ]; then - ( - cd $RENODE_LOCATION - wget $RENODE_URL - tar -xf $RENODE_PACKAGE - ) - - RENODE_BIN=`find $RENODE_LOCATION -executable -type f -name renode` - chmod u+x $RENODE_BIN - echo "Renode downloaded and installed locally: $RENODE_BIN" - fi + conda install -c antmicro -c conda-forge renode fi case $CPU in